-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi guys,
I'm using GTK Sharp to work on some GUI for my app.
Take a look at this chunk of code:
Pango.FontDescription fontdesc = new Pango.FontDescription();
fontdesc.Family = "Sans";
//fontdesc.Size = 12;
fontdesc.Weight = Pango.Weight.Semibold;
SyncInfo.ModifyFont(fontdesc);
Gdk.Color fontcolor…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How do you render the cursor and create highlighting for selected text in Pango?
Also, can I use PangoCairo to render parts of a layout at a time, so I can draw it in different ways (such as with an outline)?
Finally, how did you get your understanding of Pango, there doesn't seem to be very many…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a PangoFontDescription and I want to know whether it describes a monospace font.
I have seen the function pango_font_family_is_monospace() in the Pango API documentation but after several hours of puzzling it is still not clear to me what the relationships are between PangoFontFamily, PangoFontMap…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm getting this error when starting anything that uses the Pango library. I'm using Kubuntu 9.10. I've done 'sudo apt-get --reinstall install' on libgtk* libcairo* libpango* and fontconfig, with no luck.
Could someone point me in the right direction? Thanks.
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
About three days ago, I noticed the exim mailqueue started filling up on one of my servers, and upon inspecting some of the emails using # exim -Mvb $ID, I noticed they were being sent to some system email address (which is not a real address), and the body of the messages were as follows:
(process:8259):…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've done this many times on 32 bit CentOS and everything went ok without a hitch. But now, on x64 CentOS, I can't get cairo to find pixman.
Pixman 0.18.0 is installed in /usr/local/lib (which I believe is the usual location).
Configure for Cairo 1.8.10 can't find it:
checking for cairo's image…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a bunch of coordinates which are the control points of a clamped uniform cubic B-spline on the 2D plane. I would like to draw this curve using Cairo calls (in Python, using Cairo's Python bindings), but as far as I know, Cairo supports Bézier curves only. I also know that the segments of a…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to build OpenSceneGraph's pdf plugin on a win32 box. The plugin is using cmake's PKG_CHECK_MODULES macro to find cairo and poppler libraries. I don't know how to install these in such a way as to help it find them though.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I a drawing a graph using Cairo (pycairo specifically) and I need to know how can I draw text inside a circle without overlapping it, by keeping it inside the bounds of the circle. I have this simple code snippet that draws a letter "a" inside the circle:
'''
Created on May 8, 2010
@author: mrios
'''
import…
>>> More
-
as seen on ASP.net Weblogs
- Search for 'ASP.net Weblogs'
This last week over a 7 day period, I went to Munich, Cairo and Dubai. I presented in three keynotes and did a total of 10 sessions. I crossed 12 time zones and missed my kids. I talked to/with/at about 3000 people. I'm utterly shattered. I took some Read More......(read more)
>>> More