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 :

http://uppix.net/5/c/6/3f2437d78c4492e66fcacf8c2fdbc.bmp

I wrote a super crappy code and i have this result :

http://uppix.net/0/e/b/ea39dd385d434379da51679001578.png

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 :

http://uppix.net/f/e/2/67bc9a93807a1016ea2d215dde8c6.png 

My caracteres are aligned but too low.

I try another values like startY  = (line+size-top)+descent;  :

http://uppix.net/a/6/4/7e96c203860c0ce045cd84df47f50.png

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.

<<wlEmoticon-smile[1].png>>

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to