- KryonMemReport/KryonMemDebugEnabled (KRYON_MEM_DEBUG) print RSS and the
glibc arena breakdown; UIFontMemoryReport prints per-font raster stats.
- Source fonts rasterize once at the DPI-scaled base size plus one lazily
built large tier, replacing the 8-slot per-size cache. New codepoints
batch into at most one rebuild per frame per font, and atlas build churn
is returned via malloc_trim on glibc.
- KRYON_TRAY_GTK_DL: GTK_STATUS_ICON tray resolves GTK via dlopen (gtk_dl
shim) so tray-less processes never map the GTK chain.
RegisterUIFontSource baked a static, immutable glyph atlas
(dynamic_codepoints hardcoded 0) even though it retains the raw font
bytes, so any codepoint not in the initial set fell through
font_for_codepoint() to a different registered font -- the visible
'different broken font' for characters like ae oe ue ss when the active
locale's pre-baked set omitted them.
Source fonts now always set dynamic_codepoints=1: any glyph the file
contains renders in the font's own typeface, and the cross-font fallback
fires only for scripts genuinely absent from the active file. When no
codepoint set is passed, seed ui_font_codepoints() (ASCII + Latin +
Latin Extended + punctuation + currency + Greek + Cyrillic) so common
scripts render with no first-frame atlas rebuild.
Also fix a latent masquerade: raylib LoadFontFromMemory returns
GetFontDefault() on failure (.ttc, corrupt), which font_valid()
accepted, so failed sources polluted the fallback chain as the raylib
ASCII bitmap. A result sharing the default font's texture id is now
treated as failure, and a failed registration clears its slot.
RegisterUIFontFileSource's dynamic_codepoints parameter is now
redundant (source fonts are always dynamic) and is dropped; callers
migrated separately. RegisterUIFont (pre-baked Font handle, no source
bytes) stays static by necessity.