Share Pastebin
Guest
Public paste!

anonymous coward

By: a guest | Aug 3rd, 2008 | Syntax: None | Size: 0.36 KB | Hits: 109 | Expires: Never
Copy text to clipboard
  1. --- qfontengine_ft.cpp.orig     2008-08-03 22:09:03.869751968 +1200
  2. +++ qfontengine_ft.cpp  2008-08-03 22:07:46.259760513 +1200
  3.  -661,6 +661,7 @@
  4.  
  5.      if (transform)
  6.          load_flags |= FT_LOAD_NO_BITMAP;
  7. +    load_flags |= FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH;
  8.  
  9.      FT_Face face = freetype->face;
  10.      FT_Error err = FT_Load_Glyph(face, glyph, load_flags);