unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Problem with chinese gbk fonts on w32
@ 2005-08-01  2:31 Sun Yijiang
  2005-08-01  7:08 ` Jason Rumney
  0 siblings, 1 reply; 6+ messages in thread
From: Sun Yijiang @ 2005-08-01  2:31 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 736 bytes --]

The first screenshot (w32bdf-bad.png) is from Emacs on w32 with 
"src/w32bdf.c" revision 1.21 and later, and the second (w32bdf-nice.png) is 
the same with "src/w32bdf.c" revision 1.20. The changelog says (from 1.20 to 
1.21):

(w32_load_bdf_font): Set fontp->average_width and fontp->space_width to 
FONT_WIDTH so they are valid.

I think this change is probably not fully tested. When I use the mule-gbk 
package and set font for chinese characters, they look so wide, but when I 
use "emacs -q" they look nice, make no difference with previous CVS Emacs. I 
roll back the src/w32bdf.c to older version, and everything is OK. I think 
the change of w32bdf.c should be reviewed, since this is really a bug.

Sun Yijiang

[-- Attachment #1.2: Type: text/html, Size: 798 bytes --]

[-- Attachment #2: w32bdf-bad.png --]
[-- Type: image/png, Size: 10181 bytes --]

[-- Attachment #3: w32bdf-nice.png --]
[-- Type: image/png, Size: 8688 bytes --]

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-06  8:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-01  2:31 Problem with chinese gbk fonts on w32 Sun Yijiang
2005-08-01  7:08 ` Jason Rumney
2005-08-01  8:38   ` Sun Yijiang
2005-09-06  7:43     ` Sun Yijiang
2005-09-06  8:00       ` Jason Rumney
2005-09-06  8:13         ` Sun Yijiang

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).