aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/font.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5c2501800fe..99e0cde333c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12008-06-24 Jason Rumney <jasonr@gnu.org>
2
3 * font.c (Ffont_face_attributes): Multiply pixel size before point
4 conversion to avoid multiplying rounding error.
5
12008-06-23 Jason Rumney <jasonr@gnu.org> 62008-06-23 Jason Rumney <jasonr@gnu.org>
2 7
3 * w32term.c (x_draw_glyph_string_background) 8 * w32term.c (x_draw_glyph_string_background)
diff --git a/src/font.c b/src/font.c
index 4d8c9725844..e526394122b 100644
--- a/src/font.c
+++ b/src/font.c
@@ -3800,7 +3800,7 @@ are to be displayed on. If omitted, the selected frame is used. */)
3800 Lisp_Object font_dpi = AREF (font, FONT_DPI_INDEX); 3800 Lisp_Object font_dpi = AREF (font, FONT_DPI_INDEX);
3801 int dpi = INTEGERP (font_dpi) ? XINT (font_dpi) : f->resy; 3801 int dpi = INTEGERP (font_dpi) ? XINT (font_dpi) : f->resy;
3802 plist[n++] = QCheight; 3802 plist[n++] = QCheight;
3803 plist[n++] = make_number (10 * PIXEL_TO_POINT (XINT (val), dpi)); 3803 plist[n++] = make_number (PIXEL_TO_POINT (XINT (val) * 10, dpi));
3804 } 3804 }
3805 else if (FLOATP (val)) 3805 else if (FLOATP (val))
3806 { 3806 {