freetype
[Top][All Lists]
Advanced

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

Re: Initial pen position in freetype?


From: Andrew Tomazos
Subject: Re: Initial pen position in freetype?
Date: Mon, 20 Jul 2020 19:22:01 +1000

On Mon, Jul 20, 2020 at 6:04 PM Lawrence D'Oliveiro <ldo@geek-central.gen.nz>
wrote:

> On Mon, 20 Jul 2020 17:31:25 +1000, Andrew Tomazos wrote:
>
> > But my question is, how do you set the initial pen position of the
> > first character, relative to the upper left bound of the drawing
> > surface?
>
> FreeType has no pen. That is a function of the graphics engine that
> uses FreeType for text rendering.
>

What I mean by "pen" is the FT_Vector translation vector that is passed to
FT_Set_Transform before each call to FT_Load_Glyph as each glyph is
rendered.


reply via email to

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