]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/convert-ly.py
* mf/parmesan-clefs.mf: use # quantities for char_box
[lilypond.git] / scripts / convert-ly.py
index 3b074dd7b2021249834608f3e685d84ebb8c8f8d..db608b90f4825efc992e8b5b01dbdc0ce36bb77a 100644 (file)
@@ -1510,6 +1510,18 @@ def conv (str):
 
 conversions.append (((1,9,5), conv, 'HaraKiriVerticalGroup -> RemoveEmptyVerticalGroup'))
 
+def conv (str):
+       if re.search ("ly:get-font", str):
+               sys.stderr.write (r"(ly:get-font foo ..)  has been replaced by" + \
+                                 " (ly:paper-get-font (ly:grob-get-paper foo) .. ).\n" +\
+                                 "please update manually.")
+               
+               raise FatalConversionError()
+       return str
+               
+
+conversions.append (((1,9,6), conv, 'ly:get-font deprecated.'))
+
 ################################
 #      END OF CONVERSIONS      
 ################################