aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/w32fns.c15
2 files changed, 19 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1cabb7afae4..1436945cd2b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12002-05-10 Jason Rumney <jasonr@gnu.org>
2
3 * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts.
4
12002-05-10 Eli Zaretskii <eliz@is.elta.co.il> 52002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
2 6
3 * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in 7 * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in
diff --git a/src/w32fns.c b/src/w32fns.c
index 2345b95bdcc..799bc084f16 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -7127,6 +7127,21 @@ enum_font_cb2 (lplf, lptm, FontType, lpef)
7127 lplf->elfLogFont.lfCharSet != lpef->logfont.lfCharSet) 7127 lplf->elfLogFont.lfCharSet != lpef->logfont.lfCharSet)
7128 return 1; 7128 return 1;
7129 7129
7130 if (FontType == RASTER_FONTTYPE)
7131 {
7132 /* DBCS raster fonts have problems displaying, so skip them. */
7133 int charset = lplf->elfLogFont.lfCharSet;
7134 if (charset == SHIFTJIS_CHARSET
7135 || charset == HANGEUL_CHARSET
7136 || charset == CHINESEBIG5_CHARSET
7137 || charset == GB2312_CHARSET
7138#ifdef JOHAB_CHARSET
7139 || charset == JOHAB_CHARSET
7140#endif
7141 )
7142 return 1;
7143 }
7144
7130 { 7145 {
7131 char buf[100]; 7146 char buf[100];
7132 Lisp_Object width = Qnil; 7147 Lisp_Object width = Qnil;