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.10.29-1~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4befdb79c16be84967397a7e05fe45d76249ab6f;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 501d31db52..76b362e538 100644 --- a/buildscripts/pfx2ttf.fontforge +++ b/buildscripts/pfx2ttf.fontforge @@ -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");