unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "weihan" <weihan@math.ncu.edu.tw>
To: help-gnu-emacs@gnu.org
Subject: Re: big5 only on emacs-nox for Fedora core 6
Date: 5 Mar 2007 00:58:50 -0800	[thread overview]
Message-ID: <1173085124.907910.303370@p10g2000cwp.googlegroups.com> (raw)
In-Reply-To: <mailman.440.1173062415.7795.help-gnu-emacs@gnu.org>

On 3月5日, 上午10時31分, David Hansen <david.han...@gmx.net> wrote:
> On 4 Mar 2007 17:32:06 -0800 "weihan" <wei...@math.ncu.edu.tw> wrote:
>
>
>
>
>
>
>
> > On 3月3日, 下午6時04分, David Hansen <david.han...@gmx.net> wrote:
> >> On 2 Mar 2007 23:27:11 -0800 "weihan" <wei...@math.ncu.edu.tw> wrote:
>
> >> > Recently, I just upgrade my system to Fedora core 6. I found that
> >> > in the new OS, the Chinese big5 font can not be shown correctly on
> >> > emacs.
> >> > However, it can be shown on emacs-nox. Is there anything I can change
> >> > to
> >> > make the emacs work for X-window version ?
>
> >> You can try to set the font for this encoding via fontsets in your
> >> ~/.Xresources.
>
> >> David
>
> > Hi, I try to add the following line on .emacs
>
> > (set-default-font
> > "-arphic technology co.-ar pl mingti2l big5-medium-r-normal--0-0-0-0-
> > c-0-iso10646-1")
>
> > the font comes exactly from xlsfonts command, but the emacs keep say
> > the font does not exist !
>
> > Anything wrong.
>
> I'm not sure if whats wrong with it but you probably don't want to
> set the "default font".  Emacs chooses different fonts for different
> encodings with some heuristics that usually work pretty well.  I
> suspect in your case emacs tries to find a latin version of your font
> and fails (I might be wrong though).
>
> An IMHO good method to solve your problem is to first choose your
> favorite fixed font for ASCII chars and add
>
> Emacs*fontset-0: -*-neep alt-medium-*-*-*-13-*-*-*-*-*-fontset-name
>
> Emacs*font: fontset-name
>
> to your Xresources file (and xrdb -merge it and restart Emacs).  Now
> if you see some non ASCII characters that look ugly or are shown as
> boxes move the cursor over it and hit C-u x =.  Emacs will tell you
> the category of the character.  Now you extend you fontset
> definition (make sure the font is available in the encoding that
> emacs has chosen).  I ended up with:
>
> Emacs*fontset-0: -*-neep alt-medium-*-*-*-13-*-*-*-*-*-fontset-small,\
> mule-unicode-2500-33ff: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1,\
> mule-unicode-e000-ffff: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1,\
> mule-unicode-0100-24ff: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
>
> xrdb -merge again and restart emacs.  Note that you can specify
> fontsets via elisp too.  Might save some restarting but I don't know
> how it works.
>
> David


When I type C-u x = with cursor on the box and proper .Xresources as
you suggest
 the emacs responses xxxx=. There is no category of the character. Any
idea ?

weihan

  parent reply	other threads:[~2007-03-05  8:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-03  7:27 big5 only on emacs-nox for Fedora core 6 weihan
2007-03-03 10:04 ` David Hansen
     [not found] ` <mailman.369.1172916535.7795.help-gnu-emacs@gnu.org>
2007-03-05  1:32   ` weihan
2007-03-05  2:31     ` David Hansen
     [not found]     ` <mailman.440.1173062415.7795.help-gnu-emacs@gnu.org>
2007-03-05  8:58       ` weihan [this message]
2007-03-05 10:30         ` David Hansen
     [not found]         ` <mailman.448.1173091157.7795.help-gnu-emacs@gnu.org>
2007-03-06  6:52           ` weihan
2007-03-06  8:30             ` David Hansen
     [not found]             ` <mailman.506.1173170335.7795.help-gnu-emacs@gnu.org>
2007-03-06  9:53               ` weihan
2007-03-06 11:13                 ` Peter Dyballa
2007-03-23  5:25               ` weihan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1173085124.907910.303370@p10g2000cwp.googlegroups.com \
    --to=weihan@math.ncu.edu.tw \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).