freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Head table upem value from FT_Face for (color) bitmap fon


From: Khaled Hosny
Subject: Re: [ft-devel] Head table upem value from FT_Face for (color) bitmap fonts?
Date: Fri, 16 Feb 2018 16:45:51 +0200
User-agent: Mutt/1.9.3 (2018-01-21)

On Fri, Feb 16, 2018 at 03:23:57PM +0200, Dominik Röttsches wrote:
> Can we potentially change the behaviour so that FreeType still exposes this
> value for bitmap fonts, even though it's not useful in all cases? Or is
> this a non use-case for FreeType and clients should parse the head table on
> their own for such a situation?

As a workaround, instead of parsing the “head” table yourself, you can
use FT_Get_Sfnt_Table(face, FT_SFNT_HEAD) which returns TT_Header
struct.

Regards,
Khaled



reply via email to

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