wok-current annotate cairo-gl/stuff/cairo-respect-fontconfig.patch @ rev 16342
ARM: add libpthread-stubs, libdrm
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 18:33:53 2014 +0200 (2014-04-12) |
parents | |
children |
rev | line source |
---|---|
pankso@16204 | 1 diff -Nur cairo-1.8.6.orig/src/cairo-ft-font.c cairo-1.8.6/src/cairo-ft-font.c |
pankso@16204 | 2 --- cairo-1.8.6.orig/src/cairo-ft-font.c 2008-12-12 20:48:04.000000000 +0800 |
pankso@16204 | 3 +++ cairo-1.8.6/src/cairo-ft-font.c 2009-02-20 14:56:57.000000000 +0800 |
pankso@16204 | 4 @@ -1448,8 +1448,15 @@ |
pankso@16204 | 5 if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT) |
pankso@16204 | 6 options->base.hint_style = other->base.hint_style; |
pankso@16204 | 7 |
pankso@16204 | 8 - if (other->base.hint_style == CAIRO_HINT_STYLE_NONE) |
pankso@16204 | 9 - options->base.hint_style = CAIRO_HINT_STYLE_NONE; |
pankso@16204 | 10 + //if (other->base.hint_style == CAIRO_HINT_STYLE_NONE) |
pankso@16204 | 11 + //options->base.hint_style = CAIRO_HINT_STYLE_NONE; |
pankso@16204 | 12 + |
pankso@16204 | 13 + if (other->base.hint_style == CAIRO_HINT_STYLE_NONE || |
pankso@16204 | 14 + other->base.hint_style == CAIRO_HINT_STYLE_SLIGHT || |
pankso@16204 | 15 + other->base.hint_style == CAIRO_HINT_STYLE_MEDIUM || |
pankso@16204 | 16 + other->base.hint_style == CAIRO_HINT_STYLE_FULL) { |
pankso@16204 | 17 + options->base.hint_style = other->base.hint_style; |
pankso@16204 | 18 + } |
pankso@16204 | 19 |
pankso@16204 | 20 if (options->base.antialias == CAIRO_ANTIALIAS_NONE) { |
pankso@16204 | 21 if (options->base.hint_style == CAIRO_HINT_STYLE_NONE) |