From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: anhnmncb <anhnmncb@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs could not show this symbol.
Date: Fri, 29 Feb 2008 12:15:52 +0100 [thread overview]
Message-ID: <4F0C6F38-C90C-42AE-88B0-B302C85778EB@Web.DE> (raw)
In-Reply-To: <86prug7gns.fsf@freebsd.hasee.cpu>
Am 29.02.2008 um 01:25 schrieb anhnmncb:
>> For mule-unicode-0100-24ff
>> encoding I would use a font that has more to offer than Monotype
>> Courier, Lucida Sans Typewriter or DejaVu Sans Mono or Free Mono.
My sentence can be misunderstood: I was recommending to use Lucida
Sans Typewriter or DejaVu Sans Mono or Free Mono instead of Monotype
Courier.
>>
> Vista courier has a symbol even dejavu doesn't contain :``ˏ'' , could
> you see it? ;p
The character you are quoting is MODIFIER LETTER LOW ACUTE ACCENT, U
+02CF. It's not in DejaVu, but it's rather insignificant.
> I think this setting is meant that when the fontset-dejavu donesn't
> have
> a suitable font to show the character, then emacs will use fontset-
> default
> instead, don't know if I correct, but I find that this setting works
> well for me.
No. Initially GNU Emacs has two fontsets defined. None of them is
meant as the other's fall-back. It's more like two trains starting
from the same station: one leaves in this direction giving you the
view of this landscape, the other leaves in that direction giving you
the view of that landscape. No fall-back possible (but in GNU Emacs
you can switch from this to that fontset).
I made experiments with GNU Emacs, launching it with -q and making it
load some ELisp code that uses data defined in X resources:
Emacs.Fontset-0: -b&h-lucidatypewriter-medium-r-*-*-10-*-*-*-*-*-
fontset-mine,\
ascii: -b&h-lucidatypewriter-medium-r-*-*-10-*-*-*-m-*-iso8859-1,\
chinese-gb2312: -misc-han nom a-medium-r-*-*-0-*-*-*-p-*-
gb2312.1980-0,\
gb18030: -misc-han nom a-medium-r-*-*-0-*-*-*-p-*-gb18030.2000-0,\
thai-tis620: -monotype-arial unicode ms-medium-r-*-*-0-*-*-*-p-*-
tis620-2,\
arabic-iso8859-6: -b&h-lucida sans typewriter-medium-r-*-*-0-
*-*-*-m-*-iso8859-6.16,\
japanese-jisx0208: -apple-osaka-medium-r-*-*-0-*-*-*-p-*-
jisx0208.1983-0,\
katakana-jisx0201: -apple-osaka-medium-r-*-*-0-*-*-*-p-*-
jisx0201.1976-0,\
ethiopic-unicode: -misc-ethiopia jiret-medium-r-*-*-0-*-*-*-p-
*-iso10646-1,\
mule-unicode-0100-24ff: -b&h-lucidatypewriter-medium-r-*-*-10-*-*-*-
m-*-iso10646-1,\
mule-unicode-e000-ffff: -b&h-lucidatypewriter-medium-r-*-*-10-*-*-*-
m-*-iso10646-1,\
mule-unicode-2500-33ff: -b&h-lucidatypewriter-medium-r-*-*-10-*-*-*-
m-*-iso10646-1
Emacs.Font: fontset-mine
which allows me to use in the ELisp file:
; (set-fontset-font "fontset-mine" 'bengali-akruti '("Arial Unicode
MS" . "unicode-bmp"))
(set-fontset-font "fontset-mine" (cons (decode-char 'ucs #x10a0)
(decode-char 'ucs #x10ff)) '("dejavu sans mono" .
"iso10646-1")) ; Georgian
(set-fontset-font "fontset-mine" (cons (decode-char 'ucs #x1200)
(decode-char 'ucs #x137f)) '("ethiopia jiret" .
"iso10646-1")) ; Ethiopic
(set-fontset-font "fontset-mine" (cons (decode-char 'ucs #x1380)
(decode-char 'ucs #x139f)) '("code2000" . "iso10646-1")) ;
Ethiopic Supplement
(set-fontset-font "fontset-mine" (cons (decode-char 'ucs #x0980)
(decode-char 'ucs #x09ff)) '("freeserif" . "iso10646-1")) ;
Bengali
I.e. there is no error in using the "fontset-mine" symbol, but GNU
Emacs does not use that fontset, it uses a bad startup fontset with
many empty boxes. When launching GNU Emacs with an additional --
disable-font-backend I can see that my fontset is used (M-x describe-
fontset RET RET) and that the HELLO buffer has much less boxes ...
Maybe the fontset for use with any font backend has to be built from
fontconfig specification ...
>
>> Because you are using monospaced and proportionally spaced fonts in
>> your fontsets:
>>
>> *-*-p-*-iso10646-1
>> *-*-m-*-iso10646-1
> I changed dejavu sans mono to dejavu sans, and m to p, did not work.
Actually the width of glyphs taken from more than one monospaced font
will most probably vary. So a fontset comprised of more than one
(monospaced) font will show variations when it happens that glyphs
from more than one font are used to display that text. When you use
proportionally spaced fonts, *every* glyph has its own personal
width. These fonts are good for menus or pop-up forms.
--
Greetings
Pete
What is this talk of 'release?' Klingons do not make software
'releases.' Our software 'escapes,' leaving a bloody trail of
designers and quality assurance people in its wake.
next prev parent reply other threads:[~2008-02-29 11:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-26 1:11 emacs could not show this symbol anhnmncb
2008-02-26 4:05 ` anhnmncb
2008-02-26 6:33 ` David Hansen
[not found] ` <mailman.7947.1204007911.18990.help-gnu-emacs@gnu.org>
2008-02-26 11:00 ` anhnmncb
2008-02-27 12:09 ` Peter Dyballa
[not found] ` <mailman.7995.1204114181.18990.help-gnu-emacs@gnu.org>
2008-02-28 0:10 ` anhnmncb
2008-02-28 0:56 ` anhnmncb
2008-02-28 10:12 ` Peter Dyballa
2008-02-28 9:49 ` Peter Dyballa
[not found] ` <mailman.8026.1204192187.18990.help-gnu-emacs@gnu.org>
2008-02-28 12:47 ` anhnmncb
2008-02-28 15:01 ` Peter Dyballa
[not found] ` <mailman.8038.1204210929.18990.help-gnu-emacs@gnu.org>
2008-02-29 0:25 ` anhnmncb
2008-02-29 11:15 ` Peter Dyballa [this message]
2008-02-26 11:35 ` Peter Dyballa
2008-02-26 11:46 ` anhnmncb
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=4F0C6F38-C90C-42AE-88B0-B302C85778EB@Web.DE \
--to=peter_dyballa@web.de \
--cc=anhnmncb@gmail.com \
--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).