Turtle Dove 45ab425985 FreeType: Fix CBDT/COLR bitmap color emoji font loading (#6302)
CBDT fonts (NotoColorEmoji, Twemoji COLR) are not scalable — FT_Request_Size()
returns 0x0 glyphs because the font has no scalable outline.

Fix: Detect CBDT table via FT_Load_Sfnt_Table(). When present:
- Use FT_Select_Size() to pick the closest bitmap strike size
- Set FT_LOAD_COLOR flag for color glyph rendering

Based on solution by @sakiodre in issue #6302.
Tested with NotoColorEmoji_WindowsCompatible.ttf and Twemoji COLR v0.7.0.
2026-07-19 22:06:52 -05:00
..
2026-02-12 20:06:33 +01:00

misc/cpp/
  InputText() wrappers for C++ standard library (STL) type: std::string.
  This is also an example of how you may wrap your own similar types.

misc/debuggers/
  Helper files for popular debuggers (Visual Studio, GDB, LLDB).
  e.g. With the .natvis file, types like ImVector<> will be displayed nicely in Visual Studio debugger.

misc/fonts/
  Fonts loading/merging instructions (e.g. How to handle glyph ranges, how to merge icons fonts).
  Command line tool "binary_to_compressed_c" to create compressed arrays to embed data in source code.
  Suggested fonts and links.

misc/freetype/
  Font atlas builder/rasterizer using FreeType instead of stb_truetype.
  Benefit from better FreeType rasterization, in particular for small fonts.

misc/single_file/
  Single-file header stub.
  We use this to validate compiling all *.cpp files in a same compilation unit.
  Users of that technique (also called "Unity builds") can generally provide this themselves,
  so we don't really recommend you use this in your projects.