X-Git-Url: http://git.shiar.net/unifont.git/blobdiff_plain/97511ef2ebd8e36eb5765eaa6f2f19ea97f88161..8e42f3d15c39e5c98149c9647c0cc1a318e9321a:/src/hex2bdf diff --git a/src/hex2bdf b/src/hex2bdf index 18d1d16..768d782 100755 --- a/src/hex2bdf +++ b/src/hex2bdf @@ -79,7 +79,7 @@ FONT_ASCENT 14 FONT_DESCENT 2 DEFAULT_CHAR 65533 ENDPROPERTIES -CHARS $nchars\n"; +CHARS $nchars\n" or die ("Cannot print to stdout.\n"); # TODO: $swidth needs to be modified to accomodate different widths better # for glyphs with height different than 16 pixels. @@ -101,7 +101,7 @@ SWIDTH $swidth 0 DWIDTH $dwidth 0 BBX $dwidth $vpixels 0 -2 BITMAP $glyph -ENDCHAR\n"; +ENDCHAR\n" or die ("Cannot print to stdout.\n"); } -print "ENDFONT\n"; +print "ENDFONT\n" or die ("Cannot print to stdout.\n");