Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cleanup, fixes and restructure #1

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

Merged
merged 9 commits into from
Jan 16, 2025
Merged

cleanup, fixes and restructure #1

merged 9 commits into from
Jan 16, 2025

Conversation

ben-mkiv
Copy link
Contributor

the options post property changed delegate is now one function which repopulates the character list and the grid panels (instead of each grid panel doing it's own thing)

filtering is now done on options change (this was just more convenient to do for me right now, and it skips the measurement calculation when it's not necessary)

most things which are tied to a specific range are now in a TMap<EUnicodeBlockRange, foobar> for easier access

When changing options/font it now picks the ranges based on the Ranges which have entries (this hides all empty categories by default)

todo: the PostPropertyChanged delegate should probably be a bit smarter and only repopulate characters when the font/filter changes

cache some informations for better access
auto set filteres block ranges when updating options

known issues:
everything updates if any option changes, even if it's not related to the font
the filters are applied in PopulateSupportedCharacters()
sometimes there's still another font displayed (e.g. the latin characters in the google icon font are from Roboto?!)
implement lazy evaluation of font measuring by making their data optional and private with getters which do the evaluation on demand
…t (as the lazy loading may introduce hitches on slow systems)
@timoxley timoxley merged commit 11e5641 into ntystudio:main Jan 16, 2025
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.

2 participants