Skip to content

Font selection per language#19

Merged
programnoir merged 23 commits into
mainfrom
font-implementation
Jul 28, 2023
Merged

Font selection per language#19
programnoir merged 23 commits into
mainfrom
font-implementation

Conversation

@programnoir

@programnoir programnoir commented Jul 25, 2023

Copy link
Copy Markdown
Owner

Adds font selection that is grouped according to language. Uses a small, expandable handful of available fonts per language.

  • Fixes ButtonTab bug where the tabs were not clipped, resulting in horizontal stretching during font selections.
  • Moves theme adjustments to a global autoload reference. Font sizing will go here, too.

@programnoir programnoir added game ui/ux Related to any ui that is shown in-game. user accessibility/languages Language or ease-of-use related discussions labels Jul 25, 2023
@programnoir programnoir self-assigned this Jul 25, 2023
@programnoir

Copy link
Copy Markdown
Owner Author

Still lacking font sizing options. Currently debating how to implement this.

@programnoir programnoir linked an issue Jul 25, 2023 that may be closed by this pull request
Trying to improve performance but still getting lag. Asking community.
Improves runtime performance
Adds asynchronous timer calls
Asynchronous calls only need one thread.
Unifies and caps font sizes, fixes container issues revealed by new font resizing features, automatically caps font sizing according to game scale
Replaces button based increment changes with a spinbox that can be revealed with a button. Likely needs debugging before using a code style guidelines pass.
Proper value set but not reflected in the text of the lineedit in the spinbox.
@programnoir

Copy link
Copy Markdown
Owner Author

Everything looks good. The .gitignore wasn't configured to filter out the .import files in the font assets folder. I plan on asking if this is necessary later.

@programnoir programnoir merged commit db503ea into main Jul 28, 2023
@programnoir programnoir deleted the font-implementation branch July 28, 2023 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

game ui/ux Related to any ui that is shown in-game. user accessibility/languages Language or ease-of-use related discussions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add font family and font size options.

1 participant