From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Font selection algorithm / how do fonts work / what do you suggest for mono font?
Date: Tue, 27 Sep 2016 00:07:58 +0300 [thread overview]
Message-ID: <87r386gyj5.fsf@gavenkoa.example.com> (raw)
In-Reply-To: 83wphz9ylo.fsf@gnu.org
On 2016-09-26, Eli Zaretskii wrote:
>> Actually I have a problem, as I wrote ``terminus`` font missed some glyphs and
>> I expect that:
>>
>> (set-fontset-font nil nil "-misc-fixed-*-*-*--13-*-*-*-*-*-*-*")
>>
>> was as fallback. But it has no effect. Fix with range resolve issue:
>>
>> ;; MODIFIER LETTER is not present in terminus, this includes ˌːˈ characters.
>> (set-fontset-font nil '(#x02C0 . #x02FF) "-misc-fixed-*-*-*--13-*-*-*-*-*-*-*")
>>
>> Do I need file bug or I am wrong with (set-fontset-font nil nil ...)?
>
> On my system these characters display well by default. If the problem
> is that these characters are displayed, but you don't like the font
> Emacs selects, I think that's something you should customize 9as you
> did), and not a bug you should report.
I was confused with:
(set-fontset-font NAME TARGET FONT-SPEC &optional FRAME ADD)
TARGET may be nil. In that case, use FONT-SPEC for any characters for
that no FONT-SPEC is specified.
With "emacs -Q" and:
(set-frame-font "-*-terminus-medium-r-*--14-*-*-*-c-*-*-*")
(describe-fontset "default-fontset")
for symbol:
ː
code point in charset: 0x02D0
I got at least such ranges that contain 0x02D0:
¼ .. Ѐ (#xBC .. #x400)
-*-*-*-*-*-*-*-*-*-*-*-*-microsoft-cp1251
[-xos4-terminus-medium-r-normal--14-140-72-72-c-80-microsoft-cp1251]
ː (#x2D0)
-*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1
[-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1]
-*-*-*-*-*-*-*-*-*-*-*-*-iso8859-2
[-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1]
-*-*-*-*-*-*-*-*-*-*-*-*-iso8859-3
[-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1]
-*-*-*-*-*-*-*-*-*-*-*-*-iso8859-4
[-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1]
-*-*-*-*-*-*-*-*-*-*-*-*-iso8859-9
[-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1]
-*-*-*-*-*-*-*-*-*-*-*-*-iso8859-10
[-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1]
-*-*-*-*-*-*-*-*-*-*-*-*-iso8859-13
[-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1]
-*-*-*-*-*-*-*-*-*-*-*-*-iso8859-14
[-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1]
-*-*-*-*-*-*-*-*-*-*-*-*-iso8859-15
[-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1]
-*-*-*-*-*-*-*-*-*-*-*-*-iso8859-16
[-xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1]
-*-*-*-*-*-*-*-*-*-*-*-*-viscii1.1-1
[-unknown-Gentium-normal-normal-normal-*-14-*-*-*-*-0-iso10646-1]
-*-*-*-*-*-*-*-*-*-*-*-*-iso10646-1
-*-*-*-*-*-*-*-*-*-*-*-*-ksc5601.1987-0
C-u C-x = shown that "Gentium" font is used for displaying character.
Is that mean that for "ː" character font is defined and so
(set-fontset-font nil **nil** FONT-SPEC &optional FRAME ADD)
isn't taken in account (when TARGET == nil)?
--
http://defun.work/
next prev parent reply other threads:[~2016-09-26 21:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-25 15:00 Font selection algorithm / how do fonts work / what do you suggest for mono font? Oleksandr Gavenko
2016-09-25 15:33 ` Eli Zaretskii
2016-09-25 19:04 ` Oleksandr Gavenko
2016-09-26 2:36 ` Eli Zaretskii
2016-09-26 21:07 ` Oleksandr Gavenko [this message]
2016-09-27 14:52 ` Eli Zaretskii
2016-09-25 16:13 ` Grant Rettke
2016-09-25 16:25 ` Eli Zaretskii
2016-09-25 19:00 ` Yuri Khan
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=87r386gyj5.fsf@gavenkoa.example.com \
--to=gavenkoa@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).