1
0
mirror of https://github.com/freetype/freetype.git synced 2026-10-23 11:08:54 +03:00
Files
freetype/include
Behdad Esfahbod (بهداد اسفهبد) 3b8912bc0f [sfnt] Support the 'MAXP' table.
Prefer 'MAXP' over 'maxp' and read its 24-bit glyph count.  Keep the wide
count internally while saturating the legacy public `TT_MaxProfile` field.

Assisted-by: OpenAI Codex <noreply@openai.com>

* include/freetype/internal/tttypes.h (TT_Face): New field
  `maxp_num_glyphs`.
* include/freetype/tttags.h (TTAG_MAXP): New macro.

* src/sfnt/sfobjs.c (sfnt_load_face): Updated.
* src/sfnt/ttcmap.c (tt_face_build_cmaps): Updated.
* src/sfnt/ttload.c (tt_face_load_maxp): Handle 'MAXP' table.
* src/sfnt/ttpost.c (load_post_names, tt_face_get_ps_name): Updated.
2026-10-02 10:36:34 +02:00
..
2026-10-02 10:36:34 +02:00
2026-03-11 17:27:07 +01:00