wok diff cairo-gl/stuff/cairo-respect-fontconfig.patch @ rev 18104
Up zsh (5.0.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 11:13:52 2015 +0200 (2015-06-01) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cairo-gl/stuff/cairo-respect-fontconfig.patch Mon Jun 01 11:13:52 2015 +0200 1.3 @@ -0,0 +1,21 @@ 1.4 +diff -Nur cairo-1.8.6.orig/src/cairo-ft-font.c cairo-1.8.6/src/cairo-ft-font.c 1.5 +--- cairo-1.8.6.orig/src/cairo-ft-font.c 2008-12-12 20:48:04.000000000 +0800 1.6 ++++ cairo-1.8.6/src/cairo-ft-font.c 2009-02-20 14:56:57.000000000 +0800 1.7 +@@ -1448,8 +1448,15 @@ 1.8 + if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT) 1.9 + options->base.hint_style = other->base.hint_style; 1.10 + 1.11 +- if (other->base.hint_style == CAIRO_HINT_STYLE_NONE) 1.12 +- options->base.hint_style = CAIRO_HINT_STYLE_NONE; 1.13 ++ //if (other->base.hint_style == CAIRO_HINT_STYLE_NONE) 1.14 ++ //options->base.hint_style = CAIRO_HINT_STYLE_NONE; 1.15 ++ 1.16 ++ if (other->base.hint_style == CAIRO_HINT_STYLE_NONE || 1.17 ++ other->base.hint_style == CAIRO_HINT_STYLE_SLIGHT || 1.18 ++ other->base.hint_style == CAIRO_HINT_STYLE_MEDIUM || 1.19 ++ other->base.hint_style == CAIRO_HINT_STYLE_FULL) { 1.20 ++ options->base.hint_style = other->base.hint_style; 1.21 ++ } 1.22 + 1.23 + if (options->base.antialias == CAIRO_ANTIALIAS_NONE) { 1.24 + if (options->base.hint_style == CAIRO_HINT_STYLE_NONE)