git.shiar.nl
/
unifont.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unifont-7.0.01.tar.gz
[unifont.git]
/
src
/
unipng2hex
diff --git
a/src/unipng2hex
b/src/unipng2hex
index e69481266909de535c1bea5c4a2de1e6f19d4bfe..3da8f6083a4067d28314c3318ffd0a189ae44fe5 100755
(executable)
--- 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)) {
$charheight = 16;
$charmaxwidth = 3;
} elsif ($im->rgb ($pixel) == ($white_red, $white_green, $white_blue)) {
- $charyoffset =
4
;
- $charheight =
24
;
+ $charyoffset =
7
;
+ $charheight =
16
;
$charmaxwidth = 3;
$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")
}
} else {
die ("Cannot determine font height\n")
}