wok-next diff cairo/stuff/cairo-respect-fontconfig.patch @ rev 16515

Prepa for 5.0-RC1
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 25 04:31:00 2014 +0200 (2014-04-25)
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	Fri Apr 25 04:31:00 2014 +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)