diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 6 | ||||
-rw-r--r-- | pango/pangowin32-fontmap.c | 2 |
6 files changed, 31 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2004-04-29 Tor Lillqvist <tml@iki.fi> + + * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display): + Use floating-point math in resolution calculation. (#141229, John + Ehresman) + 2004-04-20 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 4807b1ae..0e47ef4d 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,9 @@ +2004-04-29 Tor Lillqvist <tml@iki.fi> + + * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display): + Use floating-point math in resolution calculation. (#141229, John + Ehresman) + 2004-04-20 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index 4807b1ae..0e47ef4d 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,9 @@ +2004-04-29 Tor Lillqvist <tml@iki.fi> + + * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display): + Use floating-point math in resolution calculation. (#141229, John + Ehresman) + 2004-04-20 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 4807b1ae..0e47ef4d 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,9 @@ +2004-04-29 Tor Lillqvist <tml@iki.fi> + + * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display): + Use floating-point math in resolution calculation. (#141229, John + Ehresman) + 2004-04-20 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 4807b1ae..0e47ef4d 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,9 @@ +2004-04-29 Tor Lillqvist <tml@iki.fi> + + * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display): + Use floating-point math in resolution calculation. (#141229, John + Ehresman) + 2004-04-20 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-shaper.c (get_adjusted_glyphs_list): diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c index 978a1471..42eecafc 100644 --- a/pango/pangowin32-fontmap.c +++ b/pango/pangowin32-fontmap.c @@ -261,7 +261,7 @@ pango_win32_font_map_for_display (void) logfont.lfCharSet = DEFAULT_CHARSET; EnumFontFamiliesExA (pango_win32_hdc, &logfont, (FONTENUMPROC) pango_win32_enum_proc, 0, 0); - fontmap->resolution = PANGO_SCALE / GetDeviceCaps (pango_win32_hdc, LOGPIXELSY) * 72.0; + fontmap->resolution = (PANGO_SCALE / (double) GetDeviceCaps (pango_win32_hdc, LOGPIXELSY)) * 72.0; return PANGO_FONT_MAP (fontmap); } |