# HG changeset patch # User Jason Rumney # Date 1130274830 0 # Node ID 24efdc78f7c123cd601d9c5b871d46f35df159f7 # Parent 37519beb2cff1543bda3c004dde9b5004374b381 (w32_to_x_font): Avoid forcing font widths. diff -r 37519beb2cff -r 24efdc78f7c1 src/w32fns.c --- 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,