Version: 0.4 (using KDE Devel) Installed from: Compiled sources Compiler: gcc 3.4.2 prerelease from 3.4 branch OS: Linux Opening http://www.naturaldata.com/Files/PR-ENT_News_Mapi_NDI.pdf with kpdf will raise multiple errors about missing fonts: The "Error could not find a font for ..." ("Times-Roman", "TrebuchetMS", "TrebuchetMS,BoldItalic", "Verdana", "Verdana, Italic" and "Verdana, Bold") "Times New Roman", "Trebuchet MS" and "Verdana" are installed and can be selected in KControl's font module. It cannot be sole a font substitution problem "TrebuchetMS vs. Trebuchet MS", because of "Verdana vs. Verdana". With kpdf no text from the above mention PDF file is displayed at all. It's worth to mention that GPDF doesn't issue any warning or error with that file. The text is displayed CORRECTLY.
It works for me. Do you get any warning when compiling KPDF? (You should not) Do you have t1lib and freetype installed? (Look for #define HAVE_T1LIB_H 1 and #define HAVE_FREETYPE 1 in kdegraphics/config.h)
On Tuesday 07 September 2004 21:47, Albert Astals Cid wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=88975 > > > > > ------- Additional Comments From tsdgeos terra es 2004-09-07 21:47 ------- > It works for me. > > Do you get any warning when compiling KPDF? (You should not) > > Do you have t1lib and freetype installed? (Look for #define HAVE_T1LIB_H 1 > and #define HAVE_FREETYPE 1 in kdegraphics/config.h) t1lib is missing ...( #define HAVE_T1LIB_H 0) I'll test again...
On Tuesday 07 September 2004 21:47, Albert Astals Cid wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=88975 > > > > > ------- Additional Comments From tsdgeos terra es 2004-09-07 21:47 ------- > It works for me. > > Do you get any warning when compiling KPDF? (You should not) > > Do you have t1lib and freetype installed? (Look for #define HAVE_T1LIB_H 1 > and #define HAVE_FREETYPE 1 in kdegraphics/config.h) ... T1LIB is for Type-1 fonts, though I have the original Truetype fonts installed... I'll test T1LIB nonetheless...
ok, found the problem (i think), the problem is you don't (possibly) have a /etc/xpdfrc file, if i remove mine (installed there by xpdf) i don't get the fonts either.
CVS commit by aacid: Setup the base fonts CCMAIL:88975-done@bugs.kde.org M +1 -0 kpdf_part.cpp 1.51.2.7 --- kdegraphics/kpdf/kpdf/kpdf_part.cpp #1.51.2.6:1.51.2.7 @@ -50,4 +50,5 @@ Part::Part(QWidget *parentWidget, const globalParams = new GlobalParams(""); + globalParams->setupBaseFonts(NULL); // we need an instance