[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Font Selection
From: |
Florian Beck |
Subject: |
Font Selection |
Date: |
Fri, 20 Jun 2008 23:51:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
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