New to Typophile? Accounts are free, and easy to set up.
We have a situation where our identity font is displaying terribly in Microsoft 2010 on Windows 7. The font looks great in InDesign and Illustrator. The font family is OpenType with PostScript outlines, aka CFF. This behavior is consistent for any OpenType font from Adobe, ie Myriad Pro or Adobe Garamond.
I am nearly certain that the Windows font rendering engine is optimized for TrueType outlines and renders PostScript outlines poorly. I also think that Adobe is using a different rendering engine for the Creative Suite applications, perhaps their own. I have not been able to find any specific documentation of these statements.
Does this ring true? Does anyone know of specific documentation of poor font rendering in Windows applications, especially MS Office?
I exported my font in FontLab Studio as OpenType PS format and I tested the font with different software to see if it is okay.
I found that using Adobe Acrobat virtual printer to "print" the MS Word/WordPad document using my font, it will cause a postscript error:
%%[ ProductName: Distiller ]%%
CNLicense-A not found, using Courier.
%%[ Error: typecheck; OffendingCommand: show ]%%
(%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
However, when I use the built-in PDF export feature in Illustrator and OpenOffice.org Writer in Ubuntu, no error is found and the font can be embedded successfully.
I'm stumped. Does anyone here know how to detect reversed postscript hints using Python in FontLab?
Here's what I tried:
font = fl.font
glyphs = font.glyphs
for index in range(len(fl.font)):
glyph = fl.font[index]
vhw = glyph.vhints.width
if len(vhw) < 0:
print glyph.name, vhw
I find there are two things wrong here (but I don't know how to fix them).
1. FL py reports width as not being an attribute of hhints
len(vhw) < 0 returns nothing even when I know those instances are present
Any help is appreciated.