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

Hihglighted text rasterization #69

Merged
merged 3 commits into from
Dec 1, 2021
Merged

Hihglighted text rasterization #69

merged 3 commits into from
Dec 1, 2021

Conversation

filtsin
Copy link
Contributor

@filtsin filtsin commented Nov 30, 2021

Due to the rendering of individual substrings of the highlighted text, the layout of fdue did not work (the letters jumped and didn't align properly). Fix this problem

src/draw/list_view.rs Outdated Show resolved Hide resolved
src/font/fontkit.rs Outdated Show resolved Hide resolved
src/font/fontkit.rs Show resolved Hide resolved
src/font.rs Outdated Show resolved Hide resolved
src/draw/list_view.rs Outdated Show resolved Hide resolved
@l4l l4l merged commit f276d27 into l4l:master Dec 1, 2021
@l4l
Copy link
Owner

l4l commented Dec 1, 2021

Oohh, I just remembered why I haven't removed fontkit yet: its startup time is way faster that fontdue. On my machine first draw takes ~100ms longer which is very noticeable and even annoying.

@l4l l4l mentioned this pull request Dec 3, 2021
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