Comment 14 for bug 48146

Revision history for this message
Sergei Ivanov (svivanov) wrote : Re: Poor font rendering in kpdf

I observe this bug too, both in kpdf (hardy) and okular (intrepid).
Rendering is especially bad for Cyrillic fonts in pdfs generated by TeX
(I guess this is because these fonts are bitmapped) but the problem
is visible with latin fonts too. This bug annoyed me for a long time and
I spent some time investigating it (with KDE3 on hardy)

Rendering is good in Opensuse 10.3 and in Fedora 8. I narrowed the difference
down to the file /usr/lib/kde3/libkpdfpart.so. Copying this file from Fedora to Ubuntu
fixes the problem.

I thought that the difference is due to compile-time options or patches but
this is not the case. I compiled kdegraphics-3.5.10 (the upstream source
with no patches) via 'configure && make' on the two systems.
On Fedora, this compilation produced a good binary. On Ubuntu, it produced a bad binary.
(The binaries were tested by copying the file libkpdfpart.so to the Ubuntu system
and running kpdf, so it's not a matter of not having some library in the system).

I am trying to investigate the issue futher. Does anyone know what can possibly cause
this surprising effect?