SDL_ttf icon indicating copy to clipboard operation
SDL_ttf copied to clipboard

Emoji rendering size issue

Open Cheaterman opened this issue 2 months ago • 0 comments

Rebuilding SDL_ttf with FT_DISABLE_PNG=off does somewhat work to render emojis from bitmap fonts (eg NotoColorEmoji), we're getting color emoji support (see here), the problem is that said emoji can't be scaled (in NotoColorEmoji for example, we're stuck to size 109, see this for more info) and so users get strange font size mismatches (see here).

I have no idea how to make this work properly (I assume we need to call relevant Freetype APIs, AIUI they got solid support since 2.5, possibly using these functions), but I'm putting this issue here so that we keep it in mind.

Cheaterman avatar Jun 20 '24 12:06 Cheaterman