def make_pixmap (name):
bbox = get_bbox (name + '.eps')
+
+
margin = 0
fo = open (name + '.trans.eps' , 'w')
fo.write ('%d %d translate\n' % (-bbox[0]+margin, -bbox[1]+margin))
x = (2* margin + bbox[2] - bbox[0]) * res / 72.
y = (2* margin + bbox[3] - bbox[1]) * res / 72.
+ if x == 0:
+ x = 1
+ if y == 0:
+ y = 1
cmd = r'''gs -g%dx%d -sDEVICE=pnggray -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -q -sOutputFile=%s -r%d -dNOPAUSE %s %s -c quit '''
arg = arg + o[0]
return ' ' + sh + sep + long + arg
-
def options_help_str (opts):
"Convert a list of options into a neatly formatted string"
w = 0
Warning: All output is written in the CURRENT directory.
-
Report bugs to bug-lilypond@gnu.org.
Written by Tom Cato Amundsen <tca@gnu.org> and