summaryrefslogtreecommitdiff
path: root/pango/pangocairo-win32fontmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangocairo-win32fontmap.c')
-rw-r--r--pango/pangocairo-win32fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-win32fontmap.c b/pango/pangocairo-win32fontmap.c
index 51393efa..9449fda7 100644
--- a/pango/pangocairo-win32fontmap.c
+++ b/pango/pangocairo-win32fontmap.c
@@ -104,5 +104,5 @@ pango_cairo_win32_font_map_class_init (PangoCairoWin32FontMapClass *class)
static void
pango_cairo_win32_font_map_init (PangoCairoWin32FontMap *cwfontmap)
{
- cwfontmap->dpi = 96.0;
+ cwfontmap->dpi = GetDeviceCaps (pango_win32_get_dc (), LOGPIXELSY);
}