On 1/31/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
I've got two versions of the font installed on my computer, but none of them seems to contain afii61352. I added the following patch (also attached) as a temporary fix and now everything seems fine.
--- buildscripts/pfx2ttf.fontforge 2006-01-30 10:51:44.000000000 +0100
+++ buildscripts/pfx2ttf.fontforge 2006-02-01 01:42:18.000000000 +0100
@@ -1,10 +1,16 @@
[EMAIL PROTECTED]@
Open($1);
-MergeKern($2)
+MergeKern($2);
# Remove the No. glyph - for want of better FF fix.
-Select("afii61352")
-Cut();
+err = SelectIf("afii61352");
+if ( err > 0 )
+ Cut();
+elseif ( err == 0 )
+ Print("Could not find \"numero\" glyph");
+elseif ( err < 0 )
+ Print("An error occurred while searching for the \"numero\" glyph");
+endif
Generate($3 + $fontname + ".ttf");
Apparently, there are multiple versions of c0590xxx floating around. We
should probably check whether afii61352 exists. Patch, anyone?
I've got two versions of the font installed on my computer, but none of them seems to contain afii61352. I added the following patch (also attached) as a temporary fix and now everything seems fine.
--- buildscripts/pfx2ttf.fontforge 2006-01-30 10:51:44.000000000 +0100
+++ buildscripts/pfx2ttf.fontforge 2006-02-01 01:42:18.000000000 +0100
@@ -1,10 +1,16 @@
[EMAIL PROTECTED]@
Open($1);
-MergeKern($2)
+MergeKern($2);
# Remove the No. glyph - for want of better FF fix.
-Select("afii61352")
-Cut();
+err = SelectIf("afii61352");
+if ( err > 0 )
+ Cut();
+elseif ( err == 0 )
+ Print("Could not find \"numero\" glyph");
+elseif ( err < 0 )
+ Print("An error occurred while searching for the \"numero\" glyph");
+endif
Generate($3 + $fontname + ".ttf");
fontforge.patch
Description: Binary data
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel