Advertisement
Guest User

Untitled

a guest
Jul 29th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. diff -Nur cairo-1.10.2.orig/src/cairo-ft-font.c cairo-1.10.2/src/cairo-ft-font.c
  2. --- cairo-1.10.2.orig/src/cairo-ft-font.c 2008-12-12 20:48:04.000000000 +0800
  3. +++ cairo-1.10.2/src/cairo-ft-font.c 2009-02-20 14:56:57.000000000 +0800
  4. @@ -1755,8 +1755,15 @@
  5. if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT)
  6. options->base.hint_style = other->base.hint_style;
  7.  
  8. - if (other->base.hint_style == CAIRO_HINT_STYLE_NONE)
  9. - options->base.hint_style = CAIRO_HINT_STYLE_NONE;
  10. + //if (other->base.hint_style == CAIRO_HINT_STYLE_NONE)
  11. + //options->base.hint_style = CAIRO_HINT_STYLE_NONE;
  12. +
  13. + if (other->base.hint_style == CAIRO_HINT_STYLE_NONE ||
  14. + other->base.hint_style == CAIRO_HINT_STYLE_SLIGHT ||
  15. + other->base.hint_style == CAIRO_HINT_STYLE_MEDIUM ||
  16. + other->base.hint_style == CAIRO_HINT_STYLE_FULL) {
  17. + options->base.hint_style = other->base.hint_style;
  18. + }
  19.  
  20. if (options->base.antialias == CAIRO_ANTIALIAS_NONE) {
  21. if (options->base.hint_style == CAIRO_HINT_STYLE_NONE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement