APR
20
2006

Reports from the Desktop Linux Printing Summit

DesktopLinux.com reports on the recent OSDL sponsored Desktop Linux Printing Summit in the USA. "The meeting was attended by about 40 developers from printer vendors, such as Hewlett-Packard, Lanier, and Lexmark; to operating system distributors like Apple Computer, Debian, and Novell; to those two Linux desktop powers, GNOME and KDE; and more. Their job? To nail down exactly what's wrong with printing and Linux, and to work out ways to resolve these problems once and for all." They point to blogs from the KDE attenders, Cristian Tibirna, Kurt Pfeifle and Waldo Bastian. LWN.net has an extended report from Kurt. Linux.com reports on the plan to move to PDF for print spooling. Finally Waldo has the group photo.

Comments

Why exactly was Apple involved at a summit for _Linux_ printing? Were they there simply because they use CUPS for printing, or are they actually more involved than that?


By Corbin at Thu, 2006/04/20 - 5:00am

It was very kind from Apple to send Paul. Yes, they were perhaps interested to see what happens new in CUPS (although they must have very good contacts with the developers of CUPS already) but in the process they were very helpful with information and accounts of experience on their printing-related work. Very instructive. And Apple is commendable and deserving our deep respect and thanks for this.

Not to forget the Paul Danbold (Apple) gave me and Andreas Vox (from Scribus) a lift to the airport at the end of the summit, which was an extremely nice and helpful thing to do ;-)

And in general the level of collaboration and common work from natural competitiors at this event was simply impressive.


By Inorog at Thu, 2006/04/20 - 5:00am

Hi everybody,

I heartily congratulate all maintainers and contributors of CUPS, KDEprint and all related projects. Great work! I've been using KDE since 1998, and it has really come a long way.

I have a small request/problem/bug/config issue, that I couldn't find in the meeting (b)logs. I don't know whether KDEprint, Ghostscript, font management or KDE is at fault but printing from KDE applications always results in "shaky" text on the page. Even printing this very web page into a PDF will cause noticeable non-alignment between characters.

Screenshot: http://www.jensbenecke.de/temp/kde/printing-text.png

You can see that the spaces between characters are not equal and some characters are not correctly vertically aligned. Look at "developers" in the second line - the space between "de" and "pe" is almost zero, and the letters "v" and "p" are set a bit higher than the others.

Is this a configuration issue? I've had it with all Linux distributions I've worked with and all fonts. I just now tried Bitstream Vera and Arial as the browser font.

Perhaps this can be solved ... perhaps I can even do it myself? Firefox and Openoffice.org have much better font alignment when printing.

Thanks!

Jens


By Jens at Thu, 2006/04/20 - 5:00am

Hi, Jens,

this is a known issue. The technical measure that covers this (or not) is called "font hinting". (And it may be average or bad or most bad with different fonts, but it never is very good or excellent right now.) But it is not only a technical issue, it is also a political one: the reason is, font hinting is patent encumbered (at least for TrueType fonts).

KDE4 will hopefully be a *lot* better with font display and font printing, given that Qt4 has re-vamped all the underlying technologies.

See here for more technical and political background:

http://www.daube.ch/docu/glossary/font_hinting.html
http://www.microsoft.com/typography/tools/trtalr.htm
http://freetype.sourceforge.net/patents.html
http://www.freetype.org/david/unix-font-rendering.html

Cheers,
Kurt


By Kurt Pfeifle at Thu, 2006/04/20 - 5:00am

Isn't the kerning wrong in between the T and the y in the header on the freetype web site itself?

http://freetype.sourceforge.net/patents.html


By Martin at Thu, 2006/04/20 - 5:00am

Duh!

I had meant to also hint at "font kerning" as one area which may be causing badly looking fonts (on screen and on paper), but then somehow forgot about it..

http://en.wikipedia.org/wiki/Kerning

Cheers,
Kurt


By Kurt Pfeifle at Thu, 2006/04/20 - 5:00am

Hi Kurt,

thank you for your explanation! However, I wonder why apps like Openoffice and Mozilla do this a _lot_ better, although they too are open-source apps. Printout from OOo looks fine, the same document printed from e.g. KWord doesn't. Can't some of their ways of "doing it" be transferred so KDE as a whole can profit from it?

Jens


By Jens at Wed, 2006/04/26 - 5:00am

Perhaps this screen shot better illustrates the problem:

http://home.earthlink.net/~tyrerj/kde/Verdana.png

The top is rendered with Type 42 scalable fonts in a PS made by Open Office Writer (OO always embeds the fonts :-(). The bottom is TrueType rendered by GhostScript from a PS made by KWord (fonts were NOT embedded in the PS file). Note that neither of these is really correct but that OO is better.

Notice that the lines in the bottom example are longer. IIUC, the reason for this is that Qt-3 uses hinting for the screen display and then prints the unhinted fonts using the same spacing as the hinted screen display. Why the Trolls ever did this is a mystery. So far, Qt-4 does not offer a _simple_ solution to this problem.


By James Richard Tyrer at Fri, 2006/04/21 - 5:00am

Hello,

I experienced the same horizontal misalignment, but I found an easy way to solve it.

Open the Style Manager, select the Standard style, click on the "Indent & Spacing" and set "Left Indent" to a very small amount, such as 0.01. Click OK.
Now what you type in Standard style should appear correctly.

Don't know why, but it works for me. I am currently using Kword 1.5.2 (KDE 3.5.4) on FreeBSD 6.2.

Bye,
Massimo


By Massimo at Thu, 2007/02/15 - 6:00am

Lexmark could offer GPL drivers for X2250, that would be a good start.

At this time I don't think that Lexmark really wants to support printing on Linux.

Eleknader


By Tapio Kautto at Thu, 2006/04/20 - 5:00am

I remain unconvinced.

> Font problems which are present in PostScript are less frequent with PDF, and
> more easy to solve if they occur.

First the one thing which PDF does not fix is that TrueType fonts can not be directly embedded -- they must be converted to Type 42 fonts. This is a source of some of KDE's problems with printing and PDFs.

I find that for me a solution to this problem, and some others, is to NOT embed the fonts in my PostScript files. I have had considerable problems controlling whether or not fonts are embedded when I convert PS to PDF. Is anything being done to fix this problem?

It would be nice if there was a GUI to control this -- even if it used the Athena Widgets like GV. :-)

IAC, where there is an option to save directly to PDF, I would very much like to have complete control over the embedding of fonts and the resolution of raster images.


By James Richard Tyrer at Fri, 2006/04/21 - 5:00am

TrueType fonts can be embedded directly. In fact it does even work to copy the complete ttf file into the stream of a PDF font object. So this does work.

regards,
Dom


By Dominik Seichter at Fri, 2006/04/21 - 5:00am

I presume that this requires a tool that converts directly since you can't embed TrueType fonts in PostScript.

Can you recommend a free tool that does this?


By James Richard Tyrer at Sun, 2006/04/23 - 5:00am