From 4befdb79c16be84967397a7e05fe45d76249ab6f Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sun, 27 May 2007 12:41:59 +0200 Subject: [PATCH] Make pfx2ttf.fontforge work with FontForge 2007-May-01 or newer. --- buildscripts/pfx2ttf.fontforge | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"); -- 2.39.5