|
From: | Jérémy Masclaux |
Subject: | [ft] Vertical Offset ( alignement) Texture atlas |
Date: | Sat, 8 Sep 2012 12:53:34 +0200 |
Hi
everyone.
At the moment, I work on personnal fontbaker like http://www.lmnopc.com/bitmapfontbuilder/
for my personnal culture.
So my mean is to have the same result as this :
I wrote a super crappy code and i have this result :
You can see i have no vertical alignement. So i try to use different Glyph
metric values like startY = (line+size-top); and I have this result
:
My caracteres are aligned but too low.
I try another values like startY = (line+size-top)+descent;
:
Better but not good. I’m sure I miss a big fact about positioning.
In attachement my font baker source code.
Can you help me ?
![]() Thanks and sorry for my poor english.
Ludovic. |
[Prev in Thread] | Current Thread | [Next in Thread] |