]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/fontextract.py
* stepmake/aclocal.m4 (STEPMAKE_PANGO_FT2): Define HAVE_PANGO16 too.
[lilypond.git] / python / fontextract.py
index 60d61c083dbd952f7006478e28368a9f9e79f31b..fc4022e32f2d2f7b19fd01e763566fb9ebdfbdc9 100644 (file)
@@ -70,7 +70,7 @@ def extract_fonts_from_file (extract_from_this, font_dict, filename):
                                                sys.stderr.write (_('Extracted %s')
                                                                  % curr_font_name + '\n')
 
-                               extract_from_this.remove (curr_font_name)
+                                       extract_from_this.remove (curr_font_name)
                        elif in_font:
                                curr_font.append (l)
                        if not extract_from_this:
@@ -81,8 +81,12 @@ def extract_fonts_from_file (extract_from_this, font_dict, filename):
                                          % (string.join (extract_from_this, ', '), filename))
 
 def write_extracted_fonts (output_file_name, font_dict):
+
+       if verbose:
+               sys.stderr.write( _('Writing fonts to %s') % output_file_name + '\n')
        output = open (output_file_name, 'w')
        output.write ('''%!PS-Adobe-3.0
+%%VMusage: 0 0 
 %%Creator: lilypond-extract-fonts
 ''')