summaryrefslogtreecommitdiff
path: root/scm/lily.scm
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>2005-06-19 14:52:33 +0000
committerHan-Wen Nienhuys <hanwen@xs4all.nl>2005-06-19 14:52:33 +0000
commit2c12af09be46d47b03987d2296f76eb173ebc009 (patch)
tree4d5431824c63ea31b772ae67b8d8bc9f6776698f /scm/lily.scm
parent6cc1535539a6cc5b637173a0581ddff3c09de0bc (diff)
* scm/ps-to-png.scm (make-ps-images): cleanup multipage vs. single
page switch. * make/lilypond-vars.make (LILYPOND_BOOK_FLAGS): set anti-alias-factor for lilypond-book runs. * scm/ps-to-png.scm (scale-down-image): new function. (my-system): new function. (make-ps-images): blow up GS resolution by anti-alias-factor, scale down image by anti-alias-factor. This improves appearance of (make-ps-images): remove showpage. Fixes spurious empty png at end. * scm/lily.scm (lambda): default resolution 116 (8 pixels per space).
Diffstat (limited to 'scm/lily.scm')
-rw-r--r--scm/lily.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/scm/lily.scm b/scm/lily.scm
index f59bc6a61e..06e41889fc 100644
--- a/scm/lily.scm
+++ b/scm/lily.scm
@@ -22,7 +22,8 @@ similar to chord syntax")
;; at 101.178, a staff space is exactly 7 pixels.
;; 115.63 = 8 pixels
;; 86 = 6 pixels
- (resolution 116 "resolution for generating bitmaps")
+ (resolution 90 "resolution for generating bitmaps")
+ (anti-alias-factor 1 "blow up resolution and scale to prevent jaggies in PNG")
(preview-include-book-title #t "include book-titles in preview images.")
(gs-font-load #f
"load fonts via Ghostscript.")