conversion to avoid multiplying rounding error.
+2008-06-24 Jason Rumney <jasonr@gnu.org>
+
+ * font.c (Ffont_face_attributes): Multiply pixel size before point
+ conversion to avoid multiplying rounding error.
+
2008-06-23 Jason Rumney <jasonr@gnu.org>
* w32term.c (x_draw_glyph_string_background)
Lisp_Object font_dpi = AREF (font, FONT_DPI_INDEX);
int dpi = INTEGERP (font_dpi) ? XINT (font_dpi) : f->resy;
plist[n++] = QCheight;
- plist[n++] = make_number (10 * PIXEL_TO_POINT (XINT (val), dpi));
+ plist[n++] = make_number (PIXEL_TO_POINT (XINT (val) * 10, dpi));
}
else if (FLOATP (val))
{