[cairo] pangocairo misbehaves on Mac OS X 10.5 (using Quartz/ATSUI, no Xlibs)
Alex Shulgin
alexander.shulgin at yessoftware.com
Mon Dec 7 08:20:50 PST 2009
Hi,
I have this really simple test program which is using pangocairo to
render some text in an image surface. And it crashes constantly on Mac
OS X 10.5.8.
The code is really dumb: it enumerates all available fonts and tries to
draw the same sample text with every given font.
When the test string contains only Latin characters, it works, but only
few fonts give expected results: the rest have symbols mis-mapped in
some way.
When I try to render some non-Latin symbols (a test string featuring
Latin, Russian, Greek and Japanese: "PanGo ПанГо Παν語"; see attached
`text.txt') I get output for some 10 of the first fonts and then it
crashes (see full output in attached `error.log').
With the fonts for which I've obtained an output file there's different
levels of "correctness": with some it doesn't render nothing but Latin
chars from the test string, some others get Latin and Russian (but the
latter is messed up), some have Latin and Russian (the latter replaced
with some Greek symbols), etc. Anyway, with none of the fonts it
produced the output I've expected.
Here's some details about my setup:
I'm using gcc shipped with the mac: i686-apple-darwin9-gcc-4.0.1 (GCC)
4.0.1 (Apple Inc. build 5490)
Compiled these libraries from recent stable releases:
glib-2.18.2
pixman-0.17.2
cairo-1.8.8 (./configure --without-x)
pango-1.26.1 (./configure --without-x)
Am I doing something wrong? Have I missed something? What can I try to
track this down?
--
Alex
PS: I'll probably try compiling --with-x just in case, but what I really
need is to get rid of X11 dependencies on Mac.
PPS: Posting here, because I couldn't subscribe to gtk-i18n-list due to
this error returned by corporate mailserver:
Client host [212.110.132.221] blocked using cbl.abuseat.org; Blocked -
see http://cbl.abuseat.org/lookup.cgi?ip=212.110.132.221>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pango-cairo-fonts-test.c
Type: text/x-csrc
Size: 1649 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20091207/9c66649f/attachment.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.log
Type: text/x-log
Size: 4031 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20091207/9c66649f/attachment.bin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: text.txt
Url: http://lists.cairographics.org/archives/cairo/attachments/20091207/9c66649f/attachment.txt
More information about the cairo
mailing list