Share Pastebin
Guest
Public paste!

brebs

By: a guest | Jul 6th, 2009 | Syntax: None | Size: 0.54 KB | Hits: 70 | Expires: Never
Copy text to clipboard
  1. --- cairo-1.7.6-orig/src/cairo-ft-font.c        2008-09-29 21:43:13.000000000 +0100
  2. +++ cairo-1.7.6/src/cairo-ft-font.c     2008-09-29 21:52:19.000000000 +0100
  3.  -1705,7 +1705,9 @@
  4.         options->base.subpixel_order = other->base.subpixel_order;
  5.      }
  6.  
  7. -    if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT)
  8. +    options->base.hint_style = CAIRO_HINT_STYLE_DEFAULT;
  9. +
  10. +    if (other->base.hint_style != CAIRO_HINT_STYLE_DEFAULT)
  11.         options->base.hint_style = other->base.hint_style;
  12.  
  13.      if (other->base.hint_style == CAIRO_HINT_STYLE_NONE)