From bba00c2bfe1ed3aeb04c63c4193b7fc7e6bb6f47 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Wed, 13 Jan 2021 17:50:58 +0000 Subject: [PATCH] Revert: ensure all platforms use fontconfig #2399 #2515 --- docs/changelog.md | 3 +++ src/sharp.cc | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index fde73fe1..fde9c877 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -10,6 +10,9 @@ Requires libvips v8.10.5 [#2511](https://github.com/lovell/sharp/pull/2511) [@leon](https://github.com/leon) +* Revert: ensure all platforms use fontconfig for font rendering. + [#2515](https://github.com/lovell/sharp/issues/2515) + ### v0.27.0 - 22nd December 2020 * Add support for AVIF to prebuilt binaries. diff --git a/src/sharp.cc b/src/sharp.cc index 0f9c4676..04c8a577 100644 --- a/src/sharp.cc +++ b/src/sharp.cc @@ -23,7 +23,6 @@ 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; }