summaryrefslogtreecommitdiff
path: root/pango/pangowin32-private.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2002-03-17 21:25:16 +0000
committerTor Lillqvist <tml@src.gnome.org>2002-03-17 21:25:16 +0000
commit87d7dc354f46b00e4835a7136b56a35edada5bf2 (patch)
tree7808712bf915719102f6f3dc953ed4753f8e8128 /pango/pangowin32-private.h
parente3bc68e7ee786503c41846c7f38e8d8afb9f0232 (diff)
downloadpango-87d7dc354f46b00e4835a7136b56a35edada5bf2.tar.gz
Add pango_win32_os_version_info variable, an OSVERSIONINFO struct.
2002-03-17 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-private.h: Add pango_win32_os_version_info variable, an OSVERSIONINFO struct. * pango/pangowin32.c: Initialise it. * pango/pangowin32.h: Set _WIN32_WINNT to 0x0501 before including <windows.h> to get the ClearType-related macros defined (if recent enough headers are used). * pango/pangowin32-fontcache.c (pango_win32_font_cache_load): Set desired font quality to CLEARTYPE_QUALITY if on XP (or later), and the system settings ask for ClearType.
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r--pango/pangowin32-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h
index 8e3500f2..f0d21914 100644
--- a/pango/pangowin32-private.h
+++ b/pango/pangowin32-private.h
@@ -119,5 +119,6 @@ void pango_win32_fontmap_cache_remove (PangoFontMap *fontmap,
PangoWin32Font *xfont);
extern HDC pango_win32_hdc;
+extern OSVERSIONINFO pango_win32_os_version_info;
#endif /* __PANGOWIN32_PRIVATE_H__ */