Commit 813fa8a8 authored by Jason Rumney's avatar Jason Rumney

(w32_to_x_font): Avoid forcing font widths.

parent b76781cd
2005-10-25 Jason Rumney <jasonr@gnu.org>
* w32fns.c (w32_to_x_font): Avoid forcing font widths.
2005-10-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* image.c [MAC_OS] (image_load_qt_1): Check image size.
......
......@@ -5284,9 +5284,13 @@ w32_to_x_font (lplogfont, lpxstr, len, specific_charset)
strcpy (height_pixels, "*");
strcpy (height_dpi, "*");
}
#if 0 /* Never put the width in the xfld. It fails on fonts with
double-width characters. */
if (lplogfont->lfWidth)
sprintf (width_pixels, "%u", lplogfont->lfWidth * 10);
else
#endif
strcpy (width_pixels, "*");
_snprintf (lpxstr, len - 1,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment