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

After latest text refactor it is no longer possible to load an italic font #2040

Closed
2 tasks done
lufte opened this issue Aug 18, 2023 · 0 comments · Fixed by #2041
Closed
2 tasks done

After latest text refactor it is no longer possible to load an italic font #2040

lufte opened this issue Aug 18, 2023 · 0 comments · Fixed by #2041
Labels
bug Something isn't working

Comments

@lufte
Copy link
Contributor

lufte commented Aug 18, 2023

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

Back when Font::External was used to load fonts it was possible to load italic fonts, but now with the plain Font struct there is now way to specify the style of the font.

What is the expected behavior?

It should be possible to load fonts with Italic and Oblique styles

Version

crates.io release

Operating System

Linux

Do you have any log output?

No response

@lufte lufte added the bug Something isn't working label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant