]> git.donarmstrong.com Git - lilypond.git/commitdiff
Make pfx2ttf.fontforge work with FontForge 2007-May-01 or newer.
authorWerner Lemberg <wl@gnu.org>
Sun, 27 May 2007 10:41:59 +0000 (12:41 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Sun, 29 Jul 2007 21:27:46 +0000 (23:27 +0200)
buildscripts/pfx2ttf.fontforge

index 501d31db5278554733153ab5ef8bd93ae01bf3e2..76b362e53844b556add6edb37fe9e2e71ad470e4 100644 (file)
@@ -21,7 +21,11 @@ SelectIf("trademark", "trademark", \
          "afii61352", "afii61352", \
          "ij", "ij", \
          "IJ", "IJ");
-RemoveATT("Ligature", "*", "*");
+if (Strtol($version) < 20070501)
+  RemoveATT("Ligature", "*", "*");
+else
+  RemovePosSub("*");
+endif
 
 Generate($3 + $fontname + ".otf");