freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Baseline positioning


From: Werner LEMBERG
Subject: Re: [ft-devel] Baseline positioning
Date: Tue, 24 Jul 2007 10:16:40 +0200 (CEST)

> Can any body give me a snippet od code that can help me in
> determining baseline

I think you have the wrong concept.  Normally, you *define* the
baseline and put characters on it.

> I have studied samples like ftstring...  can't get it yet

You put glyph after glyph onto a common baseline.  This is, you draw a
glyph, then moving the cursor to the right by the glyph's advance
width, drawing the next glyph, and so on.

There is plenty of documentation around in the net which explains this
further in case the FreeType tutorial doesn't suffice.


    Werner




reply via email to

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