selfImFontAtlas handle on which this method operates.
font_dataAddress of TTF/OTF bytes. By default the atlas takes ownership and frees them; set FontDataOwnedByAtlas=false to retain ownership and keep the memory alive.
font_data_sizeByte length of the supplied font data.
size_pixelsRequested font height in pixels.
font_cfgFont-loading configuration; optional variants accept null for defaults. Ownership and merge settings affect how font data is retained.
glyph_rangesUint16Array of inclusive [first, last] pairs followed
by 0.
getGlyphRanges* helpers omit that terminator: append it explicitly with
new Uint16Array([...getGlyphRangesDefault(atlas), 0]).
Keep this input alive until atlas build; null selects default ranges.
Atlas-owned font handle (the destination font in merge mode). Glyphs become available after atlas building; invalid input may trigger native assertions.
Add a font from uncompressed TrueType data in memory.