ManimCommunity / ManimPango

Binding for Pango, to use with Manim.
https://manimpango.manim.community
MIT License
43 stars 13 forks source link

Add option to Register Fonts using Fc backend on Windows and macOS #55

Closed naveen521kk closed 3 years ago

naveen521kk commented 3 years ago

Currently, if we changed PangoCairo backends, register_font won't work as expected. And shifting backend is as simple as PANGOCARIO_BACKEND variable to fc, this should work on both Wheels distributed on Windows and macOS. (This isn't a thing on Linux as Fontconfig is the default backend). This can help in testing because rendering would be the same if the font backends are the same.