From: GianUberto.Lauri@eng.it (Gian Uberto Lauri)
Cc: help-gnu-emacs@gnu.org
Subject: Re: Special characters on Emacs/Mac?
Date: Tue, 8 Mar 2005 05:45:10 +0100 [thread overview]
Message-ID: <16941.11734.284988.657561@mail.eng.it> (raw)
In-Reply-To: <87zmxfcz62.fsf-monnier+gnu.emacs.help@gnu.org>
>>>>> "SM" == Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Actually I think the problem is not the input, but the font: how do
>> I change my (set-face-font 'default "-apple-Bitstream Vera Sans
>> Mono-regular-r-normal--13-140-75-75-m-120-mac-roman") to use
>> ISO-Latin-1 encoding instead of mac-roman? The documentation
>> didn't really help me there... (and my tries were worthless)
SM> No, the font itself uses mac-roman encoding, so you'd have to
SM> change the font-data itself. Emacs happily uses fonts with
SM> mac-roman encodings, so there's no reason to make such a change.
It was a long and weary battle but I got some advice and solved the
problem with this:
(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,
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--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")
for 9 points
(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")
Sadly I lost the references for the credits :(.
Hmmm... I think thak the use of mac roman is in second place for
deserving a rightful spanking (for Apple developers) after the
implementation of cp, mv and so on ... :)
--
/\ ___
/___/\__|_|\_|__|___Gian Uberto Lauri_____________________
//--\ | | \| | Integralista GNUslamico
\/ e coltivatore diretto di software
next prev parent reply other threads:[~2005-03-08 4:45 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-07 6:17 Special characters on Emacs/Mac? Ulrich Hobelmann
2005-03-07 6:55 ` roodwriter
2005-03-07 14:23 ` Stefan Monnier
2005-03-07 9:55 ` Peter Dyballa
2005-03-07 14:26 ` Stefan Monnier
2005-03-08 4:45 ` Gian Uberto Lauri [this message]
2005-03-08 13:22 ` Stefan Monnier
[not found] ` <mailman.2958.1110259118.32256.help-gnu-emacs@gnu.org>
2005-03-08 14:26 ` Ulrich Hobelmann
2005-03-08 22:17 ` Peter Dyballa
[not found] ` <mailman.3061.1110322162.32256.help-gnu-emacs@gnu.org>
2005-03-09 1:15 ` Ulrich Hobelmann
2005-03-09 8:30 ` Peter Dyballa
2005-03-09 10:41 ` Sébastien Kirche
2005-03-09 14:20 ` Stefan Monnier
2005-03-09 15:11 ` Sébastien Kirche
2005-03-08 4:32 ` Ulrich Hobelmann
2005-03-08 9:16 ` Peter Dyballa
-- strict thread matches above, loose matches on Subject: below --
2005-03-08 14:50 Gian Uberto Lauri
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16941.11734.284988.657561@mail.eng.it \
--to=gianuberto.lauri@eng.it \
--cc=help-gnu-emacs@gnu.org \
--cc=saint@eng.it \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.