bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Chinese Display Problem on Windows Port of Emacs21


From: Jason Rumney
Subject: Re: Chinese Display Problem on Windows Port of Emacs21
Date: 30 Oct 2001 22:01:41 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

address@hidden (Lu Yong) writes:

> The default Chinese font used by Emacs21 on Windows 2000 is
> a "vertical" font, ie. all Chinese characters are rotated by
> 90 degrees.

If you can compile Emacs from source, I would appreciate it if you
try this patch. My system does not generate these vertical fonts
even if I have Chinese fonts installed, so I cannot test if this is
the correct fix myself.


*** emacs-21.1\src\w32fns.c.orig        Thu Oct 18 15:08:34 2001
--- emacs-21.1\src\w32fns.c     Tue Oct 30 21:41:52 2001
***************
*** 6624,6632 ****
      int FontType;
      enumfont_t * lpef;
  {
!   if (lplf->elfLogFont.lfStrikeOut || lplf->elfLogFont.lfUnderline)
!     return (1);
!
    /* Check that the character set matches if it was specified */
    if (lpef->logfont.lfCharSet != DEFAULT_CHARSET &&
        lplf->elfLogFont.lfCharSet != lpef->logfont.lfCharSet)
--- 6624,6635 ----
      int FontType;
      enumfont_t * lpef;
  {
!   /* Ignore struck out, underlined and vertical versions of fonts.  */
!   if (lplf->elfLogFont.lfStrikeOut || lplf->elfLogFont.lfUnderline
!       || lplf->elfLogFont.lfEscapement != 0
!       || lplf->elfLogFont.lfOrientation != 0)
!     return 1;
!
    /* Check that the character set matches if it was specified */
    if (lpef->logfont.lfCharSet != DEFAULT_CHARSET &&
        lplf->elfLogFont.lfCharSet != lpef->logfont.lfCharSet)



-- 
Jason Rumney



reply via email to

[Prev in Thread] Current Thread [Next in Thread]