Embedding TTF fonts not working on PPC?


#1

One more question about embedding fonts with the Typeface::createSystemTypefaceFor() method. It is working great on Windows and Intel Macs, but on PPC Mac I get empty text. I can't debug on that platform.

Is this a known problem?


#2

Wow, no idea about PPC, it has been years since I've even tested a PPC build!


#3

In OSXTypeface::getStringWidth() the line:

 CTLineRef line = CTLineCreateWithAttributedString (attribString);

produces this error in the debugger console: <Error>: can't find font object for font id 8257808.

I read somewhere that this is a bug in Leopard and there is no workaround.

 


#4

I read somewhere that this is a bug in Leopard and there is no workaround.

Sounds very likely. I certainly don't know what to suggest other than "drop PPC support!"