mirror of
https://github.com/lovell/sharp.git
synced 2025-07-13 20:30:14 +02:00
Ensure all platforms use fontconfig to render #2399
This commit is contained in:
parent
ee54ce9913
commit
ef964b5472
@ -10,6 +10,9 @@ Requires libvips v8.10.5
|
|||||||
|
|
||||||
* Remove experimental status from `heif` output, defaults are now AVIF-centric.
|
* Remove experimental status from `heif` output, defaults are now AVIF-centric.
|
||||||
|
|
||||||
|
* Ensure all platforms use fontconfig for font rendering.
|
||||||
|
[#2399](https://github.com/lovell/sharp/issues/2399)
|
||||||
|
|
||||||
## v0.26 - *zoom*
|
## v0.26 - *zoom*
|
||||||
|
|
||||||
Requires libvips v8.10.0
|
Requires libvips v8.10.0
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
static void* sharp_vips_init(void*) {
|
static void* sharp_vips_init(void*) {
|
||||||
g_setenv("VIPS_MIN_STACK_SIZE", "2m", FALSE);
|
g_setenv("VIPS_MIN_STACK_SIZE", "2m", FALSE);
|
||||||
|
g_setenv("PANGOCAIRO_BACKEND", "fontconfig", FALSE);
|
||||||
vips_init("sharp");
|
vips_init("sharp");
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user