mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-03 00:40:33 -06:00
A name record can hold 64K characters, and every face copies its family into each localized name and every variable-font named instance (with their localized names again), so a small font could claim hundreds of megabytes of name strings before any later check. name() now keeps at most MAX_NAME_CHARS characters, the limit localized names already used, so every copy stays small.