all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: ynyaaa@gmail.com
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 13:53:39 +0300	[thread overview]
Message-ID: <83h8hqungs.fsf@gnu.org> (raw)
In-Reply-To: <86k1mmrv1z.fsf@gmail.com> (ynyaaa@gmail.com)

> From: ynyaaa@gmail.com
> Cc: 33019@debbugs.gnu.org
> Date: Sat, 13 Oct 2018 19:38:00 +0900
> 
> >> (insert (propertize "ABC" 'face '(:family "Noto Serif")))
> >> shows characters with "Noto Serif".
> >> 
> >> (progn (set-fontset-font "fontset-default" '(#x4E00 . #x9FFF)
> >>                          "Noto Sans CJK JP Regular")
> >>        (insert (propertize "\x4E00" 'face '(:family "Noto Serif CJK JP"))))
> >> shows the character with "Noto Sans CJK JP Regular",
> >> not "Noto Serif CJK JP".
> >
> > Why do you define this range of characters to use Noto Sans if you
> > actually want to see it in Noto Serif?  And in any case, why do use
> > :family instead of specific font in the face definition?
> 
> I want to display some web pages partially with serif fonts.

How is the text in those web pages different from the other text,
where you want Sans-Serif fonts?

> Also I want to display chinese language text with "Noto Serif CJK SC"
> or "Noto Serif CJK TC".

But then why do you define the range u+4E00..u+9FFF to be displayed by
"Noto Sans CJK JP"?  This range is for Chinese text, AFAIK.

And this still doesn't answer the question if why do you use :family
instead of specifying the actual fonts you want.





  reply	other threads:[~2018-10-13 10: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
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 [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83h8hqungs.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=33019@debbugs.gnu.org \
    --cc=ynyaaa@gmail.com \
    /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.