Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System font fallback #560

Merged
merged 4 commits into from
Apr 6, 2024
Merged

System font fallback #560

merged 4 commits into from
Apr 6, 2024

Conversation

MyreMylar
Copy link
Owner

@MyreMylar MyreMylar commented Apr 6, 2024

When asking for a font that can't be found in pygame gui's preloaded fonts, the font dictionary will now fallback to using pygame's system font search to find a font on the user's system.

fixes #468

Copy link

codecov bot commented Apr 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.17%. Comparing base (8d48670) to head (fc29575).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #560   +/-   ##
=======================================
  Coverage   96.16%   96.17%           
=======================================
  Files          88       88           
  Lines       12834    12854   +20     
=======================================
+ Hits        12342    12362   +20     
  Misses        492      492           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MyreMylar MyreMylar merged commit ffd548d into main Apr 6, 2024
22 checks passed
@MyreMylar MyreMylar deleted the system-font-fallback branch April 12, 2024 08:15
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.

Can't change text size in UITextBox
1 participant