diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2007-02-26 06:01:54 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2007-02-26 06:01:54 +0000 |
| commit | 317dfe57a2268a2d7a56e61f13825f83da5fdeaf (patch) | |
| tree | 12570b4ce4d76d83c7f98e80195cfc773d8c0d4b /src/libnrtype | |
| parent | dead code removal (diff) | |
| download | inkscape-317dfe57a2268a2d7a56e61f13825f83da5fdeaf.tar.gz inkscape-317dfe57a2268a2d7a56e61f13825f83da5fdeaf.zip | |
Check for GGO_UNHINTED not being defined
(bzr r2444)
Diffstat (limited to 'src/libnrtype')
| -rw-r--r-- | src/libnrtype/FontInstance.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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); |
