Ticket #46571: patch-gfx-thebes-src-gfxPangoFonts.cpp.diff

File patch-gfx-thebes-src-gfxPangoFonts.cpp.diff, 641 bytes (added by csanchezdll, 10 years ago)
  • gfx/thebes/src/gfxPangoFonts.cpp

    old new  
    6161#include "gfxFontconfigUtils.h"
    6262#include "gfxUserFontSet.h"
    6363
    64 #include <freetype/tttables.h>
     64#include <ft2build.h>
     65#include FT_TRUETYPE_TABLES_H
    6566
    6667#include <cairo.h>
    6768#include <cairo-ft.h>
     
    875876    PangoVersionFunction pango_version =
    876877        reinterpret_cast<PangoVersionFunction>
    877878        (FindFunctionSymbol("pango_version"));
    878     gUseFontMapProperty = pango_version && (*pango_version)() >= 12404;
     879    gUseFontMapProperty = PR_TRUE;
    879880}
    880881
    881882/**