freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Help


From: Werner LEMBERG
Subject: Re: [ft] Help
Date: Thu, 26 Jul 2007 23:47:11 +0200 (CEST)

> Can anybody help me in centering the text rendered. I was not able
> to follow the tutorials completely as I'm pretty weak in English.

Get the bounding box of each glyph.  Apply kerning.  Compute the
bounding box of the final text string.  Then center this box.


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]