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?
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?
Wow, no idea about PPC, it has been years since I've even tested a PPC build!
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.
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!"