commit 1dd7f2fe7e3f1ee61758b5e2ab31b47c32f236e6
parent f13c2e298a2905837b4ced9307e80b7be7d738f2
Author: Brian Swetland <swetland@frotz.net>
Date: Sat, 22 Jun 2013 06:49:26 -0700
mkfont: use top-left texture coordinates, but use baseline for positioning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/mkfont.cc b/tools/mkfont.cc
@@ -114,7 +114,7 @@ retry:
goto retry;
}
info[n].x = nx;
- info[n].y = max - ny - h;
+ info[n].y = max - ny - 1;
info[n].w = w - 1;
info[n].h = h - 1;
info[n].dx = bb.xMin;