revery-ui / revery

:zap: Native, high-performance, cross-platform desktop apps - built with Reason!
https://www.outrunlabs.com/revery/
MIT License
8.06k stars 196 forks source link

feat(font): add fallback #944

Closed zbaylin closed 4 years ago

zbaylin commented 4 years ago

This leverages Skia's matchFamilyStyleCharacter and Harfbuzz to create fallback for fonts.

github-actions[bot] commented 4 years ago

I have updated your lock dirs and formatted the code. Please @zbaylin pull the last commit before pushing any more changes.

zbaylin commented 4 years ago

@glennsl looks like you were able to maintain the clustering with Harfbuzz 2.6.8!

HB 2.6.8 image

HB 1.9.0 (current) image

zbaylin commented 4 years ago

Looks like this is (finally) done! This is by far one of the biggest PRs I've written -- I couldn't have done it without the help of @glennsl and @bryphe! Thanks guys!

bryphe commented 4 years ago

Congrats on getting this in, @zbaylin ! Huge step forward for Revery 🎉