diff src/w32fns.c @ 66449:24efdc78f7c1

(w32_to_x_font): Avoid forcing font widths.
author Jason Rumney <jasonr@gnu.org>
date Tue, 25 Oct 2005 21:13:50 +0000
parents a0d1312ede66
children a14e3b63c666
line wrap: on
line diff
--- a/src/w32fns.c	Tue Oct 25 20:13:44 2005 +0000
+++ b/src/w32fns.c	Tue Oct 25 21:13:50 2005 +0000
@@ -5284,9 +5284,13 @@
       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,