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

Select font family and font style for inkTextWidget #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

poirierlouis
Copy link

@poirierlouis poirierlouis commented Jul 4, 2024

New form field
Show a dropdown-like form field based on a value and a list of values. Fallback to a default value when current value is not found in list.

Select font family and font style
Include list of fonts found using WolvenKit, as hardcoded data.
Fix font style property not triggering a redraw of inkTextWidget.

Note: dynamic loading of inkTypographyResource does not list all known font families like in hardcoded data.

Edit: draft for now, I plan on changing schema of viewData.fonts to improve performance in draw call.

Show a dropdown-like form field based on a value and a list of values. Fallback to a default value when current value is not found in list.
Include list of fonts found using WolvenKit, as hardcoded data.
Fix font style property not triggering a redraw of text widget.
Refactor list table with a key table to remove loop operation.
Sort fonts per path, alphabetically.
@poirierlouis poirierlouis marked this pull request as ready for review July 5, 2024 13:38
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.

1 participant