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

Support for Custom Fonts in the App #26

Closed
casperstorm opened this issue Jun 13, 2023 · 1 comment · Fixed by #58
Closed

Support for Custom Fonts in the App #26

casperstorm opened this issue Jun 13, 2023 · 1 comment · Fixed by #58

Comments

@casperstorm
Copy link
Member

casperstorm commented Jun 13, 2023

As a user, I want the ability to use custom fonts in the app. I should be able to place font files in the config directory and specify them in the config file. The application should automatically detect new font files and utilize them instead of the default fonts.

Acceptance Criteria:

  1. Have a designated font directory where font files can be placed.
  2. The config file should have an option to specify the custom font files to be used.
  3. Upon launching the app, it should detect and load the custom font files specified in the config file.
  4. The app should handle any errors or missing font files gracefully, falling back to the default fonts if necessary.
@casperstorm casperstorm changed the title Ability to use custom fonts Support for Custom Fonts in the App Jun 22, 2023
@tarkah
Copy link
Member

tarkah commented Jun 26, 2023

Cosmic-text supports using system fonts without needing to do anything in iced (no font::load needed). All we need from the user is font definitions where they specify the font family name.

I'll hit this next, it should be very easy to extend into our config

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 a pull request may close this issue.

2 participants