Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6358474d
Commit
6358474d
authored
May 10, 2002
by
Jason Rumney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(enum_font_cb2): Don't use DBCS raster fonts.
parent
c1cdea1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
src/ChangeLog
src/ChangeLog
+4
-0
src/w32fns.c
src/w32fns.c
+15
-0
No files found.
src/ChangeLog
View file @
6358474d
2002-05-10 Jason Rumney <jasonr@gnu.org>
* w32fns.c (enum_font_cb2): Avoid DBCS raster fonts.
2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
* coding.c (encode_coding_sjis_big5): Enclose bitwise AND in
...
...
src/w32fns.c
View file @
6358474d
...
...
@@ -7127,6 +7127,21 @@ enum_font_cb2 (lplf, lptm, FontType, lpef)
lplf->elfLogFont.lfCharSet != lpef->logfont.lfCharSet)
return 1;
if (FontType == RASTER_FONTTYPE)
{
/* DBCS raster fonts have problems displaying, so skip them. */
int charset = lplf->elfLogFont.lfCharSet;
if (charset == SHIFTJIS_CHARSET
|| charset == HANGEUL_CHARSET
|| charset == CHINESEBIG5_CHARSET
|| charset == GB2312_CHARSET
#ifdef JOHAB_CHARSET
|| charset == JOHAB_CHARSET
#endif
)
return 1;
}
{
char buf[100];
Lisp_Object width = Qnil;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment