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 6, 2026 17:03
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.
Executor has been pinned to a multiversal from before the font-name
change, which is why the previous commit was not needed until now.
With it applied, romlib, the SDL2 front end and the test suite all
build against current multiversal.
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