X-Git-Url: http://git.shiar.net/unifont.git/blobdiff_plain/527ee724d6dd13bf80699e653962a3d082631377..95e8d0be857e4bf0387fc5174276c1e4ab75ce5b:/src/unipng2hex diff --git a/src/unipng2hex b/src/unipng2hex index e694812..3da8f60 100755 --- a/src/unipng2hex +++ b/src/unipng2hex @@ -107,9 +107,15 @@ if ($boxsize == 32) { $charheight = 16; $charmaxwidth = 3; } elsif ($im->rgb ($pixel) == ($white_red, $white_green, $white_blue)) { - $charyoffset = 4; - $charheight = 24; + $charyoffset = 7; + $charheight = 16; $charmaxwidth = 3; +# +# Use the settings below for a height of 24 pixels in the future; +# for now, hard code glyph height to 16 pixels. +# $charyoffset = 4; +# $charheight = 24; +# $charmaxwidth = 3; } else { die ("Cannot determine font height\n") }