emacs-devel
[Top][All Lists]
Advanced

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

Re: Special Characters on Mac Emacs


From: Sébastien Kirche
Subject: Re: Special Characters on Mac Emacs
Date: Wed, 23 Mar 2005 16:49:10 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Le 23 Mar 2005, YAMAMOTO Mitsuharu a dit :

>  On Thu, 10 Mar 2005 10:18:02 -0600, Ulrich Hobelmann <address@hidden>
>  said:
> 
> > To make Emacs display the stuff the following works:
> 
> > (create-fontset-from-fontset-spec
> > "-apple-monaco-medium-r-normal--12-*-*-*-*-*-fontset-monaco,
> > ascii:-apple-monaco-medium-r-normal--12-120-75-75-m-120-mac-roman,
> (snip)
> > latin-iso8859-15:-apple-monaco-medium-r-normal--12-120-75-75-m-120-mac-roman,
> > latin-iso8859-1:-apple-monaco-medium-r-normal--12-120-75-75-m-120-mac-roman"
> > )
> 
> > (set-face-font 'default
> > "-apple-monaco-medium-r-normal--12-*-*-*-*-*-fontset-monaco")
> 
> I'd rather not recommend directly specifying mac-roman fonts for
> latin-iso8859-1 or latin-iso8859-15 character set.  Because mac-roman
> does not have all the characters for them, some characters are
> displayed with wrong glyph.  If it had all,
> `face-font-registry-alternatives' would be set accordingly.
> 
> [...] 

I am  French and i have some  problems specifically with OSX  to use latin-9
(seems fixed now) and box-drawing unicode chars.

I used to configure  Emacs in the same way than Ulrich  by defining an Apple
Monaco  9 pt fontset  (I missed  your interesting  december 2004  post about
Cyrillic  characters display  support) for  ascii, latin-1  and  latin-9 and
trying    to   choose    (with   little    success)   unicode    fonts   for
mule-unicode-0100-24ff and mule-unicode-2500-33ff.

I defined  it like  that  to use  with later  default-frame-alist
font :
(create-fontset-from-fontset-spec
  "-apple-monaco-medium-r-normal--9-*-*-*-*-*-fontset-monaco,
   ascii:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman,
   mule-unicode-0100-24ff:-apple-lucida 
grande-medium-r-normal--0-0-75-75-m-0-mac-roman,
   mule-unicode-2500-33ff:-apple-bitstream vera sans mono 
bold-medium-r-normal--0-0-75-75-m-0-mac-roman,
   latin-iso8859-15:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman,
   latin-iso8859-1:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman")

I just  updated my cvs this  morning (including the patch  you just provided
concerning fontset-mac) and i noticed  that my fontset definition is no more
taken into account.

Every    attempt    to    change     the    frame    fontset    by    either
create-fontset-from-fontset-spec,         create-fontset-from-mac-roman-font,
face-font-registry-alternatives  or set-frame-font  seems to  fall  into the
-etl-fixed-medium-r-normal-*-16-  fontset, even choosing  the font  from the
S-Mouse1 menu.

The only command that managed to change the fontset to something else is the
"defaults write" command  that is available since you  added the preferences
support...

-- 
Sébastien Kirche





reply via email to

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