[Okular-devel] [PATCH] Fix rendering of DVI documents

Pino Toscano pino at kde.org
Tue Oct 6 16:52:13 CEST 2009


Hi,

> I noticed that the rendering of DVI documents was broken exactly in
> the same way as what I observed with PDF documents, namely, it used
> auto-hinting which looks especially bad with TeX fonts.

(Arguable.)

> Attached is a 1-line patch that changes it. I need your permission to
>  commit.

I'd object, see below.

> Third, the old KDVI used to not do any hinting, I'm completely sure of
> that because I've spent hundreds of hours looking at documents in it.
> I remember distinctly the (imho beautiful) slightly fuzzy look of the
> TeX fonts in it, that is characteristic of non-hinted text, although
> at that time I didn't know about hinting. That said, I used "svn
> annotate" to see who enabled hinting in the C++ code, and it turns out
> to be Stefan Kebekus himself in an old revision (240000-something). I
> am puzzled about that, but I still maintain that KDVI didn't use
> hinting on all the Linux systems that I tried. My best guess is that
> Stefan Kebekus _thought_ that he had enabled hinting but for some
> reason it wasn't used. I haven't investigated further as this is quite
> intricate, and of course I only have Okular's code at hand, I haven't
> looked at the actual KDVI code.

Given the code used by Okular to render DVI documents is taken from KDVI, and 
(you say) that they render differently, then what I would prefer is to find 
out what are the real changes in that regard, as opposed to change values on 
personal liking.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/okular-devel/attachments/20091006/6803e438/attachment-0001.sig 


More information about the Okular-devel mailing list