unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: ynyaaa@gmail.com
To: Eli Zaretskii <eliz@gnu.org>
Cc: 33019@debbugs.gnu.org
Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font
Date: Sat, 13 Oct 2018 03:53:26 +0900	[thread overview]
Message-ID: <86sh1bro7t.fsf@gmail.com> (raw)
In-Reply-To: <83pnwfwtkh.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Oct 2018 09:46:38 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: ynyaaa@gmail.com
>> Date: Fri, 12 Oct 2018 00:04:46 +0900
>> 
>> I installed google noto fonts, and tried to use "Noto Mono"
>> with "Noto Sans CJK JP Regular".
>> Evaluating the form below, characters are displayed with "Noto Mono"
>> and default fall back display.
>> 
>> (let ((name  "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-test"))
>>   (new-fontset name '(((0 . #xffff) . "Noto Mono")))
>>   (set-fontset-font name '(#x80 . #xffff)
>>                     "Noto Sans CJK JP Regular" nil 'append)
>>   (set-frame-font name))
>> 
>> After evaluation, the result buffers of some commands are shown as below.
>
> I'm sorry, I must be dense today: I have read the report several
> times, and I don't think I understand what exactly is the behavior you
> think is incorrect.  Could you please spell out what seems to be
> wrong, and why do you think it is wrong?
>
> Also, what exactly is the real-life use case behind this?  Why did you
> need to create a new fontset?
>
> Thanks.

I want to display European characters with "Noto Mono" and
CJK characters with "Noto Sans CJK JP Regular".
(And other scripts with other Noto fonts.)

Evaluating (set-frame-font "fontset-test") results almost same as
evaluating (set-frame-font "Noto Mono"), and
"Noto Sans CJK JP Regular" is not used.





  reply	other threads:[~2018-10-12 18:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-11 15:04 bug#33019: 26.1; can not set fontset as frame font by set-frame-font ynyaaa
2018-10-12  6:46 ` Eli Zaretskii
2018-10-12 18:53   ` ynyaaa [this message]
2018-10-12 19:51     ` Eli Zaretskii
2018-10-13  1:00       ` ynyaaa
2018-10-13  5:54         ` Eli Zaretskii
2018-10-13 10:38           ` ynyaaa
2018-10-13 10:53             ` Eli Zaretskii
2018-10-13 11:23               ` ynyaaa
2018-10-13 12:00                 ` Eli Zaretskii
2018-10-13 13:12                   ` ynyaaa
2018-10-13 13:20                     ` Eli Zaretskii
2018-10-13 14:43                       ` ynyaaa
2018-10-15 16:16                         ` Eli Zaretskii
2022-02-21 14:57                         ` Lars Ingebrigtsen
2022-02-21 15:24                           ` Eli Zaretskii

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=86sh1bro7t.fsf@gmail.com \
    --to=ynyaaa@gmail.com \
    --cc=33019@debbugs.gnu.org \
    --cc=eliz@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).