From 6a727b94fc33db14959230661a2c1d33c4eca12f 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 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"); -- 2.39.5