Version: 1.3 Beta 2 (using KDE KDE 3.1.2) Installed from: Compiled From Sources Compiler: GCC-3.3 OS: Linux I created the attached KWord file to test other printing issues, but couldn't because the PostScript font names are incorrect and/or incorrect case. The names in the PS file are: TimesNewRomanPs ComicSansMs Swis721Bt Swis721Bt-Bold BrushscriptBt The correct names are: TimesNewRomanPSMT ComicSansMS Swiss721BT Swiss721BT-Bold BrushScriptBT Note that editing the PS file with a text editor fixed the problem. There is another issue that also occurs with other wordprocessors -- it is the Times vs. Times-Roman issue. The actual names for: Swiss721BT BrushScriptBT are: Swiss721BT-Roman BrushScriptBT-Regular This makes it necessary to add an alias to the Fontmap file just as is necessary for Times. I don't know if this is the normal way to do it or which name should appear in the PS file, but I would think that should be the actual PS font name as reported by the font file. -- JRT
Created attachment 1850 [details] Test file to illustrate the bug
NOTE: if you would like my two PS files, I will be happy to forward them to you but I thought that they were a bit too long to post here. -- JRT
Subject: Re: New: PS files generated by printing have incorrect font names. I forwarded your report to Trolltech - all the PS generation happens in Qt...
Created attachment 1872 [details] test code for ps generation
Hmm, TT answered back that it works for them, with a plain Qt program. "Could you perhaps try to reproduce this with just Qt? I've tried using the attached program, but the resulting .ps file seemed to contain the correct font names." I attached the testcase. I have no time for further debugging on this right now, sorry.
The bug appears to be more general. If you check, you will see that the same incorrect font names appear in the font selector widget. E.G. Control Center: Appearance & Themes => Fonts: Choose. So, this is probably a general KDE bug. -- JRT
Changed Product and Summary to better represent the actual problem. Please move this to the correct place if I have it wrong. -- JRT
the question was: can you reproduce it with a pure Qt application?!
Having looked into this further, I find that there are two different but related problems. The family name: "Swis721 BT" is correct and the incorrect case in the KFontDialog shouldn't cause any problems. However, KWord is not using the correct PostScript font names but rather it is using the same names as in the KFontDialog in the PostScript files that it generates. I don't know if this is caused by KOffice code or KDELibs code. I will open a new bug for KOffice. -- JRT
I have determined that the problem is in Qt. So, I am closing the bug. -- JRT