Apache OpenOffice (AOO) Bugzilla – Issue 15288
Broken font display
Last modified: 2003-09-23 13:29:25 UTC
OOo 1.1 beta 2 does not handle fonts correctly. I experienced this with my favorite font family Nimbus (coming with Suse Linux 8.2) and especially with Nimbus Sans L. - In the Tools->Options...->Fonts dialog I wanted to configure Nimbus Sans L as my screen font by replacing Andale Sans UI. Nimbus Sans L appears in the "Replace with" chooser and the screen font changes but not to Nimbus Sans L. The replacement font looks vaguely similar tio Nimbus Sans L but has smaller characters. The kerning does also not seem right. - Opening a presentation using Nimbus Sans L also shows that smaller font. - After these experiences I prepared a demo presentation, used several different fonts and found they all look ugly. Please find attached screen shots of that presentation with the fonts Nimbus Sans L, Times (the default) and Avant Garde Gothic. For comparison I also attached a sceen shot of the presentation with Nimbus Sans L under OOo 1.0.3.1.
Created attachment 6654 [details] Nimbus Sans L displayed correctly by OOo 1.0.3.1
Created attachment 6655 [details] Nimbus Sans L displayed broken by OOo 1.1b2
Created attachment 6656 [details] Times displayed broken by OOo 1.1b2
Created attachment 6657 [details] Avant Garde Gothic displayed broken by OOo 1.1b2
Reassigned to Christian.
Sounds like bug #15171 Agree?
No, I don't agree - at least not yet. As my screenshots show the problem is not restricted to the Nimbus fonts but also occurs with Times and Avant Garde - and perhaps with more fonts.
Rainer: you are right, sorry for unneeded nuisance. I don't know how i related these two when i look at them now.
laimis, please don't worry about bothering me. We'll get things fixed earlier if we talk with each other and exchange idea. And there are no bad ideas - just dead ends now and then.
*** Issue 17160 has been marked as a duplicate of this issue. ***
set to new
please attach the document to reproduce the bug.
set the target
I can reproduce the bug with the avant garde gothic font. I attach a bugdoc, created in OOo1.0.3. Load the doc with the latest version. The doc looks better when I select the printer metric option in Tools/Options but there are still differents.
Created attachment 8528 [details] created in OOo1.0.3 with Avant garde Gothic font.
Please attach the result of xlsfonts | grep -i Nimbus and the file $(OOO_HOME)/share/psprint/pspfontcache I think the problem is that the Nimbus font file is not found, just a few bitmap fonts of this name are provided by the X-Server,
If the above is the case, OOo didn't find the ghostscript font files. We were not able to reproduce the problem here with newer versions like OOo11rc3 because on the new version these fonts are found. You can help OOo to find them using the spadmin tool in the OOo/program folder and add the fonts in the /usr/share/ghostscript/fonts path. When only non-scalable X11 fonts are available to do the layouting there is another problem (internal reminder #110717#) which emulates the correct metrics of scalable fonts. This fix will get in OOo 1.1.1.
Created attachment 9593 [details] Output of xlsfonts | grep -i Nimbus
Created attachment 9594 [details] pspfontcache
HDU->US: I don't really know what else to do with this issue. I suggest you verify it works nowadays (the ghostscript fonts are found) and close.
I far as I can tell from my previous two attachments Nimbus fonts are available. I used spadmin to add the Ghostscript fonts. However, OOo 1.0.3 and OOo 1.1-RC3 still display the Nimbus Sans L font differently on the same machine - there is no change with respect to this issue's first two attachments.
Extract from OOo 1.1 RC4's pspfontcache file: FontCacheDirectory:1060280206:/usr/share/ghostscript/fonts File:n021024l.pfb 1;946428843;1 Nimbus Roman No9 L ---------------------- Nimbus now (OOo 1.1 RC4) looks good, as it should. Changing resolution to FIXED.
Verified in OOo 1.1 RC4.
Closing verified issue.