freetype
[Top][All Lists]
Advanced

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

Re: [ft] Rendering Arabic


From: Derek B. Noonburg
Subject: Re: [ft] Rendering Arabic
Date: Mon, 4 Nov 2019 14:58:11 -0800

On Mon, 4 Nov 2019 10:30:19 +0000
Simon Cozens <address@hidden> wrote:
>       So, you've already got the glyph selection and positioning
> information from libraqm. That's step one. Step two depends on a bit
> on what kind of canvas you're rendering onto, but the basic idea is
> that you can now (using freetype) select the glyph from the font by
> ID:
> 
>       FT_Load_Char( face, glyph_index, FT_LOAD_DEFAULT );

Does libraqm return character codes or glyph IDs?  If it's glyph IDs,
shouldn't that be:

        FT_Load_Glyph( face, glyph_index, FT_LOAD_DEFAULT );

Or am I misunderstanding something?

- Derek



reply via email to

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