[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: Kerning
by christoph on Thursday 30/Aug/2007, @10:50
You are right about the API and internal calculations using qreals, but the actual rendering is not done in sub-pixel positioned precision.

Try rendering a couple of letters each moved by a fractional pixel coordinate, and you will see that they all end up looking the same.

Compare that to KPDF's rendering (3.5.7, didn't try 3.91 yet), where the bitmap of a letter is different depending on (sub-pixel) position.

Of course it also has to do with Qt (or FreeType?) trying very hard to cache the bitmaps. In earlier versions of Qt/FreeType, you could bypass caching by scaling with, say, a factor of 1.00001, and get very good results. But in recent versions, the cache is used even for rotated fonts, making the result look really funny.

And seeing the good quality of KPDF and its good speed, I doubt that a Word Processor couldn't get nearly the same results.
  Related Links
 ·   Articles on KDE Office Suite
 ·   Also by christoph
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

  "Njaard was simply NOT designed for Europe." -- Nikolas Zimmermann
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]