Ensure all platforms use fontconfig to render #2399

This commit is contained in:
Lovell Fuller
2020-12-20 10:23:26 +00:00
parent ee54ce9913
commit ef964b5472
2 changed files with 4 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
static void* sharp_vips_init(void*) {
g_setenv("VIPS_MIN_STACK_SIZE", "2m", FALSE);
g_setenv("PANGOCAIRO_BACKEND", "fontconfig", FALSE);
vips_init("sharp");
return nullptr;
}