[cairo] fonts problem on linux with custom cairo build

Mikhail Kozhevnikov mikhailkozhevnikov at yandex.ru
Wed Mar 28 06:09:14 PDT 2012


Hi All,

I'm experiencing certain troubles with font face selection on Linux. On Windows and Mac things work fine, while on my Linux box (running Debian Squeeze) the font face is always the same and... well... it looks funny. I have a two samples attached: serif-1.10.2.png is where the problem occurs -- with our own build of cairo 1.10.2, serif-1.8.2.png is the result produced by exactly the same code linked against the version 1.8.2 installed via apt-get. The code's attached too.
I gather there must be something wrong with our build. It seems that Freetype and fontconfig are enabled, though. If anybody's got an idea what could cause this kind of problem or how to fix it, I'd be glad to hear your suggestions.

Thanks in advance,
--Mikhail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serif-1.8.2.png
Type: image/png
Size: 4913 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120328/ccb38f33/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serif-1.10.2.png
Type: image/png
Size: 3999 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120328/ccb38f33/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cpp
Type: text/x-c
Size: 755 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120328/ccb38f33/attachment.bin>


More information about the cairo mailing list