Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Nur cairo-1.10.2.orig/src/cairo-ft-font.c cairo-1.10.2/src/cairo-ft-font.c
- --- cairo-1.10.2.orig/src/cairo-ft-font.c 2008-12-12 20:48:04.000000000 +0800
- +++ cairo-1.10.2/src/cairo-ft-font.c 2009-02-20 14:56:57.000000000 +0800
- @@ -1755,8 +1755,15 @@
- if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT)
- options->base.hint_style = other->base.hint_style;
- - if (other->base.hint_style == CAIRO_HINT_STYLE_NONE)
- - options->base.hint_style = CAIRO_HINT_STYLE_NONE;
- + //if (other->base.hint_style == CAIRO_HINT_STYLE_NONE)
- + //options->base.hint_style = CAIRO_HINT_STYLE_NONE;
- +
- + if (other->base.hint_style == CAIRO_HINT_STYLE_NONE ||
- + other->base.hint_style == CAIRO_HINT_STYLE_SLIGHT ||
- + other->base.hint_style == CAIRO_HINT_STYLE_MEDIUM ||
- + other->base.hint_style == CAIRO_HINT_STYLE_FULL) {
- + options->base.hint_style = other->base.hint_style;
- + }
- if (options->base.antialias == CAIRO_ANTIALIAS_NONE) {
- if (options->base.hint_style == CAIRO_HINT_STYLE_NONE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement