[cairo] Problem with ft fonts

Fred Kiefer fredkiefer at gmx.de
Sat Jan 28 05:57:33 PST 2006

Behdad Esfahbod wrote:
> On Thu, 26 Jan 2006, Fred Kiefer wrote:
>> The statement [_faceInfo fontFace] is a bit of Objective-C code, that
>> returns a reused, fully resolved cairo_font_face_t* structure. So far
>> everything looks fine, it is possible to set different fonts and they
>> get displayed nicely. Now my problem is that for some fonts text is
>> drawn with the same point size, no matter what matrix gets set for it.
>> What am I doing wrong here? Or is there any known limitation to the FT
>> font system in cairo?
>> This happens for example with the Adobe Helvetica and the Adobe Courier
>> font, but works fine for some other Adobe fonts (Adobe Utopia even fails
>> with a segmentation fault, but this is probably a different problem),
>> but also with some other fonts from other vendors.
> Means they are bitmap fonts?  The crash specially, I found a
> crasher in the bitmap rendering path in cairo yesterday...

Sorry for not mentioning that. I thought it should be clear from the
font names given, that all of these are Postscript (I think Type 1)
fonts. At least as far as I know.

More information about the cairo mailing list