freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Having trouble rendering emojis with FreeType


From: Werner LEMBERG
Subject: Re: [ft-devel] Having trouble rendering emojis with FreeType
Date: Wed, 15 May 2019 19:47:51 +0200 (CEST)

Moazin,


the `ftview' demo program displays the font in question just fine, so
maybe it makes sense to check this program how it works.  Probably
tomorrow I will check your code – but maybe you are faster than me in
identifying the error :-)

> *What's the problem?*
>
> If I call `FT_Set_Char_Size' in the program, it returns error code
> 0x17 which is `Invalid Pixel Size'.

The ppem value is 109.

> Secondly, `FT_Load_Glyph' returns error code 0x24 which is `Invalid
> Size Handle'. `FT_Load_Glyph' returns the same even if I don't call
> `FT_Set_Char_Size' at all.

This is a consequence of not selecting the right ppem value, I guess.


    Werner

reply via email to

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