System/Utilities/TrueType: Add @stbtt_GetTextWidth()

This commit is contained in:
Alec Murphy 2025-04-19 14:17:46 -04:00
parent 546fd54a62
commit 80f691385a
3 changed files with 62 additions and 0 deletions

View file

@ -209,6 +209,7 @@ def generate_iso_c_file():
truetype_hc_fixup('STBTT_INITFONT', 'stbtt_InitFont', truetype_bin_path, truetype_hc_path)
truetype_hc_fixup('STBTT_RENDERTEXT', 'stbtt_RenderText', truetype_bin_path, truetype_hc_path)
truetype_hc_fixup('STBTT_GETTEXTWIDTH', 'stbtt_GetTextWidth', truetype_bin_path, truetype_hc_path)
truetype_hc_fixup('STBTT_GETFONTNAMEDEFAULT', 'stbtt_GetFontNameDefault', truetype_bin_path, truetype_hc_path)
# Fixup addresses for Tlse.HC