lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDF Problem


From: Han-Wen Nienhuys
Subject: Re: PDF Problem
Date: Thu, 19 Jul 2007 23:14:41 -0700

2007/7/19, Rune Zedeler <address@hidden>:
I understand why the viewers have problems with lilypond's pdfs: For
some reason lilypond does loads of conversions to and from millimeters.
I think it has something to do with lily defining one point to be
1/72.27 inch, whereas a postscript (and pdf) point is 1/72 inch.
The reason for this is probably that lily used to use TeX as a backend,
and TeX defines a point to be 1/72.27 inch.

IMO we should take the consequence of abandoning TeX, and start to use
ps-points as the main-reference, a 20pt staff having a line distance of
5 pps (5/72 inch).

Any comments?

Sounds like bullock's manure to me. I think PS uses either 32 or 64
bit floats internally, which is plenty enough resolution to deal with
72.27 vs. 72.  What I could imagine that happens is that acroread
expands lines that are thinner than a pixel with thicker lines, which
could explain the screenshot you took.

I'm not very enthusiastic about a "optimize for screen" option.  I
think that the sample image you posted looks horrid. If you want to
have certainty that images look like you want them to, you have to
take control of the rendering process. That means that you should
generate large (high DPI) PNG images and scale them down.



--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]