Version: 0.4.1 (using KDE KDE 3.4.0) Installed from: Compiled From Sources In kpdf from KDE 3.4 BRANCH from 050330 18:10 the font rendering in the applied pdf is broken (no TTF fonts are rendered). Attaching: - PDF file - acrobat reader 7.0 screenshot - kpdf screenshot
Created attachment 10626 [details] Acrobat Reader 7.0 screenshot while rendering the test PDF
Created attachment 10627 [details] KPdf screenshot while rendering the test PDF
Created attachment 10628 [details] The test pdf
Created attachment 10630 [details] Sreenshot KPdf on Debian 3.4.0, works fone.
Who told you these fonts are truetype? They are not, they are Type 1 fonts (not that this matters but i thought i had to correct the error). That pdf works fine here so it's a problem in your side. Check that you got no warnings about freetype or fontconfig when compiling and that fontconfig is able of giving fonts for Times and Courier (you can user fc-match Times and fc-match Courier for that) Also which version of freetype are you using?
[djurban@djurban ~]$ fc-match Times ; fc-match Courier timR12.pcf.gz: "Times" "Regular" cour.pfb: "Courier" "Regular" [djurban@djurban ~]$ Im using freetype 2.1.9.
Wops, i just realized that fonts are not asked on fontconfig, we have direct "bindings" to them Courier -> n022003l.pfb Times-Bold -> n021004l.pfb Times-Roman -> n021003l.pfb Do you have this fonts in any of these paths? /usr/share/ghostscript/fonts /usr/local/share/ghostscript/fonts /usr/share/fonts/default/Type1 /usr/share/fonts/type1/gsfonts /usr/share/fonts/default/ghostscript/ If you don't have that fonts in any of these that is the problem
CVS commit by aacid: Add another path to search the default gs fonts, we have to improve, but for now i'm closing the bug, thanks for reporting BUGS: 103891 M +1 -0 GlobalParams.cc 1.14 --- kdegraphics/kpdf/xpdf/xpdf/GlobalParams.cc #1.13:1.14 @@ -101,4 +101,5 @@ static const char *displayFontDirs[] = { "/usr/share/fonts/type1/gsfonts", "/usr/share/fonts/default/ghostscript/", + "/usr/share/fonts/Type1", NULL };