To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=79586 Issue #|79586 Summary|unwanted substitution of ITC fonts by a completely unr |elated font family Component|Word processor Version|OOo 2.2 Platform|PC URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P2 Subcomponent|formatting Assigned to|mru Reported by|unixtowindowstolinux
------- Additional comments from [EMAIL PROTECTED] Fri Jul 13 11:42:01 +0000 2007 ------- on a fresh ubuntu 7.04 installation, i installed a type1 font, Adobe's ITC Stone Serif. the font showed up in OOo Writer's font pull-down menu, but it was rendered using a completely unrelated, sans-serif font (i hadn't specified any font substitutions). any text that i formatted as Stone Serif came out looking like it was set in the "Saab" font. on examination of the font files, i found: FontName StoneSerif FullName ITC Stone Serif FamilyName ITC Stone Serif what shows up in OOo Writer's font pulldown menu is "Stone Serif" (with a space), which is not identical to any of the above strings. i installed the fontforge package and used it to remove the "ITC" from the FamilyName field, installed the modified font, and this cured the problem. i tried a few fonts, and observed that the problem occurs with fonts whose name starts with ITC, and doesn't occur with fonts that don't have ITC in their names. i only tried a few so i can't say for sure exactly what it is about the name that causes the problem, but i know at least that changing "ITC Stone Serif" to "Stone Serif" fixes the problem. since the ITC Stone Serif is not freely distributable, i have made a couple of test fonts, derived from the Century Schoolbook L font that comes with ubuntu. they are identical to Century Schoolbook L, except that the name has been changed to BlahDeBlah, and the UID is the randomly-generated value, 4150396. i am attaching several files: original.afm, original.pfb - font named "ITC BlahDeBlah" workaround.afm, workaround.pfb - font named "BlahDeBlah" blah.odt - small example text file containing 3 lines of text i'm not sure how widespread this problem is, but i know that, at least, it is reproducible on a fresh installation of ubuntu 7.04. to reproduce the problem: (1) copy original.afm and original.pfb to your ~/.fonts directory. (2) open blah.odt in OOo Writer. the middle line, formatted in the BlahDeBlah font, should look identical to the top line, formatted in Century Schoolbook L, but it doesn't. instead, it looks like the bottom line, which is formatted in the Saab font. notice that BlahDeBlah shows up in the pulldown font menu, but it is also rendered wrong there. (3) close OOo Writer. (4) remove original.afm and original.pfb from ~/.fonts (5) copy workaround.afm and workaround.pfb to ~/.fonts (6) open blah.odt again in OOo Writer. now the middle line looks like the top line, as it should, and BlahDeBlah in the font pulldown menu looks right. this is exactly analogous to the process i went thru with ITC Stone Serif. although i haven't tried many fonts, i expect this problem to be pretty widespread among people who depend on professional-level fonts. for an expert, it's a troublesome problem, and for a new linux user who depended on these fonts, it would be a complete showstopper. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]