lilypond-user
[Top][All Lists]
Advanced

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

Re: PDF Quality (was RE: barline problem)


From: Han-Wen Nienhuys
Subject: Re: PDF Quality (was RE: barline problem)
Date: Sun, 18 Jun 2006 02:40:28 +0200
User-agent: Thunderbird 1.5.0.4 (X11/20060614)

Kress, Stephen schreef:
Edit your PDF file and search for the string "/Type/ExtGState".  It
should be preceeded by a double angle bracket, << (probably on the same line). It probably has a single line like, "/OPM 1" followed by a closing double angle bracket, >> and the word "endobj". (The double angle brackets mark the boundaries of a PDF dictionary object.) After the "/OPM 1" but befor the angle brackets, add the text, "/SA true". So the line should end up looking like, "/OPM 1/SA true>>endobj" (or something like that).

Be sure to follow the above for every instance of "/Type/ExtGState" in your file (though I believe you'll only find one).

The ExtGState dictionary type is used by a PDF document as a properties dictionary for setting graphic state properties for a page. The "/SA" property (essentially) turns on antialiasing (i.e., "best rendering") for line art in the PDF document (which is *not* on by default).


Thanks for the hint. The GS PDF doesn't set /SA (as can be inspected by anyone by running with -dCompressPages=false) by default, but turns out to do it if you call setstrokeadjust in the PS file, which I did for CVS.

GS claims to have strokeadjust on by default when running GS from the command line; I (mistakenly) thought that GS' PDFs would have it switched on as well.

--

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

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

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