Skip to content

custom labels keep font on language change #29

@bnfour

Description

@bnfour

This issue will make sense when #28 is merged.



The game apparently uses different UI fonts for different languages. Currently, none of the labels Song info introduces are aware of that; in fact, the Localization components are explicitly removed from the clones.

So the texts look off after a language change (indev version with localized labels):

Image Image

game was started in English, so the labels keep using Teko instead of switching to Source Sans, note the different stroke widths


Image Image

one of more visible features of Teko is square colons


Seems like the Localization component handles the font change as well, so the best way to fix that is to figure out how it works and re-plug the custom labels into it.

The current workaround is to restart the game after a language switch — this will ensure that the cloned labels use the correct font for the language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsong infoRelated to Song info mod

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions