]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/lilylib.py
* scripts/lilypond-book.py (is_derived_class): use numbers
[lilypond.git] / python / lilylib.py
index ba339854bccbdd17244d1a22bc91a7bda353db77..7bac5a445f256ee8e3746aa68b542ff3abd00e93 100644 (file)
@@ -462,7 +462,11 @@ def make_ps_images (ps_name, resolution = 90):
                output_file = re.sub (r'\.e?ps', '.png', ps_name)
        
 
-               margin = 0
+
+               # need to have margin, otherwise edges of letters will
+               # be cropped off.
+
+               margin = 3 
                fo = open (trans_ps, 'w')
                fo.write ('%d %d translate\n' % (-bbox[0] + margin,
                                                 -bbox[1] + margin))