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 - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

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



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to