wok-stable diff cairo/stuff/cairo-respect-fontconfig.patch @ rev 10851
pth: Fixed typo in deps.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jun 12 11:09:02 2011 +0000 (2011-06-12) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cairo/stuff/cairo-respect-fontconfig.patch Sun Jun 12 11:09:02 2011 +0000 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)