Apache OpenOffice (AOO) Bugzilla – Issue 23589
italic fonts not displaying
Last modified: 2004-01-27 17:22:03 UTC
I am having problems with italic fonts displaying properly on a new Debian install. I am using Oo.o 1.1-2 from a deb via a net install (not sure of the build number; how do I check?). This is a new install of Debian 3 with 2.4.22 kernel. I am using KDE 3.1 Most fonts display as normal/regular text (with perhaps a small base shift) when they should appear italicized. However, a few fonts (e.g., Bitstream Vera Serif) do display italics properly. But for most, italics appear as normal text though the italics button is highlighted when the cursor is in text that should appear italic. Bold and underline work properly. If I create a doc with what should be italic text, save it, and open it in MS Word on another machine, it displays correctly. Unfortunately, I cannot try printing from the linux machine. On my previous setup with this hardware (Debian Potato--2.2.19 kernel, windowmaker, and Oo.o 1.0) I did not have this problem. Not sure if it is a bug or my ignorance, but I cannot figure it out. Thanks!
The problem is most likely that you don't have a corresponding italic font for the normal font. This e.g. the case for Bitstream Vera Sans.
yep, please make sure that you have installed the according italic fonts. Have a look at the file user/psprint/pspfontcache . There you'll find all the fonts OpenOffice.org is aware of.
Thanks! I have found a kludge to get around the problem. You are right that (at least part of) the problem has to do with font availability. First, since this was installed with a debian package manager, I am not sure how to determine the home directory for the install. I was unable to find user/psprint/pspfontcache under any directories. I checked /usr, /usr/local, /usr/share, /usr/lib, /usr/share/openoffice, and /usr/share/openoffice.org-debian-files (among others). How can I find the install directory? Maybe that is not really an openoffice question. What has worked (sort of) is to copy important TT fonts from another machine to /usr/share/fonts/truetype/ttf-xxx/ directories (where xxx is the name of the font). This was the organization of the Bistream Vera Sans font that displayed correclty before. As I have played with this some I have noticed that some fonts appear only as italics (e.g. Courier); Courier 10 Pitch appears only as normal. Since I don't have this problem with displays in other programs, I am reluctant to change things too much (I know just enough to be dangerous). For gsfonts, the italic fonts appear to be present in the directory along with the normal and bold fonts, but they still don't display properly in Oo.o. But, when I export a file (that has italic text) to pdf, and open with acrobat reader or KGhostView, the italics appear correctly. Things are working well enough that I can atleast get some work done. Thanks again, for your help.
cp->tads: you can find the pspfontcache file by starting this command in a shell: find / -name pspfontcache please note that this might be annoyingly slow if you are working in a local area network.
cannot reproduce, no idea how to work on that without further information
closing as works for me