--- kpdf-3.5.9/kpdf/xpdf/splash/SplashFTFont.cc.orig 2008-10-13 04:57:41.000000000 +0300 +++ kpdf-3.5.9/kpdf/xpdf/splash/SplashFTFont.cc 2008-10-13 04:57:49.000000000 +0300 @@ -180,12 +180,12 @@ } // if we have the FT2 bytecode interpreter, autohinting won't be used -#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER - if (FT_Load_Glyph(ff->face, gid, - aa ? FT_LOAD_NO_BITMAP : FT_LOAD_DEFAULT)) { - return gFalse; - } -#else +//#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER +// if (FT_Load_Glyph(ff->face, gid, +// aa ? FT_LOAD_NO_BITMAP : FT_LOAD_DEFAULT)) { +// return gFalse; +// } +//#else // FT2's autohinting doesn't always work very well (especially with // font subsets), so turn it off if anti-aliasing is enabled; if // anti-aliasing is disabled, this seems to be a tossup - some fonts @@ -195,7 +195,7 @@ : FT_LOAD_DEFAULT)) { return gFalse; } -#endif +//#endif FT_Glyph_Metrics *glyphMetrics = &(ff->face->glyph->metrics); // prelimirary values from FT_Glyph_Metrics