From: Florian Beck <abstraktion@t-online.de>
To: emacs-devel@gnu.org
Subject: Font Selection
Date: Fri, 20 Jun 2008 23:51:00 -0400 [thread overview]
Message-ID: <873an7bg4b.fsf_-_@sophokles.streitblatt.de> (raw)
In-Reply-To: <18524.27540.745189.622276@gargle.gargle.HOWL> (T. V. Raman's message of "Fri, 20 Jun 2008 19:46:44 -0700")
Hi,
font selection still does not seem to work as expected. CVS checkout as
of 2008-06-19:
Execute this:
emacs -Q
(create-fontset-from-fontset-spec "-*-DejaVu Serif-medium-r-normal-*-10-*-*-*-*-*-fontset-serif")
(set-default-font "fontset-serif")
Test:
ͰͱͲͳʹ͵Ͷͷͺͻͼͽ;Ϳ΄΅Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξ
Check if set-fontset-font works for "fontset-serif":
(set-fontset-font "fontset-serif" 'greek (font-spec :family "Analecta" ))
Well, kind of. This only affects undefined characters. It *should* set
all greek characters to "Analecta" if this font defines them, should't
it? And "Analecta" *can* display these characters, eg:
(insert (propertize "Β" 'face '(:family "Analecta")))
Now test this (Kharoshthi, unicode range U+10A00 – U+10A5F (68096–68191):
𐨀𐨁𐨂𐨃𐨅𐨆𐨌𐨍𐨎𐨏𐨐𐨑𐨒𐨓𐨕𐨖𐨗𐨙𐨚𐨛𐨜𐨝𐨞𐨟𐨠𐨡𐨢𐨣𐨤𐨥𐨦
I see only boxes, which is ok so far.
Now I set:
(set-fontset-font "fontset-serif" '(68096 . 68191) (font-spec :family "MPH 2B Damase"))
Nothing changes. I still only see only boxes. However, Emacs *can* display (most of)
these characters with this font. Behold:
(insert (propertize "𐨀𐨁𐨂𐨃𐨅𐨆𐨌𐨍𐨎𐨏𐨐𐨑𐨒𐨓𐨕𐨖𐨗𐨙𐨚𐨛𐨜𐨝𐨞𐨟𐨠𐨡𐨢𐨣𐨤𐨥𐨦" 'face '(:family "MPH 2B Damase")))
What is going on?
--
Florian Beck
next prev parent reply other threads:[~2008-06-21 3:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-20 13:15 emacs/cvs: keybindings broken T. V. Raman
2008-06-20 14:42 ` Stefan Monnier
2008-06-21 2:46 ` T. V. Raman
2008-06-21 3:51 ` Florian Beck [this message]
2008-06-21 4:18 ` Stefan Monnier
[not found] <mailman.7733.1254283137.2239.help-gnu-emacs@gnu.org>
2009-09-30 23:01 ` font selection Tim X
-- strict thread matches above, loose matches on Subject: below --
2009-09-29 8:06 Frédéric Boiteux
2009-09-30 8:23 ` Peter Dyballa
2009-09-30 8:31 ` Jaideep Das
2006-05-29 10:18 Gary Wessle
2006-05-30 16:51 ` Kevin Rodgers
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=873an7bg4b.fsf_-_@sophokles.streitblatt.de \
--to=abstraktion@t-online.de \
--cc=emacs-devel@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.
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.