Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Converted Mac fonts are not correctly recognized | ||
---|---|---|---|
Product: | gsl | Reporter: | gm089 <tlqyvdwdgpdr> |
Component: | code | Assignee: | AOO issues mailing list <issues> |
Status: | CONFIRMED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | byte, issues |
Version: | OOo 1.1 | Keywords: | needmoreinfo, oooqa |
Target Milestone: | OOo PleaseHelp | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 61866 |
Description
gm089
2004-01-20 13:04:51 UTC
cp->Dan: please have a look at it. cp->gm089: please try the upcoming 1.1.1 once it'll be out I tried to install the 1.1 version that can be downloaded from http://www.oooforum.org (the link points to http://openofficeorg.secsup.org/contrib/MacOSX/OOo_1.1.0_031006_MacOSX_install_en.tar.gz) but it is impossible to unzip the downloaded file OOo_1.1.0_031006_MacOSX_install_en.tar.gz: gunzip gives the error message "invalid compressed data--format violated". It does not work with Stuffit Expander either. Maybe it's only a dummy file. I will wait until the official 1.1.1 version is out. Is that what you meant or can I download a 1.1 somewhere else? I tried the fonts on my brother's SuSE 9 Linux computer (Intel) with OpenOffice.org 1.1.0 and I experienced exactly the same problems I had on my iBook with Mac OS X 10.2. I set platfrom to "all" and also OS and I increased the priority because I can not work with OpenOffice.org before this problem is solved. The layout of my existing documents is totally destroyed when I try to use other fonts. BTW: The second "problem" about the hard coded font path: It is the same situation on my brother's Linux box. Yes, the X11 paths are hardcoded into OOo. So that is confirmed. *some* pathes are hardcoded, however most of the X11 font pathes are queried in psprint/fontmanager/fontmanager.cxx in PrintFontManager::initialize() by means of XGetFontPath() mh->dan: can you please review priority and target milestone ? setting target Reporter: can you try with OOo 1.1.2 (x11) wich just got released? I have tried again with MacOSX 10.3.2 using X11 1.0 (XFree86 4.3.0) supplied by Apple and OpenOffice.org 1.1.2. The problem with the wrongly recognized/categorized font faces remained the same. OpenOffice.org now handles pspfontcache properly, it is correctly updated every time I add or remove a font, it only exists once in the ~/Library/... path. The test results are static. Also the installation is much much better, however, I do not understand why not the normal setup program from OOo is used and why the installtion is done in single user mode and not in multiple user mode which seems to be the right way on a system like MacOSX. OpenOffice.org still uses paths to look for fonts that are not specified in the font path. Here is a list of the paths OOo looks for: ~/Library/Preferences/OpenOffice.org1.1.2/user/fonts /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/fonts /usr/X11R6/lib/X11/fonts/misc /usr/X11R6/lib/X11/fonts/Speedo /usr/X11R6/lib/X11/fonts/CID /usr/X11R6/lib/X11/fonts/75dpi /usr/X11R6/lib/X11/fonts/100dpi /etc/cups/ppd ~/Library/Preferences/OpenOffice.org1.1.2/user/psprint/fontmetric /Applications/Zusatzprogramme/OpenOffice/OpenOffice.org1.1.2/program/../share/psprint/fontmetric /Applications/Zusatzprogramme/OpenOffice/OpenOffice.org1.1.2/share/fonts/truetype /msw/share/fonts My font path is set to: /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/msw/share/fonts Unwanted font paths can only be removed from recognition by renaming the unwanted font directories. As I did not want to wait for 2.0 I came up with the idea to change the fonts to make them recognizable by OOo. Using FontForge and comparing working with not working fonts it seemed that the difference is located only in a few meta data fields dealing with Naming (folder "Names"): Fontname, Family Name and Name for humans (the working font shows e. g. Optima-Regular, Optima, Optima Regular while the not working fonts shows either Roman instead of Regular or Regular is omitted in the Fontname). The same is with the fields Family, Styles (SubFamily) and FullName (folder "TTF Names"). Correcting all the fonts and saving them as TTF was easy. Afterwards the fonts were working with OOo perfectly. A fonts.dir file was no longer necessary, all the styles are now correctly recognized and categorized. The only remaining misfit is that some font stlyes are recognized as "light" leading to the situation that the styles light, light italics, bold, bold italics are available, but no Regular style, which confuses OOo when working with the Bold and Italics buttons. That is no deeper problem for me, but I guess a little work on the further meta data fields of the fonts would even solve this problem. Having done all that I made a little cross check: I converted a set of fonts that was known to be not working after being converted with fondu with FontForge without changing any meta data fields manually. The result was astounding, because the fonts converted this way were working as good as the ones with corrected naming fields. This leads to the conclusion on my side that fondu does something wrong that FontForge is doing much better. Conclusion: Use FontForge to convert the Mac-Fonts to TTF!!! For using the converted fonts also with other X applications (e. g. GIMP), a fonts.dir and fonts.scale file (the files are identical) is necessary. The file I use now is working, it looks like this: 126 AppleSymbols-Regular.ttf -apple-Apple Symbols-medium-r-normal--0-0-0-0-p-0-iso10646-1 AvantGarde-Book.ttf -apple-Avant Garde-medium-r-normal--0-0-0-0-p-0-iso10646-1 AvantGarde-Demi.ttf -apple-Avant Garde-bold-r-normal--0-0-0-0-p-0-iso10646-1 Baskerville-Bold.ttf -monotype-Baskerville-bold-r-normal--0-0-0-0-p-0-iso10646-1 Baskerville-BoldItalic.ttf -monotype-Baskerville-bold-i-normal--0-0-0-0-p-0-iso10646-1 Baskerville-Italic.ttf -monotype-Baskerville-medium-i-normal--0-0-0-0-p-0-iso10646-1 Baskerville-Regular.ttf -monotype-Baskerville-medium-r-normal--0-0-0-0-p-0-iso10646-1 BodoniOrnamentsITCTT-Regular.ttf -typeface-Bodoni Ornaments ITC TT-medium-r-normal--0-0-0-0-p-0-iso10646-1 Bookman-Demi.ttf -apple-Bookman-demibold-r-normal--0-0-0-0-p-0-iso10646-1 Bookman-DemiItalic.ttf -apple-Bookman-demibold-i-normal--0-0-0-0-p-0-iso10646-1 Bookman-Light.ttf -apple-Bookman-light-r-normal--0-0-0-0-p-0-iso10646-1 Bookman-LightItalic.ttf -apple-Bookman-light-i-normal--0-0-0-0-p-0-iso10646-1 Chalkboard-Regular.ttf -apple-Chalkboard-medium-r-normal--0-0-0-0-p-0-iso10646-1 Chicago-Regular.ttf -apple-Chicago-medium-r-normal--0-0-0-0-p-0-iso10646-1 Cochin-Bold.ttf -linotype-Cochin-bold-r-normal--0-0-0-0-p-0-iso10646-1 Cochin-BoldItalic.ttf -linotype-Cochin-bold-i-normal--0-0-0-0-p-0-iso10646-1 Cochin-Italic.ttf -linotype-Cochin-medium-i-normal--0-0-0-0-p-0-iso10646-1 Cochin-Regular.ttf -linotype-Cochin-medium-r-normal--0-0-0-0-p-0-iso10646-1 ComicSansMS-Bold.ttf -microsoft-Comic Sans MS-bold-r-normal--0-0-0-0-p-0-iso10646-1 ComicSansMS-Regular.ttf -microsoft-Comic Sans MS-medium-r-normal--0-0-0-0-p-0-iso10646-1 Courier-Bold.ttf -apple-Courier-bold-r-normal--0-0-0-0-m-0-iso10646-1 Courier-Regular.ttf -apple-Courier-medium-r-normal--0-0-0-0-m-0-iso10646-1 Futura-Medium.ttf -misc-Futura-medium-r-normal--0-0-0-0-p-0-iso10646-1 Futura-MediumItalic.ttf -misc-Futura-medium-i-normal--0-0-0-0-p-0-iso10646-1 Geneva-Regular.ttf -apple-Geneva-medium-r-normal--0-0-0-0-p-0-iso10646-1 Helvetica-Bold.ttf -apple-Helvetica-bold-r-normal--0-0-0-0-p-0-iso10646-1 Helvetica-BoldOblique.ttf -apple-Helvetica-bold-o-normal--0-0-0-0-p-0-iso10646-1 Helvetica-Oblique.ttf -apple-Helvetica-medium-o-normal--0-0-0-0-p-0-iso10646-1 Helvetica-Regular.ttf -apple-Helvetica-medium-r-normal--0-0-0-0-p-0-iso10646-1 HelveticaNeue-Bold.ttf -linotype-Helvetica Neue-bold-r-normal--0-0-0-0-p-0-iso10646-1 HelveticaNeue-BoldItalic.ttf -linotype-Helvetica Neue-bold-i-normal--0-0-0-0-p-0-iso10646-1 HelveticaNeue-Italic.ttf -linotype-Helvetica Neue-medium-i-normal--0-0-0-0-p-0-iso10646-1 HelveticaNeue-Regular.ttf -linotype-Helvetica Neue-medium-r-normal--0-0-0-0-p-0-iso10646-1 Monaco-Regular.ttf -apple-Monaco-medium-r-normal--0-0-0-0-p-0-iso10646-1 Nadianne-Bold.ttf -agfa-Nadianne-bold-r-normal--0-0-0-0-p-0-iso10646-1 Nadianne-Book.ttf -agfa-Nadianne-medium-r-normal--0-0-0-0-p-0-iso10646-1 NewCenturySchlbk-Bold.ttf -linotype-New Century Schoolbook-bold-r-normal--0-0-0-0-p-0-iso10646-1 NewCenturySchlbk-BoldItalic.ttf -linotype-New Century Schoolbook-bold-i-normal--0-0-0-0-p-0-iso10646-1 NewCenturySchlbk-Italic.ttf -linotype-New Century Schoolbook-medium-i-normal--0-0-0-0-p-0-iso10646-1 NewCenturySchlbk-Regular.ttf -linotype-New Century Schoolbook-medium-r-normal--0-0-0-0-p-0-iso10646-1 NewYork-Regular.ttf -apple-New York-medium-r-normal--0-0-0-0-p-0-iso10646-1 OldEnglishText-Regular.ttf -monotype-Old English Text-medium-r-normal--0-0-0-0-p-0-iso10646-1 Optima-Bold.ttf -linotype-Optima-bold-r-normal--0-0-0-0-p-0-iso10646-1 Optima-BoldItalic.ttf -linotype-Optima-bold-i-normal--0-0-0-0-p-0-iso10646-1 Optima-Italic.ttf -linotype-Optima-medium-i-normal--0-0-0-0-p-0-iso10646-1 Optima-Regular.ttf -linotype-Optima-medium-r-normal--0-0-0-0-p-0-iso10646-1 Palatino-Bold.ttf -apple-Palatino-bold-r-normal--0-0-0-0-p-0-iso10646-1 Palatino-BoldItalic.ttf -apple-Palatino-bold-i-normal--0-0-0-0-p-0-iso10646-1 Palatino-Italic.ttf -apple-Palatino-medium-i-normal--0-0-0-0-p-0-iso10646-1 Palatino-Regular.ttf -apple-Palatino-medium-r-normal--0-0-0-0-p-0-iso10646-1 Papyrus-Regular.ttf -monotype-Papyrus-medium-r-normal--0-0-0-0-p-0-iso10646-1 ScriptMT-Bold.ttf -monotype-Script MT-bold-r-normal--0-0-0-0-p-0-iso10646-1 Symbol-Regular.ttf -apple-Symbol-medium-r-normal--0-0-0-0-p-0-iso10646-1 Times-Bold.ttf -apple-Times-bold-r-normal--0-0-0-0-p-0-iso10646-1 Times-BoldItalic.ttf -apple-Times-bold-i-normal--0-0-0-0-p-0-iso10646-1 Times-Italic.ttf -apple-Times-medium-i-normal--0-0-0-0-p-0-iso10646-1 Times-Regular.ttf -apple-Times-medium-r-normal--0-0-0-0-p-0-iso10646-1 TrebuchetMS-BoldItalic.ttf -microsoft-Trebuchet MS-bold-i-normal--0-0-0-0-p-0-iso10646-1 TrebuchetMS-Bold.ttf -microsoft-Trebuchet MS-bold-r-normal--0-0-0-0-p-0-iso10646-1 TrebuchetMS-Italic.ttf -microsoft-Trebuchet MS-medium-i-normal--0-0-0-0-p-0-iso10646-1 TrebuchetMS-Regular.ttf -microsoft-Trebuchet MS-medium-r-normal--0-0-0-0-p-0-iso10646-1 Webdings-Regular.ttf -microsoft-Webdings-medium-r-normal--0-0-0-0-p-0-iso10646-1 ZapfDingbatsITC-Regular.ttf -misc-Zapf Dingbats-medium-r-normal--0-0-0-0-p-0-iso10646-1 AppleSymbols-Regular.ttf -apple-Apple Symbols-medium-r-normal--0-0-0-0-p-0-iso8859-1 AvantGarde-Book.ttf -apple-Avant Garde-medium-r-normal--0-0-0-0-p-0-iso8859-1 AvantGarde-Demi.ttf -apple-Avant Garde-bold-r-normal--0-0-0-0-p-0-iso8859-1 Baskerville-Bold.ttf -monotype-Baskerville-bold-r-normal--0-0-0-0-p-0-iso8859-1 Baskerville-BoldItalic.ttf -monotype-Baskerville-bold-i-normal--0-0-0-0-p-0-iso8859-1 Baskerville-Italic.ttf -monotype-Baskerville-medium-i-normal--0-0-0-0-p-0-iso8859-1 Baskerville-Regular.ttf -monotype-Baskerville-medium-r-normal--0-0-0-0-p-0-iso8859-1 BodoniOrnamentsITCTT-Regular.ttf -typeface-Bodoni Ornaments ITC TT-medium-r-normal--0-0-0-0-p-0-iso8859-1 Bookman-Demi.ttf -apple-Bookman-demibold-r-normal--0-0-0-0-p-0-iso8859-1 Bookman-DemiItalic.ttf -apple-Bookman-demibold-i-normal--0-0-0-0-p-0-iso8859-1 Bookman-Light.ttf -apple-Bookman-light-r-normal--0-0-0-0-p-0-iso8859-1 Bookman-LightItalic.ttf -apple-Bookman-light-i-normal--0-0-0-0-p-0-iso8859-1 Chalkboard-Regular.ttf -apple-Chalkboard-medium-r-normal--0-0-0-0-p-0-iso8859-1 Chicago-Regular.ttf -apple-Chicago-medium-r-normal--0-0-0-0-p-0-iso8859-1 Cochin-Bold.ttf -linotype-Cochin-bold-r-normal--0-0-0-0-p-0-iso8859-1 Cochin-BoldItalic.ttf -linotype-Cochin-bold-i-normal--0-0-0-0-p-0-iso8859-1 Cochin-Italic.ttf -linotype-Cochin-medium-i-normal--0-0-0-0-p-0-iso8859-1 Cochin-Regular.ttf -linotype-Cochin-medium-r-normal--0-0-0-0-p-0-iso8859-1 ComicSansMS-Bold.ttf -microsoft-Comic Sans MS-bold-r-normal--0-0-0-0-p-0-iso8859-1 ComicSansMS-Regular.ttf -microsoft-Comic Sans MS-medium-r-normal--0-0-0-0-p-0-iso8859-1 Courier-Bold.ttf -apple-Courier-bold-r-normal--0-0-0-0-m-0-iso8859-1 Courier-Regular.ttf -apple-Courier-medium-r-normal--0-0-0-0-m-0-iso8859-1 Futura-Medium.ttf -misc-Futura-medium-r-normal--0-0-0-0-p-0-iso8859-1 Futura-MediumItalic.ttf -misc-Futura-medium-i-normal--0-0-0-0-p-0-iso8859-1 Geneva-Regular.ttf -apple-Geneva-medium-r-normal--0-0-0-0-p-0-iso8859-1 Helvetica-Bold.ttf -apple-Helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-1 Helvetica-BoldOblique.ttf -apple-Helvetica-bold-o-normal--0-0-0-0-p-0-iso8859-1 Helvetica-Oblique.ttf -apple-Helvetica-medium-o-normal--0-0-0-0-p-0-iso8859-1 Helvetica-Regular.ttf -apple-Helvetica-medium-r-normal--0-0-0-0-p-0-iso8859-1 HelveticaNeue-Bold.ttf -linotype-Helvetica Neue-bold-r-normal--0-0-0-0-p-0-iso8859-1 HelveticaNeue-BoldItalic.ttf -linotype-Helvetica Neue-bold-i-normal--0-0-0-0-p-0-iso8859-1 HelveticaNeue-Italic.ttf -linotype-Helvetica Neue-medium-i-normal--0-0-0-0-p-0-iso8859-1 HelveticaNeue-Regular.ttf -linotype-Helvetica Neue-medium-r-normal--0-0-0-0-p-0-iso8859-1 Monaco-Regular.ttf -apple-Monaco-medium-r-normal--0-0-0-0-p-0-iso8859-1 Nadianne-Bold.ttf -agfa-Nadianne-bold-r-normal--0-0-0-0-p-0-iso8859-1 Nadianne-Book.ttf -agfa-Nadianne-medium-r-normal--0-0-0-0-p-0-iso8859-1 NewCenturySchlbk-Bold.ttf -linotype-New Century Schoolbook-bold-r-normal--0-0-0-0-p-0-iso8859-1 NewCenturySchlbk-BoldItalic.ttf -linotype-New Century Schoolbook-bold-i-normal--0-0-0-0-p-0-iso8859-1 NewCenturySchlbk-Italic.ttf -linotype-New Century Schoolbook-medium-i-normal--0-0-0-0-p-0-iso8859-1 NewCenturySchlbk-Regular.ttf -linotype-New Century Schoolbook-medium-r-normal--0-0-0-0-p-0-iso8859-1 NewYork-Regular.ttf -apple-New York-medium-r-normal--0-0-0-0-p-0-iso8859-1 OldEnglishText-Regular.ttf -monotype-Old English Text-medium-r-normal--0-0-0-0-p-0-iso8859-1 Optima-Bold.ttf -linotype-Optima-bold-r-normal--0-0-0-0-p-0-iso8859-1 Optima-BoldItalic.ttf -linotype-Optima-bold-i-normal--0-0-0-0-p-0-iso8859-1 Optima-Italic.ttf -linotype-Optima-medium-i-normal--0-0-0-0-p-0-iso8859-1 Optima-Regular.ttf -linotype-Optima-medium-r-normal--0-0-0-0-p-0-iso8859-1 Palatino-Bold.ttf -apple-Palatino-bold-r-normal--0-0-0-0-p-0-iso8859-1 Palatino-BoldItalic.ttf -apple-Palatino-bold-i-normal--0-0-0-0-p-0-iso8859-1 Palatino-Italic.ttf -apple-Palatino-medium-i-normal--0-0-0-0-p-0-iso8859-1 Palatino-Regular.ttf -apple-Palatino-medium-r-normal--0-0-0-0-p-0-iso8859-1 Papyrus-Regular.ttf -monotype-Papyrus-medium-r-normal--0-0-0-0-p-0-iso8859-1 ScriptMT-Bold.ttf -monotype-Script MT-bold-r-normal--0-0-0-0-p-0-iso8859-1 Symbol-Regular.ttf -apple-Symbol-medium-r-normal--0-0-0-0-p-0-iso8859-1 Times-Bold.ttf -apple-Times-bold-r-normal--0-0-0-0-p-0-iso8859-1 Times-BoldItalic.ttf -apple-Times-bold-i-normal--0-0-0-0-p-0-iso8859-1 Times-Italic.ttf -apple-Times-medium-i-normal--0-0-0-0-p-0-iso8859-1 Times-Regular.ttf -apple-Times-medium-r-normal--0-0-0-0-p-0-iso8859-1 TrebuchetMS-BoldItalic.ttf -microsoft-Trebuchet MS-bold-i-normal--0-0-0-0-p-0-iso8859-1 TrebuchetMS-Bold.ttf -microsoft-Trebuchet MS-bold-r-normal--0-0-0-0-p-0-iso8859-1 TrebuchetMS-Italic.ttf -microsoft-Trebuchet MS-medium-i-normal--0-0-0-0-p-0-iso8859-1 TrebuchetMS-Regular.ttf -microsoft-Trebuchet MS-medium-r-normal--0-0-0-0-p-0-iso8859-1 Webdings-Regular.ttf -microsoft-Webdings-medium-r-normal--0-0-0-0-p-0-iso8859-1 ZapfDingbatsITC-Regular.ttf -misc-Zapf Dingbats-medium-r-normal--0-0-0-0-p-0-iso8859-1 Every font face is contained twice: once with ISO10646-1 encoding (Unicode) as generated by FontForge, once with ISO8859-1, because GIMP does not recognize 2-Byte-Fonts. Luckily this works. Hope this helps you tracking down the real problems in the code... Till then, there is a work around for all those who really want to use OOo on the Mac. reset prio to two. retarget to OOo Please Help due to lack of resources. Please try http://porting.openoffice.org/mac/2.0.0rc3.html my undestanding is that the font management is better. Please update the issue either way. This Issue requires more information ('needmoreinfo'), but has not been updated within the last year. Please re-test with one of the latest versions of OOo - the problem(s) may already be addressed. Either use the latest stable version: http://download.openoffice.org/index.html or consider trying the new OOo 3 BETA (still in testing): http://download.openoffice.org/3.0beta/ Please report back the outcome of your testing, so this Issue may be closed or progressed as necessary - otherwise the issue may be Resolved as Invalid in the future. You may also wish to search for (and note) any duplicates of this Issue that may have progressed further : http://www.openoffice.org/issues/query.cgi Regards, Andrew Cleaning-up and Closing old Issues as part of: ~ The Grand Bug Squash, pre v3 ~ Please consider re-testing with one of the latest versions of OOo and providing an update / further information. Cheers. Lowering Issue priority... From: http://qa.openoffice.org/scdocs/ddIssues_EnterModify.html#priority P2 - Marks severe problems which affect a significant number of customers. Issues with this priority must be fixed before the target release ... and should be dealt with as soon as possible. Not fixing them for the target release is not acceptable. Reset assignee on issues not touched by assignee in more than 2000 days. |