From: ishmal Date: Mon, 26 Feb 2007 06:01:54 +0000 (+0000) Subject: Check for GGO_UNHINTED not being defined X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=762dce10221fb58420527d8554cd5960c03e0eda;p=inkscape.git Check for GGO_UNHINTED not being defined --- diff --git a/src/libnrtype/FontInstance.cpp b/src/libnrtype/FontInstance.cpp index 615ddb685..574a76f62 100644 --- a/src/libnrtype/FontInstance.cpp +++ b/src/libnrtype/FontInstance.cpp @@ -432,6 +432,11 @@ void font_instance::LoadGlyph(int glyph_id) bool doAdd=false; #ifdef USE_PANGO_WIN32 + +#ifndef GGO_UNHINTED // For compatibility with old SDKs. +#define GGO_UNHINTED 0x0100 +#endif + MAT2 identity = {{0,1},{0,0},{0,0},{0,1}}; OUTLINETEXTMETRIC otm; GetOutlineTextMetrics(daddy->hScreenDC, sizeof(otm), &otm);