1 Feb 2006 03:16
Re: Build fails because of No. hack
Erlend Aasland <erlenda <at> gmail.com>
2006-02-01 02:16:54 GMT
2006-02-01 02:16:54 GMT
Hi
On 1/31/06, Han-Wen Nienhuys <hanwen <at> xs4all.nl> 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
<at> <at> -1,10 +1,16 <at> <at>
#! <at> FONTFORGE <at>
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
<at> <at> -1,10 +1,16 <at> <at>
#! <at> FONTFORGE <at>
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");
_______________________________________________ lilypond-devel mailing list lilypond-devel <at> gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
RSS Feed