| Summary: | custom truetype font not sent to printer | ||
|---|---|---|---|
| Product: | [Unmaintained] kword | Reporter: | Andrew J. Kroll <a> |
| Component: | general | Assignee: | Thomas Zander <zander> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | zander |
| Priority: | NOR | ||
| Version First Reported In: | 1.6.1 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Andrew J. Kroll
2007-01-18 15:06:11 UTC
This is a specific incarnation of the more general and deeper problem which we suffer with KDE and Qt, namely that it does not send *any* TrueType font to the printer (not just your custom one):
* Qt can not produce PostScript Level 2 or PostScript 3; it is limited to
PostScript Level 1. This in itself already is bad enough.
* Our KDE applications rely on Qt library functions to create PostScript.
* One of Qt's biggest flaws (on top of "PS Level 1 only") is this: when it
has to process TrueType fonts, it converts them into "Type 3" (*) fonts and
embeds the font into the generated PS file (**).
* One drawback with this specific Type 3 conversion is that the "visual"
quality of the result is sub-par (this need not be so -- I've seen better
results of TT --> Type3 font conversion than what we get with Qt).
* The biggest problem however is this: if you convert a Qt-generated
PostScript file into PDF (f.e. by using the "ps2pdf" utility), the embedded
Type 3 font has no name (look at "File --> Properties --> Fonts"). Hence,
the PDF is not "searchable", you can't extract text from it, or you can't
feed it to a screenreader or KTTS (accessibility).
I don't have any trust that this will *ever* be fixed during the KDE 3 timeline. Let's hope for KDE4.
Firefox prints it just fine because Firefox relies on its own means to generate its PostScript when it comes to printing, and it obviously is better in handling TrueType fonts.
As to why OpenOffice.org doesn't handle your font correctly, I don't know. OOo also does "its own thing" when it comes to font handling (it even ships its own font metric files for the 35 base fonts defined for PS Level 2)....
-------------------
(*) "Type 3" describe glyphs by means of ordinary PostScript procedures.
(**) Ghostscript (at least more recent versions) can handle TrueType fonts by
itself just fine.
.
Fixed in KWord2.0 |