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.
Currently, if we changed PangoCairo backends,
register_font
won't work as expected. And shifting backend is as simple asPANGOCARIO_BACKEND
variable tofc
, 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.