diff options
author | Jason Rumney <jasonr@gnu.org> | 2005-10-25 21:14:39 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2005-10-25 21:14:39 +0000 |
commit | 813fa8a82d89881f353422026088591ff9861404 (patch) | |
tree | 7af3f9c4eab6aec760a503273ea6b5f6b3746578 /src/w32fns.c | |
parent | b76781cd5e73ae970a3214ec1146f20feb438352 (diff) | |
download | emacs-813fa8a82d89881f353422026088591ff9861404.tar.gz |
(w32_to_x_font): Avoid forcing font widths.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r-- | src/w32fns.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 93469418137..e18ee3d43a9 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -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, |