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

Synthesis SLNT is hardcoded as 14 for the Italic style #94

Open
fredizzimo opened this issue Jul 25, 2024 · 0 comments
Open

Synthesis SLNT is hardcoded as 14 for the Italic style #94

fredizzimo opened this issue Jul 25, 2024 · 0 comments

Comments

@fredizzimo
Copy link
Contributor

fredizzimo commented Jul 25, 2024

When loading a Vairable font like Monaspace Xenon Var with the an italic style the Synthesis setting for SLNT gets wrongly set to 14.
StyleProperty::FontStack(FontStack::Source("Monaspace Xenon Var"))
StyleProperty::FontStyle(FontStyle::Italic)

In that particular font the value should be negative, -11 for the Italic style, and positive values are invalid, so the end result is that the font is rendered as normal instead of slanted and italic.

OS: Linux

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

No branches or pull requests

1 participant