[Kde-print-devel] [Bug 125150] PDF files are not searchable

larsnospam at netzkavaliere.de larsnospam at netzkavaliere.de
Tue Sep 25 23:59:12 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125150         




------- Additional Comments From larsnospam netzkavaliere de  2007-09-25 23:59 -------
My experience on this subject:

Do NOT activate font embedding for postscript files for QT/KDE in qtconfig or kaddprinterwizard (like succested in #4).
But DO activate font embedding for ghostscript in kprint -> Print to pdf -> properties -> driver settings (also succested by Kurt in #4).

Background:
There are two steps to generate a pdf from konqueror:
1. konqueror generates postscript for a document (with Qt's ps driver)
2. ghostscript "converts" this postscript to a PDF file

Qt's postscript driver seems to embed fonts in an unproper way, like described here:
http://lists.kde.org/?l=kde&m=109064343317685&w=2
(only Type 3 and no names...)

So the generated postscript from konqueror in the first step seems to containt improperly embedded fonts. And ghostscript (in step 2: postscript -> pdf) can't "repair" this.

As soon as you deactivate font embedding for the first step (Qt's font embedding), ghostscript can THEN do a proper font embedding in the second step.


My PDFs generated in this way all are searchable by kpdf and contains properly embedded fonts (in my case with konqueror: truetype fonts with proper font names).


More information about the Kde-print-devel mailing list