Skip to content

Fontdue backend#63

Merged
l4l merged 2 commits intomasterfrom
fontdue-backend
Oct 28, 2021
Merged

Fontdue backend#63
l4l merged 2 commits intomasterfrom
fontdue-backend

Conversation

@l4l
Copy link
Owner

@l4l l4l commented Oct 27, 2021

As an alternative for #48

@l4l
Copy link
Owner Author

l4l commented Oct 27, 2021

First draw now takes way more, for me: ~40ms (fontkit) -> ~110ms (fontconfig + fontdue).
Though the draw time is still adequate, for me: ~2ms (fontkit) -> ~4ms (fontconfig + fontdue).

So far that seems to me a better default because Hack, Noto and other fonts are rendered fine now. I try rusttype once again with draw_image_at instead of fill_rect and perhaps it would be as fast as this one.

@l4l l4l merged commit 7b26d63 into master Oct 28, 2021
@l4l l4l deleted the fontdue-backend branch October 28, 2021 07:24
@l4l l4l mentioned this pull request Feb 8, 2022
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