Skip to content

Fix legacy font names - #67

Open
mishan wants to merge 2 commits into
autc04:masterfrom
mishan:fix-legacy-font-names
Open

Fix legacy font names#67
mishan wants to merge 2 commits into
autc04:masterfrom
mishan:fix-legacy-font-names

Conversation

@mishan

@mishan mishan commented Aug 7, 2026

Copy link
Copy Markdown

multiversal moved the legacy font-name aliases (geneva, symbol,
helvetica and friends) behind #if OLDROUTINENAMES in March 2024.
Executor never defines that macro, so as soon as the submodule is
advanced past that commit the aliases vanish from the generated
FontMgr.h and four files stop compiling.

Switch the nine call sites to the kFontID* enumerators

This also advances multiversal to the latest commit, though the submodule
update could be dropped if preferred.

mishan added 2 commits August 21, 2026 12:13
multiversal moved the legacy font-name aliases (geneva, symbol,
helvetica and friends) behind #if OLDROUTINENAMES in March 2024.
Executor never defines that macro, so as soon as the submodule is
advanced past that commit the aliases vanish from the generated
FontMgr.h and four files stop compiling.

Switch the nine call sites to the kFontID* enumerators the aliases
expand to.  These are the same values, so there is no behaviour
change, and the sources no longer depend on a compatibility shim that
is off by default in both generators -- CIncludes defines
OLDROUTINENAMES to 0 unless asked otherwise.

Comments that mention the fonts by their familiar names are left as
they are; they read better that way.
@mishan
mishan force-pushed the fix-legacy-font-names branch from 7b0d725 to a19c63e Compare August 21, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant