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

Add Liberation font family to Arcade #2477

Merged
merged 8 commits into from
Jan 14, 2025
Merged

Conversation

pushfoo
Copy link
Member

@pushfoo pushfoo commented Jan 4, 2025

TL;DR: Add Liberation font files per #1011 and #1135 per call with Digi and Eruvanos

Changes

  1. Add the OFL-licensed Liberation font family:
    • It's like a font file limited version of CC: Attribution, Share-Alike for fonts
    • It doesn't spread beyond the font files
  2. Move Kenney fonts into their own folder
  3. Add a loading helper
  4. Fix typos
  5. Add comments

Questions

  1. This doesn't set them as default yet, but should it?
  2. Which ones are we making the "default" Arcade font if any? (Liberation Sans?)

@DigiDuncan
Copy link
Collaborator

I think this PR is fine, but I do like the idea of Liberation Sans being the default font.

@pushfoo
Copy link
Member Author

pushfoo commented Jan 4, 2025

The resources listing is (once again) broken because it assumes a lot about how Arcade is built. I don't have time to fix this tonight and might not in the next few days.

@pushfoo pushfoo force-pushed the add-liberation-font-family branch 2 times, most recently from fe2c7ff to 8a88b65 Compare January 10, 2025 00:44
@pushfoo
Copy link
Member Author

pushfoo commented Jan 10, 2025

I've rebased this and I'm looking at an acceptable short-term fix to get 3.0 moving.

* Add Liberation font TTFs (Generic versions of Arial, Courier, and Times)

* Add OFL license in new folder

* Add load function modeled after load_kenney_fonts
* Add Liberation font loading to text drawing examples

* Add comments explaining usage of fonts

* Fix typo (s/bumbled/bundled/)
* Add initial graphic courtesy of @DigiDuncan

* Add SIL Open Font License to links.rst

* Add basic inset for the Liberation fonts

* Add printing for the Liberation font info + SIL link
@pushfoo pushfoo force-pushed the add-liberation-font-family branch from 8a88b65 to b7e775a Compare January 14, 2025 08:43
@eruvanos
Copy link
Member

I would be fine with merging it, looks good to me and as far as I understood it, we can go with the pre-generated image for the fonts, that is fine for now.

@pushfoo pushfoo changed the title Add liberation font family to Arcade Add Liberation font family to Arcade Jan 14, 2025
@eruvanos eruvanos merged commit 9b3e42f into development Jan 14, 2025
9 checks passed
@eruvanos eruvanos deleted the add-liberation-font-family branch January 14, 2025 22:04
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.

3 participants