From: Werner Lemberg Date: Sun, 27 May 2007 10:41:59 +0000 (+0200) Subject: Make pfx2ttf.fontforge work with FontForge 2007-May-01 or newer. X-Git-Tag: release/2.11.26-1~21^2^2~4^2~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6a727b94fc33db14959230661a2c1d33c4eca12f;p=lilypond.git Make pfx2ttf.fontforge work with FontForge 2007-May-01 or newer. --- diff --git a/buildscripts/pfx2ttf.fontforge b/buildscripts/pfx2ttf.fontforge index 53b9de980e..6428c7cf86 100644 --- a/buildscripts/pfx2ttf.fontforge +++ b/buildscripts/pfx2ttf.fontforge @@ -20,7 +20,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");