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

[WIP] add dynamic type and weight support #83

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Alex293
Copy link

@Alex293 Alex293 commented Nov 15, 2024

Hey this is WIP, to gather feedback.

This add support for weights in addition to bold and enable dynamic type.
Tests won't passe due to dynamic type changing the font size, I'm wondering if this should be toggle-able and a separate property of the MarkupStyleFont.

AppKit part is not updated yet.

@zhgchgli0718
Copy link
Member

I will review ASAP, thanks for your contribution.

@CodeHYY
Copy link

CodeHYY commented Nov 20, 2024

We have encountered the same issue with this "weight support." The proposed solution above is acceptable. Please handle promptly. Thank you. @zhgchgli0718

@zhgchgli0718 zhgchgli0718 marked this pull request as ready for review November 24, 2024 10:52
@zhgchgli0718
Copy link
Member

I have adjusted the tests and the AppKit. If there are no issues, we can proceed with merging and releasing it. Thank you for your contribution.

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