X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: ynyaaa@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 11 Oct 2018 15:06:02 +0000 Resent-Message-ID: <handler.33019.B.153927034410300 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 33019 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.153927034410300 (code B ref -1); Thu, 11 Oct 2018 15:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Oct 2018 15:05:44 +0000 Received: from localhost ([127.0.0.1]:45389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gAcX2-0002g4-1w for submit <at> debbugs.gnu.org; Thu, 11 Oct 2018 11:05:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ynyaaa@HIDDEN>) id 1gAcX0-0002ft-K1 for submit <at> debbugs.gnu.org; Thu, 11 Oct 2018 11:05:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ynyaaa@HIDDEN>) id 1gAcWo-00010J-WB for submit <at> debbugs.gnu.org; Thu, 11 Oct 2018 11:05:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <ynyaaa@HIDDEN>) id 1gAcWi-0000rH-3f for submit <at> debbugs.gnu.org; Thu, 11 Oct 2018 11:05:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <ynyaaa@HIDDEN>) id 1gAcWe-0002IY-0C for bug-gnu-emacs@HIDDEN; Thu, 11 Oct 2018 11:05:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ynyaaa@HIDDEN>) id 1gAcWS-0000PW-Dq for bug-gnu-emacs@HIDDEN; Thu, 11 Oct 2018 11:05:14 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:46731) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <ynyaaa@HIDDEN>) id 1gAcWM-0000CZ-SE for bug-gnu-emacs@HIDDEN; Thu, 11 Oct 2018 11:05:08 -0400 Received: by mail-pf1-x42a.google.com with SMTP id r64-v6so4551439pfb.13 for <bug-gnu-emacs@HIDDEN>; Thu, 11 Oct 2018 08:04:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=nfMIFGU+l3a5WM3WEFJtdTBFwAADRzmf383g5e293Go=; b=mZL8oDfirn9xfwGOCoyjJpxTMZldHwsF/olJ+MH1K8K+lww77n9WAUxzIdjmrcRjIL KSkpr0M3rItyUWoKxsduHrjXj6/XKEwroSiYeEo0eQTlYA7Pd+qVs6q1ny8MMftVMlEm 7WLYuRg+k+rWk1ZMrtljjV5DjDAipMegICgJF8i+QvnGIEVe+aM6vMgNoRG7tj1ThOZD H5t7ZVuDcO6zF2P6CMKJJgc9VrrCjJ6jSjIUmiYxjYln6G1gglJRIRxGugapJvz8qhzs PDbONl907P46Nc9WHPZs67787NRyKzsoLLMuHtilP2JAGE6RdpmWnmwjfsAF0SOzFu42 /8Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=nfMIFGU+l3a5WM3WEFJtdTBFwAADRzmf383g5e293Go=; b=D+MaC+FGcry6tBy7I8xs5HEg7OdjhxZ2VzC68kXZMwjF4RWm+BkNXC24fuz0YmmuKw 7CifiYfr8rhuITjA/saFNqaC3/6bFzUfqCqujH54GmdDLUTiLfkrZOEbb4EFAHABqzBt BP9yJyO0SnqwcxCAu9lSnTKi14cervXBIOZ7ejGrXZSUeGPIsja70qjoALrsX4YHHLEq daHF8WnVO6Gg2eneEAe/HdYZHJ0uQhNpMQxyhFRGV0F6HeZHYzrdb6UIfo3vhSV9sX4W itmFL3uWKNI5OIq+tZ/w+UifXXe62EcRWhWiVvn+16XCRSfhhVzIfczJUiHZxcQhUDJV ZnBQ== X-Gm-Message-State: ABuFfogfO1nXVUm16+KTQUJiFTye5EaF8zgsgjPKej+J/Yax3b5Pd+9T UYp+i//A5cBlrZt/WFTYhzGwPCLC X-Google-Smtp-Source: ACcGV60YRsIr7kzK9NazML7hWmQtMvp7j2oiAC88SssJtAY5oOWmFJZu32PjuI2eWvI1wZzCr7lZfw== X-Received: by 2002:a63:e141:: with SMTP id h1-v6mr1778297pgk.47.1539270293627; Thu, 11 Oct 2018 08:04:53 -0700 (PDT) Received: from HP (east49-p55.eaccess.hi-ho.ne.jp. [219.105.5.56]) by smtp.gmail.com with ESMTPSA id n82-v6sm35227398pfg.21.2018.10.11.08.04.52 for <bug-gnu-emacs@HIDDEN> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 08:04:53 -0700 (PDT) From: ynyaaa@HIDDEN Date: Fri, 12 Oct 2018 00:04:46 +0900 Message-ID: <86bm80a5ip.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) 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. On 一(#x4E00) C-u M-x = > display: by this font (glyph code) > uniscribe:-outline-游ゴシック-normal-normal-normal-mono-17-*-*-*-p-*-jisx0208*-* (#x4B2) (partial portion of the buffer, same as before evaluation) M-x describe-fontset RET fontset-test RET >Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-test >CHAR RANGE (CODE RANGE) > FONT NAME (REQUESTED and [OPENED]) >C-@ .. DEL > -*-Noto Mono-*-*-*-*-*-*-*-*-*-*-*-* >\200 .. \uFFFF (#x80 .. #xFFFF) > -*-Noto Mono-*-*-*-*-*-*-*-*-*-*-*-* > -*-Noto Sans CJK JP Regular-*-*-*-*-*-*-*-*-*-*-*-* > > ---<fallback to the default fontset>--- The rest of the buffer is snipped. M-x describe-fontset RET RET >Fontset: -outline-Noto Mono-normal-normal-normal-mono-17-*-*-*-c-*-fontset-auto1 >CHAR RANGE (CODE RANGE) > FONT NAME (REQUESTED and [OPENED]) >C-@ .. \u00FF (#x43 .. #xFF) > -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1 >\u0100 .. \x3FFF7F (#x100 .. #x3FFF7F) > -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1 > [-outline-Noto Mono-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1] >\200 .. \x3FFF7F (#x3FFF80 .. #x3FFFFF) > -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1 > [-outline-Noto Mono-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1] > > ---<fallback to the default fontset>--- The rest of the buffer is snipped. M-x describe-font RET RET >name (opened by): -outline-Noto Mono-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 > full name: Noto Mono-10.0 > size: 17 > height: 20 > baseline-offset: 0 >relative-compose: 0 > default-ascent: 16 > ascent: 16 > descent: 4 > average-width: 10 > space-width: 10 > max-width: 14 M-x describe-face RET default RET >Face: default (sample) (customize this face) > >Documentation: >Basic default face. > >Defined in ‘faces.el’. > > Family: Noto Mono > Foundry: outline > Width: normal > Height: 102 > Weight: normal > Slant: normal > Foreground: black >DistantForeground: unspecified > Background: white > Underline: nil > Overline: nil > Strike-through: nil > Box: nil > Inverse: nil > Stipple: nil > Font: #<font-object -outline-Noto Mono-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1> > Fontset: -outline-Noto Mono-normal-normal-normal-mono-17-*-*-*-c-*-fontset-auto1 > Inherit: nil In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-31 built on CIRROCUMULUS Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea Windowing system distributor 'Microsoft Corp.', version 6.3.9600 Recent messages: Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (network-stream nsm starttls tls gnutls mailalias smtpmail auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs misearch multi-isearch pp shadow sort mail-extr emacsbug message rmc puny seq dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-print byte-opt gv bytecomp byte-compile cconv debug mule-diag help-mode easymenu cl-loaddefs cl-lib elec-pair time-date mule-util japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 113686 22262) (symbols 56 23356 3) (miscs 48 73 289) (strings 32 35130 2039) (string-bytes 1 912632) (vectors 16 14959) (vector-slots 8 630810 24636) (floats 8 55 416) (intervals 56 1585 37) (buffers 992 17))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: ynyaaa@HIDDEN Subject: bug#33019: Acknowledgement (26.1; can not set fontset as frame font by set-frame-font) Message-ID: <handler.33019.B.153927034410300.ack <at> debbugs.gnu.org> References: <86bm80a5ip.fsf@HIDDEN> X-Gnu-PR-Message: ack 33019 X-Gnu-PR-Package: emacs Reply-To: 33019 <at> debbugs.gnu.org Date: Thu, 11 Oct 2018 15:06:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 33019 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 33019: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33019 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 12 Oct 2018 06:47:02 +0000 Resent-Message-ID: <handler.33019.B33019.15393268097024 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: ynyaaa@HIDDEN Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.15393268097024 (code B ref 33019); Fri, 12 Oct 2018 06:47:02 +0000 Received: (at 33019) by debbugs.gnu.org; 12 Oct 2018 06:46:49 +0000 Received: from localhost ([127.0.0.1]:45835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gArDk-0001pD-18 for submit <at> debbugs.gnu.org; Fri, 12 Oct 2018 02:46:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1gArDj-0001p1-0F for 33019 <at> debbugs.gnu.org; Fri, 12 Oct 2018 02:46:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gArDY-00086H-Ml for 33019 <at> debbugs.gnu.org; Fri, 12 Oct 2018 02:46:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gArDY-00086A-Hn; Fri, 12 Oct 2018 02:46:36 -0400 Received: from [176.228.60.248] (port=3291 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1gArDY-0005j2-5c; Fri, 12 Oct 2018 02:46:36 -0400 Date: Fri, 12 Oct 2018 09:46:38 +0300 Message-Id: <83pnwfwtkh.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <86bm80a5ip.fsf@HIDDEN> (ynyaaa@HIDDEN) References: <86bm80a5ip.fsf@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) > From: ynyaaa@HIDDEN > 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.
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: ynyaaa@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 12 Oct 2018 18:54:02 +0000 Resent-Message-ID: <handler.33019.B33019.153937042316820 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.153937042316820 (code B ref 33019); Fri, 12 Oct 2018 18:54:02 +0000 Received: (at 33019) by debbugs.gnu.org; 12 Oct 2018 18:53:43 +0000 Received: from localhost ([127.0.0.1]:47474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gB2ZD-0004NE-Ku for submit <at> debbugs.gnu.org; Fri, 12 Oct 2018 14:53:43 -0400 Received: from mail-pl1-f176.google.com ([209.85.214.176]:34074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ynyaaa@HIDDEN>) id 1gB2ZB-0004N1-VU for 33019 <at> debbugs.gnu.org; Fri, 12 Oct 2018 14:53:42 -0400 Received: by mail-pl1-f176.google.com with SMTP id f18-v6so6345554plr.1 for <33019 <at> debbugs.gnu.org>; Fri, 12 Oct 2018 11:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ckj3u2WyKohv/mH1vv3HvavlP06JSJCBJkTprWSk7No=; b=ELG1bW0qEzxfbL+vCwzR/nLm7f5ILJBRrQgYDVv375Z03WDnDfY1k5Xr9qi2yC3o/i 1HmLwPfCCXdKOUWgbxC97w+56FqoqssAH8LyNQaJ36ptBmPmB7Qb98dNIa7rg4GhYBTE e7KXHl87r/FSOO084V369HtyKfMUO+96tsBeUYVWu0dkHxxTNehJwKmxcrfrHQ7SPImA H3CTCPR7hlHzRxdTFUYnsGzGN50l+bBsvp6+umM35hQmLnnSzYzXZ+z57fdy6LFSmGL1 HRLXY7YDfBR3O2nblXcMdBScyW3mOte/96Mone0FFHKLBOavQl/FEtcGWAWe/OrKCEGZ //lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ckj3u2WyKohv/mH1vv3HvavlP06JSJCBJkTprWSk7No=; b=SC+0vCn7yzOXCAQStnFJ2UJv3U5JWQn0JdDQijT29MQBqNjAFTn0854W7d1b72I7H3 wZmbFWFCPdm7aOhVuAb84yaXA6cCzaJ2GgQdzG4xkBLJzA6PPLbHu36wNK8SuxnfJ5Sv 2iGRuqfeeFUe0MDIspuLozCiamvlijtEHfIGCq71CauioKQXbkY8ysQu7BaezMhaGM5t 37f20om1IkADGqnZYw3uB7HFzrcv/Wo3gMXZphwsPgou6Q/1o+N/kcKM+P6E8XHpTfdM PNjU3LStlGZixbX0HdD7g7Nd3rruKWiQXerUElF36kJgAPioa+17cn05C9e7CvTmQhyM iJrw== X-Gm-Message-State: ABuFfohJ9sj1YaoQEt4jTSe8DEwMtU8GY9OyTiIjUvuflNziM52/+JFL HEt9UILCEfv04BOgKJzfpabyOoEa X-Google-Smtp-Source: ACcGV629Hf/E1M5s+ApgjNrJEyoY5Pc3M1UgLheeRwZpRiZlQ9jc252l4BDbSbuZQxRPdgxqqsJm5g== X-Received: by 2002:a17:902:24e7:: with SMTP id l36-v6mr6987773plg.234.1539370415586; Fri, 12 Oct 2018 11:53:35 -0700 (PDT) Received: from HP (east49-p55.eaccess.hi-ho.ne.jp. [219.105.5.56]) by smtp.gmail.com with ESMTPSA id a14-v6sm2728234pgi.75.2018.10.12.11.53.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Oct 2018 11:53:34 -0700 (PDT) From: ynyaaa@HIDDEN References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> Date: Sat, 13 Oct 2018 03:53:26 +0900 In-Reply-To: <83pnwfwtkh.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 12 Oct 2018 09:46:38 +0300") Message-ID: <86sh1bro7t.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: ynyaaa@HIDDEN >> 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.
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 12 Oct 2018 19:52:02 +0000 Resent-Message-ID: <handler.33019.B33019.153937390422071 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: ynyaaa@HIDDEN Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.153937390422071 (code B ref 33019); Fri, 12 Oct 2018 19:52:02 +0000 Received: (at 33019) by debbugs.gnu.org; 12 Oct 2018 19:51:44 +0000 Received: from localhost ([127.0.0.1]:47487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gB3TM-0005jv-JS for submit <at> debbugs.gnu.org; Fri, 12 Oct 2018 15:51:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1gB3TK-0005jb-IZ for 33019 <at> debbugs.gnu.org; Fri, 12 Oct 2018 15:51:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gB3TB-0005ZT-Vf for 33019 <at> debbugs.gnu.org; Fri, 12 Oct 2018 15:51:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gB3T4-0005Xz-Pc; Fri, 12 Oct 2018 15:51:28 -0400 Received: from [176.228.60.248] (port=4605 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1gB3Sy-00011n-9r; Fri, 12 Oct 2018 15:51:23 -0400 Date: Fri, 12 Oct 2018 22:51:23 +0300 Message-Id: <834ldrvt8k.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <86sh1bro7t.fsf@HIDDEN> (ynyaaa@HIDDEN) References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) > From: ynyaaa@HIDDEN > Cc: 33019 <at> debbugs.gnu.org > Date: Sat, 13 Oct 2018 03:53:26 +0900 > > 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.) Did you try to customize fontest-default, instead of introducing new fontsets? There are quire a few examples of using set-fontset-font in fontset.el and some more in the Emacs manual. I don't see why would you need to use more than fontset-default. Just customize it so that the CJK characters are displayed by Noto Sans CJK JP, and make Noto Mono your default font.
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: ynyaaa@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 13 Oct 2018 01:01:02 +0000 Resent-Message-ID: <handler.33019.B33019.153939245018108 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.153939245018108 (code B ref 33019); Sat, 13 Oct 2018 01:01:02 +0000 Received: (at 33019) by debbugs.gnu.org; 13 Oct 2018 01:00:50 +0000 Received: from localhost ([127.0.0.1]:47601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gB8IT-0004hz-Na for submit <at> debbugs.gnu.org; Fri, 12 Oct 2018 21:00:49 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:44005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ynyaaa@HIDDEN>) id 1gB8IS-0004hn-23 for 33019 <at> debbugs.gnu.org; Fri, 12 Oct 2018 21:00:48 -0400 Received: by mail-pf1-f180.google.com with SMTP id p24-v6so6973124pff.10 for <33019 <at> debbugs.gnu.org>; Fri, 12 Oct 2018 18:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=xxWUYPkHxUWyTNn2osG8zgAovnAgfRuvHNGWFQTUh74=; b=mia+JQYl9k9nFul09DB8o+NXPjzVLyq5drtNnFSC6IDxym0oP65SlZJQnAx7ih9g0e WxzeUBjit1gPFGA6yuom3bDWHXqU5jn4o2GBJce9FMho3AN8PvLyTRm8lAwO0M9GH4Xu g/LJpNzKv+cb7iz8r6epgZnt6BezzVs32WpjYgreL4RL77g7Y8IQ/lxGrMWqajd/aIUV p0Wl7v5b19+Sw692mApExvXFFjdmnigqo7nTAtAVjRVMQUtYeKdayjh0rEnLyuZTt82U KI7GduHPcKjx2WcP9rDyU6iaV96EDUuSZp+GP+S7hr/SdGpMlPyqzmwgmll4a2a9IqyW qThQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=xxWUYPkHxUWyTNn2osG8zgAovnAgfRuvHNGWFQTUh74=; b=IiEfqVY4je/9S/ox4yoj31tkGdbRxSKcWuBUXCMJyovmcNvfgTJAjIJctpY+n8t1g+ SrfEnhZKHV+ZjEQbxImyeErX0CdUPiVpiQeDTfMoaEjoQ6k6zEGROaJV3UdZ/Ackarel sso5mzwkIdAwVZAhMzoBt1+iKiMvTQvhmJbk6p5bYHzKiDOREG0iQnyOc1Ui39icGRAi k3Qotd6CB4/uCAIkwHK8n/MsJnGETsceo9Jqhapd/2qgdIK8JXXkCqRk4pyUQMjjG2yo Bnf3oMe6FRXki99PRRh2Cl+wgWYXIc8p/FSs71mmpbuvmGLKS7yskjbSauFkoz1ZGHhQ +zAA== X-Gm-Message-State: ABuFfohcYinOvx5GcWR1GYC6oi9NlBCjROcmg4iT7GBxMs3l5Mr2TNG2 5PvxBvoHacA3fBvwpEXGy+Pri1Oy X-Google-Smtp-Source: ACcGV63t5ee2oog0Lu2o7k9hrIXXcTh2p+Xe99xjmmWvtQIYVAbiXjAR0ZWgRxcMjnozHCEGfomj7g== X-Received: by 2002:a62:5887:: with SMTP id m129-v6mr8241011pfb.254.1539392441862; Fri, 12 Oct 2018 18:00:41 -0700 (PDT) Received: from HP (east49-p55.eaccess.hi-ho.ne.jp. [219.105.5.56]) by smtp.gmail.com with ESMTPSA id x15-v6sm6313957pfd.27.2018.10.12.18.00.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Oct 2018 18:00:41 -0700 (PDT) From: ynyaaa@HIDDEN References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> Date: Sat, 13 Oct 2018 10:00:32 +0900 In-Reply-To: <834ldrvt8k.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 12 Oct 2018 22:51:23 +0300") Message-ID: <86o9byslsf.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: ynyaaa@HIDDEN >> Cc: 33019 <at> debbugs.gnu.org >> Date: Sat, 13 Oct 2018 03:53:26 +0900 >> >> 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.) > > Did you try to customize fontest-default, instead of introducing new > fontsets? There are quire a few examples of using set-fontset-font in > fontset.el and some more in the Emacs manual. > > I don't see why would you need to use more than fontset-default. Just > customize it so that the CJK characters are displayed by Noto Sans CJK > JP, and make Noto Mono your default font. When a font family is specified for some range of "fontset-default", :family specification of text face is ignored in the range. (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". Perhaps defining "fontset-serif" and specify '(:fontset "fontset-serif") is required.
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 13 Oct 2018 05:55:01 +0000 Resent-Message-ID: <handler.33019.B33019.153941005013033 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: ynyaaa@HIDDEN Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.153941005013033 (code B ref 33019); Sat, 13 Oct 2018 05:55:01 +0000 Received: (at 33019) by debbugs.gnu.org; 13 Oct 2018 05:54:10 +0000 Received: from localhost ([127.0.0.1]:47666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gBCsK-0003O7-Oh for submit <at> debbugs.gnu.org; Sat, 13 Oct 2018 01:54:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1gBCsI-0003Nu-SI for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 01:54:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gBCsA-00016N-Kf for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 01:54:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gBCsA-00016H-HE; Sat, 13 Oct 2018 01:53:58 -0400 Received: from [176.228.60.248] (port=2040 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1gBCsA-000475-3t; Sat, 13 Oct 2018 01:53:58 -0400 Date: Sat, 13 Oct 2018 08:54:02 +0300 Message-Id: <831s8uwfwl.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <86o9byslsf.fsf@HIDDEN> (ynyaaa@HIDDEN) References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> <86o9byslsf.fsf@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) > From: ynyaaa@HIDDEN > Cc: 33019 <at> debbugs.gnu.org > Date: Sat, 13 Oct 2018 10:00:32 +0900 > > > I don't see why would you need to use more than fontset-default. Just > > customize it so that the CJK characters are displayed by Noto Sans CJK > > JP, and make Noto Mono your default font. > > When a font family is specified for some range of "fontset-default", > :family specification of text face is ignored in the range. So the problem is not the fontset but displaying faces defined using :family, is that right? > (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? > Perhaps defining "fontset-serif" and specify '(:fontset "fontset-serif") > is required. I have no idea. This area is notoriously under-documented, so if you insist on making new fontsets, you are on your own. Sorry.
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: ynyaaa@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 13 Oct 2018 10:39:02 +0000 Resent-Message-ID: <handler.33019.B33019.15394270986514 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.15394270986514 (code B ref 33019); Sat, 13 Oct 2018 10:39:02 +0000 Received: (at 33019) by debbugs.gnu.org; 13 Oct 2018 10:38:18 +0000 Received: from localhost ([127.0.0.1]:47784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gBHJK-0001h0-Ed for submit <at> debbugs.gnu.org; Sat, 13 Oct 2018 06:38:18 -0400 Received: from mail-pg1-f179.google.com ([209.85.215.179]:36483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ynyaaa@HIDDEN>) id 1gBHJI-0001gn-RL for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 06:38:17 -0400 Received: by mail-pg1-f179.google.com with SMTP id f18-v6so7002810pgv.3 for <33019 <at> debbugs.gnu.org>; Sat, 13 Oct 2018 03:38:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=JNmhUljxhJdqzAKGuC4qeb2Ed3ztbRz1PGWOI8MmYa4=; b=VNd0MV8qfq2OusMpegvlGxP/1ZOOi10t5souUDwIKVdCeCh723lkb4MGHbyI4TUm6n +r59d7Hgnzynzwi1wdeZwpgLs8SqtX4nv2FJ9FDni3h8bwEmY0uyuA6hfNx/9U9SrTs6 2/HxyJTIf3tDSv5J9ULbs+CHEPkUuFy3Rh+S2bBPisgZCr5vRkhteR4+HwRHRNlt1I1S nv1toKL2E1Q7v6kkFuy0ud0PrnVMI5qln39oEDSSmc0BLvn+LEV+WgbX7TNMyzvpIPtI wUDgbW3xP7PejOh96KPXoVsVafF0825J8th5vkKeT/PhLBP6FXpYmwQ3bDg7lPd0vSdK II2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=JNmhUljxhJdqzAKGuC4qeb2Ed3ztbRz1PGWOI8MmYa4=; b=sL4o2w2TjVnFiOjEuczOqF7qcegpdeBReyvUFZS3DIHqZkqGAvkUylTDo1I5/rBY3v EDhOEDYKaRnOzNHIMBJ45RFY83PqlZi3H+qYpMj0ftldwtxP0uHhQkzuAQzdNnvERUHS TgpeQcLPTa8C64MBT4zvVOr1MGr5dtbg2nzzMM7Ups/2NEQRbg2t+sCLhpLebLvrEys+ 4fJXwNmQ6DzaGk8JOUqAzOIxYr6c4Ixrf0wKCXTOA1KgaOwXDDTWVJ3IXpiJ/SGbxcvc QNu18rojlnp+JWEUCyPS7taQ20dfBUD0rZqJPaZHZYyX304qqSSj+GJsgDOz2eJyU2vE l/1A== X-Gm-Message-State: ABuFfoj1e0GhSegoTMp6O2ZTmvaXTk7vBOc2EQt0aYGx97Wp1IJS8A/j mhwnFfSNaEAKaG37MBaQI4hgOlfl X-Google-Smtp-Source: ACcGV63wlr6awxgGVZ+v/lCL8sfxAVaaQmwod3QCYC7qIUE0m7EsDlyxpP0or1Engg12IC68HLmNFw== X-Received: by 2002:a62:5d0c:: with SMTP id r12-v6mr9824937pfb.123.1539427090730; Sat, 13 Oct 2018 03:38:10 -0700 (PDT) Received: from HP (east49-p55.eaccess.hi-ho.ne.jp. [219.105.5.56]) by smtp.gmail.com with ESMTPSA id z63-v6sm5415260pfz.31.2018.10.13.03.38.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Oct 2018 03:38:10 -0700 (PDT) From: ynyaaa@HIDDEN References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> <86o9byslsf.fsf@HIDDEN> <831s8uwfwl.fsf@HIDDEN> Date: Sat, 13 Oct 2018 19:38:00 +0900 In-Reply-To: <831s8uwfwl.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 13 Oct 2018 08:54:02 +0300") Message-ID: <86k1mmrv1z.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> When a font family is specified for some range of "fontset-default", >> :family specification of text face is ignored in the range. > > So the problem is not the fontset but displaying faces defined using > :family, is that right? It may be an alternative solution. >> (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. Also I want to display chinese language text with "Noto Serif CJK SC" or "Noto Serif CJK TC".
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 13 Oct 2018 10:54:02 +0000 Resent-Message-ID: <handler.33019.B33019.15394280257978 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: ynyaaa@HIDDEN Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.15394280257978 (code B ref 33019); Sat, 13 Oct 2018 10:54:02 +0000 Received: (at 33019) by debbugs.gnu.org; 13 Oct 2018 10:53:45 +0000 Received: from localhost ([127.0.0.1]:47796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gBHYH-00024c-Da for submit <at> debbugs.gnu.org; Sat, 13 Oct 2018 06:53:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1gBHYF-00024N-KS for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 06:53:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gBHY7-0006CB-6d for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 06:53:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gBHY7-0006C7-1r; Sat, 13 Oct 2018 06:53:35 -0400 Received: from [176.228.60.248] (port=1585 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1gBHY6-0003EY-LT; Sat, 13 Oct 2018 06:53:35 -0400 Date: Sat, 13 Oct 2018 13:53:39 +0300 Message-Id: <83h8hqungs.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <86k1mmrv1z.fsf@HIDDEN> (ynyaaa@HIDDEN) References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> <86o9byslsf.fsf@HIDDEN> <831s8uwfwl.fsf@HIDDEN> <86k1mmrv1z.fsf@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) > From: ynyaaa@HIDDEN > Cc: 33019 <at> 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.
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: ynyaaa@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 13 Oct 2018 11:25:02 +0000 Resent-Message-ID: <handler.33019.B33019.153942985311104 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.153942985311104 (code B ref 33019); Sat, 13 Oct 2018 11:25:02 +0000 Received: (at 33019) by debbugs.gnu.org; 13 Oct 2018 11:24:13 +0000 Received: from localhost ([127.0.0.1]:47809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gBI1l-0002t2-D7 for submit <at> debbugs.gnu.org; Sat, 13 Oct 2018 07:24:13 -0400 Received: from mail-pf1-f173.google.com ([209.85.210.173]:34279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ynyaaa@HIDDEN>) id 1gBI1j-0002sf-1I for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 07:24:12 -0400 Received: by mail-pf1-f173.google.com with SMTP id f78-v6so1683589pfe.1 for <33019 <at> debbugs.gnu.org>; Sat, 13 Oct 2018 04:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=mcCxKELmmqrF8LabOMVTd7BSMpuQEvYlrF9qsXeCO10=; b=Jg+IR2PfwyGXCH7tscK/mJyKR5wgNb/mTV4FLOqhPfMCz6RbIPm98FFE0neTahvjcC WEVX9RS6xO/V5E0w3/96FqtvyiukNS0NROeMYuLVwEHdvpzxoFcgOKt8gedvY9mFuSwW vSRO8eqYf/dvJIOneI+Dpu/ualL/fFs72o2m/LEy+F9toi3fL0kyWv8y5NbIOTcXU3o9 iBLHduNsolDuYbGTbu0A+PVWmvztW7Cb+65aum/abXePyKPh47W0To12d2uYmFvfEg4n knlK2Gi5t2hYGSgsU3CLHxbc7x2Zfkb/wdabvD8qnOg+eU4vom8EhDg6co8Zi1U9XtOR Wfow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=mcCxKELmmqrF8LabOMVTd7BSMpuQEvYlrF9qsXeCO10=; b=elxBRKfxE742AGrC1f3G5AYFRkLTcWkTtr2gdwQQQzwXfjn6+8kKWqO+yWOAvn3A/Y 2ztxZkqkQS7jGm5yvl3v5ojH2e/iCbNkq4W4FhfKTtMrfvumWOSNcV1m+3Ylh/8XsMrY NfQSb0siUgdtp06ZHsCxPFUqbAADygZJOPtxSvdZVqMsFoiCIQ0VJAIO31Qwl/Q2Wifs FArmLSPpfevfyEBC7jR+eS60DWOwMMYcXmPL/0htfWlequv6bcAwE7hfipSlGTRS0+Gs Zpwqlzm0ZlteG1Al2smfvrN6qy8nwqXLZ9E9K8GJi325AEpvcTCtC7v9AgUZ6X2ukKRR Nrhw== X-Gm-Message-State: ABuFfojVTqmSWRCVaR45hAW48i5VvN9isk40CYh8Jrs8ZdTEnQygjHZy rXO92aJQ3sBb8Jgu7d8VlVwNkgpg X-Google-Smtp-Source: ACcGV61XgS2juG3PB7wPZMVkVJXmeP4TpW1QqIVgagbMoISxEg5TaAiU2+jFDPDC4fO8YlglA8odgw== X-Received: by 2002:a62:8490:: with SMTP id k138-v6mr9854076pfd.177.1539429845074; Sat, 13 Oct 2018 04:24:05 -0700 (PDT) Received: from HP (east49-p55.eaccess.hi-ho.ne.jp. [219.105.5.56]) by smtp.gmail.com with ESMTPSA id q24-v6sm5222352pff.83.2018.10.13.04.24.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Oct 2018 04:24:04 -0700 (PDT) From: ynyaaa@HIDDEN References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> <86o9byslsf.fsf@HIDDEN> <831s8uwfwl.fsf@HIDDEN> <86k1mmrv1z.fsf@HIDDEN> <83h8hqungs.fsf@HIDDEN> Date: Sat, 13 Oct 2018 20:23:55 +0900 In-Reply-To: <83h8hqungs.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 13 Oct 2018 13:53:39 +0300") Message-ID: <86ftxarsxg.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> 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? The CSS of the page specifies serif font. >> 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. CJK Unified Ideographs are also used for Japanese language. > And this still doesn't answer the question if why do you use :family > instead of specifying the actual fonts you want. I want to use "Noto Sans CJK JP" as default. And sometimes I want to change font for some texts, such as headers or cited texts.
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 13 Oct 2018 12:01:02 +0000 Resent-Message-ID: <handler.33019.B33019.153943202323490 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: ynyaaa@HIDDEN Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.153943202323490 (code B ref 33019); Sat, 13 Oct 2018 12:01:02 +0000 Received: (at 33019) by debbugs.gnu.org; 13 Oct 2018 12:00:23 +0000 Received: from localhost ([127.0.0.1]:47833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gBIal-00066Y-K0 for submit <at> debbugs.gnu.org; Sat, 13 Oct 2018 08:00:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1gBIak-00060o-N3 for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 08:00:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gBIaa-0005d8-31 for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 08:00:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gBIaZ-0005cs-Qk; Sat, 13 Oct 2018 08:00:11 -0400 Received: from [176.228.60.248] (port=1727 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1gBIaZ-0000ZI-CU; Sat, 13 Oct 2018 08:00:11 -0400 Date: Sat, 13 Oct 2018 15:00:16 +0300 Message-Id: <83d0seukdr.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <86ftxarsxg.fsf@HIDDEN> (ynyaaa@HIDDEN) References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> <86o9byslsf.fsf@HIDDEN> <831s8uwfwl.fsf@HIDDEN> <86k1mmrv1z.fsf@HIDDEN> <83h8hqungs.fsf@HIDDEN> <86ftxarsxg.fsf@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) > From: ynyaaa@HIDDEN > Cc: 33019 <at> debbugs.gnu.org > Date: Sat, 13 Oct 2018 20:23:55 +0900 > > > How is the text in those web pages different from the other text, > > where you want Sans-Serif fonts? > > The CSS of the page specifies serif font. So this is a problem in EWW?
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: ynyaaa@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 13 Oct 2018 13:13:01 +0000 Resent-Message-ID: <handler.33019.B33019.15394363474370 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.15394363474370 (code B ref 33019); Sat, 13 Oct 2018 13:13:01 +0000 Received: (at 33019) by debbugs.gnu.org; 13 Oct 2018 13:12:27 +0000 Received: from localhost ([127.0.0.1]:47853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gBJiU-00018Q-J7 for submit <at> debbugs.gnu.org; Sat, 13 Oct 2018 09:12:26 -0400 Received: from mail-pg1-f170.google.com ([209.85.215.170]:33210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ynyaaa@HIDDEN>) id 1gBJiS-000188-Kk for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 09:12:24 -0400 Received: by mail-pg1-f170.google.com with SMTP id y18-v6so7111931pge.0 for <33019 <at> debbugs.gnu.org>; Sat, 13 Oct 2018 06:12:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=pl3xX8K3VCXtCzmjx73R4sSnjf/89D8rd8QSshb8Qdw=; b=dNGgctbYYTzyS4sbrXpASW059WHMxZ+n/ayfb4ziuafExM2vrBk0r4V9/cWT2pJLKa lXDsG+m7zLTDt/grAQW/O/J6WGEaRyASYkb25zxu4Qhrf0CvLd3xytqc15AaKfi8+TS+ oju/xhOY/QlRMoMw8m+abzHKzOu6tWWgeD4aPqGR8ivCjq/c6ZdPJoZQTbF6UUrfZBVo E0buruibxrdD8pYGuNI3jxmSgrE/MJlbMqqEl7/SCbaw8PcJm//wJxXL7b9LoqDXQvTg FVYWkstFzbT5EzPryt81skkFeJWKfosvJHwuaIO3TLydcXZQSGiQneh+iW5G3jzX3q/K wYkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=pl3xX8K3VCXtCzmjx73R4sSnjf/89D8rd8QSshb8Qdw=; b=bNcpO7uObNVhyCiz0hO9qDC69qquyl5J60xZRSwZCvGa7mcSSHQ+s3n70hUoULN8f2 p8pHHNeGZKSAUHZPoL5GjDrO+rLt1oNGD9SOv86J0kgCpOsoP+yFGOsFvKjWVssDkhI+ Pw3Uif2iT2qKkSe3AfcyaQXd8pf0MCVeGGURCbHK+rsA0Y1noiLHH/bOwRLzfeB+u+hQ /JEcIyDtMPyskMxN+xMgrwnjpXYU6RsY/mPLJCYu2oRnpP33jy0Swp2DDWcqBuzHcWpB Y73I+DXxwy0mb66ffmMvw8MUctQcjqweqPuFHqdRsIDhm/LcpmJ5Lq7zIyuPLCOnlPfZ txcw== X-Gm-Message-State: ABuFfohPn6BMWyCdY/w4jt50cuwzwhjYBPeYEQv9r2KemicyxPRUWprp G6EY+ZITZdMu/NMsR7UV+0iHLJH+ X-Google-Smtp-Source: ACcGV60Yi/RilOcH5ZewcAZX5ReaUJwS66H7XdonHfFWSzzy+9c7kawXtn/Fu1QdbjeJ54JwuvJu/w== X-Received: by 2002:a62:5c03:: with SMTP id q3-v6mr10385844pfb.182.1539436338364; Sat, 13 Oct 2018 06:12:18 -0700 (PDT) Received: from HP (east49-p55.eaccess.hi-ho.ne.jp. [219.105.5.56]) by smtp.gmail.com with ESMTPSA id s133-v6sm7041753pgc.78.2018.10.13.06.12.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Oct 2018 06:12:17 -0700 (PDT) From: ynyaaa@HIDDEN References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> <86o9byslsf.fsf@HIDDEN> <831s8uwfwl.fsf@HIDDEN> <86k1mmrv1z.fsf@HIDDEN> <83h8hqungs.fsf@HIDDEN> <86ftxarsxg.fsf@HIDDEN> <83d0seukdr.fsf@HIDDEN> Date: Sat, 13 Oct 2018 22:12:07 +0900 In-Reply-To: <83d0seukdr.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 13 Oct 2018 15:00:16 +0300") Message-ID: <86bm7yrnx4.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> > How is the text in those web pages different from the other text, >> > where you want Sans-Serif fonts? >> >> The CSS of the page specifies serif font. > > So this is a problem in EWW? No. It's my original parser for certain blogs.
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 13 Oct 2018 13:22:02 +0000 Resent-Message-ID: <handler.33019.B33019.15394368615272 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: ynyaaa@HIDDEN Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.15394368615272 (code B ref 33019); Sat, 13 Oct 2018 13:22:02 +0000 Received: (at 33019) by debbugs.gnu.org; 13 Oct 2018 13:21:01 +0000 Received: from localhost ([127.0.0.1]:47857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gBJqn-0001Mh-FJ for submit <at> debbugs.gnu.org; Sat, 13 Oct 2018 09:21:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1gBJql-0001MQ-A5 for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 09:20:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gBJqc-0005jf-W3 for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 09:20:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gBJqc-0005jb-Si; Sat, 13 Oct 2018 09:20:50 -0400 Received: from [176.228.60.248] (port=2735 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1gBJqc-0003xQ-Fc; Sat, 13 Oct 2018 09:20:50 -0400 Date: Sat, 13 Oct 2018 16:20:55 +0300 Message-Id: <83a7niugnc.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <86bm7yrnx4.fsf@HIDDEN> (ynyaaa@HIDDEN) References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> <86o9byslsf.fsf@HIDDEN> <831s8uwfwl.fsf@HIDDEN> <86k1mmrv1z.fsf@HIDDEN> <83h8hqungs.fsf@HIDDEN> <86ftxarsxg.fsf@HIDDEN> <83d0seukdr.fsf@HIDDEN> <86bm7yrnx4.fsf@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) > From: ynyaaa@HIDDEN > Cc: 33019 <at> debbugs.gnu.org > Date: Sat, 13 Oct 2018 22:12:07 +0900 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> > How is the text in those web pages different from the other text, > >> > where you want Sans-Serif fonts? > >> > >> The CSS of the page specifies serif font. > > > > So this is a problem in EWW? > > No. It's my original parser for certain blogs. If you use a font instead of :family, does the face work as expected?
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: ynyaaa@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 13 Oct 2018 14:44:02 +0000 Resent-Message-ID: <handler.33019.B33019.153944183713436 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.153944183713436 (code B ref 33019); Sat, 13 Oct 2018 14:44:02 +0000 Received: (at 33019) by debbugs.gnu.org; 13 Oct 2018 14:43:57 +0000 Received: from localhost ([127.0.0.1]:48548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gBL93-0003Ue-1c for submit <at> debbugs.gnu.org; Sat, 13 Oct 2018 10:43:57 -0400 Received: from mail-pg1-f175.google.com ([209.85.215.175]:39746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ynyaaa@HIDDEN>) id 1gBL91-0003UQ-EQ for 33019 <at> debbugs.gnu.org; Sat, 13 Oct 2018 10:43:55 -0400 Received: by mail-pg1-f175.google.com with SMTP id r9-v6so7158739pgv.6 for <33019 <at> debbugs.gnu.org>; Sat, 13 Oct 2018 07:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=H9Mbru3qbYkp3zaugK8j7yZvlHer9umUUz9W6pd6tuI=; b=uEUivqTEPorql2aTg1o4/Dx9sfb3StzEH4cY4OPLZQIj3NESoVWq8g2mUMyGuMcDH5 CA+g4J246Dy4XYfUQNh1nnC/0cRKX0uY1M2pmgIgTPTEZcqxIZorZMyc0lYzRTf5La0V WxYS8yqvoDUUJU/U34+Zv32Bbti03L9Vrdg8v+nDbBZ7xasfaaXdo75+wPJRIwOsMA+9 XBxefhA5AqLII/MuGyUEMa3bw/HTkVF9G1f905moNGgL8s7yvcnZSqJy/ZXxiiNmbgqE z7MG2vnAVrHDOOCN0dOUUDs4iZIyNw1px900lcHe3V2SFwQcdd4s4zBTTMHkgMNSO7DK 9XqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=H9Mbru3qbYkp3zaugK8j7yZvlHer9umUUz9W6pd6tuI=; b=dEWK2QE2u2kW+timHTE8GascTp4E7xYOnewP8EPP9vuZyugrBys7pZlysyiFOva+S2 eYDspTEwy+b1HrDMJYDjWS3OJsXneWllHzJNDflOLGmdB7zYfZz3K/soNnyF+ROANdD2 Kmx18u6sKJX7ltS2haAzYgxAxFrIj1hX2vs9fRlID57CoxH+XzsonrHvqJQ/3zORZgKA kqPpz74ndi3VM3TtY5v4TCk9btq8hGOUlw3ap+yWXMfCbew6UAqe7G6G8Uyv4JJvuxC9 SKUAnlVsFtzcoSFMnxqFkDcux85ES0EatdO/YFTmfV3smKDUCk1MUrm+ixgiJbyYnAuC lFUg== X-Gm-Message-State: ABuFfoj8cBwbKEKAfa+pRHOv5ME0tGJ8oa7dMa8KuB/Nzrw5sdcrjrZY W5rReVQXduEryNMBTJyaiZNqhDhu X-Google-Smtp-Source: ACcGV62fHCg14gLiJ7gKVsmXnGxgGmBcl6aHtGSa9eWxrTMmBzvv64OtrDgryn8bS7QYa3r2HylrJw== X-Received: by 2002:a63:e645:: with SMTP id p5-v6mr9150033pgj.218.1539441829287; Sat, 13 Oct 2018 07:43:49 -0700 (PDT) Received: from HP (east49-p55.eaccess.hi-ho.ne.jp. [219.105.5.56]) by smtp.gmail.com with ESMTPSA id a79-v6sm7074342pfa.124.2018.10.13.07.43.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Oct 2018 07:43:48 -0700 (PDT) From: ynyaaa@HIDDEN References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> <86o9byslsf.fsf@HIDDEN> <831s8uwfwl.fsf@HIDDEN> <86k1mmrv1z.fsf@HIDDEN> <83h8hqungs.fsf@HIDDEN> <86ftxarsxg.fsf@HIDDEN> <83d0seukdr.fsf@HIDDEN> <86bm7yrnx4.fsf@HIDDEN> <83a7niugnc.fsf@HIDDEN> Date: Sat, 13 Oct 2018 23:43:38 +0900 In-Reply-To: <83a7niugnc.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 13 Oct 2018 16:20:55 +0300") Message-ID: <867eilsy91.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: > If you use a font instead of :family, does the face work as expected? Evaluating the form below, five U+4E00s are inserted with same glyphs. C-u C-x = on each character shows the same information. > display: by this font (glyph code) > uniscribe:-outline-Noto Sans CJK JP Regular-normal-normal-normal-sans-17-*-*-*-p-*-iso8859-1 (#x2667) (let ((prefix "-outline-Noto Serif CJK JP-normal-normal-normal-serif-*-*-*-*-p-*-")) (set-frame-font "Noto Mono") (set-fontset-font "fontset-default" '(#x4E00 . #x9FFF) "Noto Sans CJK JP Regular") (insert "\x4E00" (propertize "\x4E00" 'face '(:family "Noto Serif CJK JP")) (propertize "\x4E00" 'face '(:font "Noto Serif CJK JP")) (propertize "\x4E00" 'face (list :font (concat prefix "iso10646-1"))) (propertize "\x4E00" 'face (list :font (concat prefix "jisx0208-sjis"))) )) If set-frame-font and set-fontset-font are disabled, only the second U+4E00 with :family face is shown by "Noto Serif CJK JP". The rest four U+4E00s are shown by "游ゴシック", same as no font settings. (let ((prefix "-outline-Noto Serif CJK JP-normal-normal-normal-serif-17-*-*-*-p-*-")) (insert "\x4E00" (propertize "\x4E00" 'face '(:family "Noto Serif CJK JP")) (propertize "\x4E00" 'face '(:font "Noto Serif CJK JP")) (propertize "\x4E00" 'face (list :font (concat prefix "iso10646-1"))) (propertize "\x4E00" 'face (list :font (concat prefix "jisx0208-sjis"))) )) Face with :font property seems not working. Then I tried with ascii characters. (let ((prefix "-outline-Verdana-normal-normal-normal-sans-*-*-*-*-p-*-")) (insert "A" (propertize "A" 'face '(:family "Verdana")) (propertize "A" 'face '(:font "Verdana")) (propertize "A" 'face (list :font (concat prefix "iso8859-1"))) (propertize "A" 'face (list :font (concat prefix "iso10646-1"))) )) Only the second A is shown by "Verdana", the rest are shown by "Courier New".
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 15 Oct 2018 16:17:02 +0000 Resent-Message-ID: <handler.33019.B33019.153962017017016 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: ynyaaa@HIDDEN Cc: 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.153962017017016 (code B ref 33019); Mon, 15 Oct 2018 16:17:02 +0000 Received: (at 33019) by debbugs.gnu.org; 15 Oct 2018 16:16:10 +0000 Received: from localhost ([127.0.0.1]:51019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gC5XN-0004Q7-IF for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 12:16:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1gC5XK-0004Il-OR for 33019 <at> debbugs.gnu.org; Mon, 15 Oct 2018 12:16:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gC5XA-0001Xa-GU for 33019 <at> debbugs.gnu.org; Mon, 15 Oct 2018 12:16:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gC5X5-0001UF-L8; Mon, 15 Oct 2018 12:15:53 -0400 Received: from [176.228.60.248] (port=1866 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1gC5X4-0007Wn-CM; Mon, 15 Oct 2018 12:15:51 -0400 Date: Mon, 15 Oct 2018 19:16:00 +0300 Message-Id: <83woqjrxrz.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <867eilsy91.fsf@HIDDEN> (ynyaaa@HIDDEN) References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> <86o9byslsf.fsf@HIDDEN> <831s8uwfwl.fsf@HIDDEN> <86k1mmrv1z.fsf@HIDDEN> <83h8hqungs.fsf@HIDDEN> <86ftxarsxg.fsf@HIDDEN> <83d0seukdr.fsf@HIDDEN> <86bm7yrnx4.fsf@HIDDEN> <83a7niugnc.fsf@HIDDEN> <867eilsy91.fsf@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) > From: ynyaaa@HIDDEN > Cc: 33019 <at> debbugs.gnu.org > Date: Sat, 13 Oct 2018 23:43:38 +0900 > > Eli Zaretskii <eliz@HIDDEN> writes: > > If you use a font instead of :family, does the face work as expected? > > Evaluating the form below, five U+4E00s are inserted with same glyphs. > C-u C-x = on each character shows the same information. > > > display: by this font (glyph code) > > uniscribe:-outline-Noto Sans CJK JP Regular-normal-normal-normal-sans-17-*-*-*-p-*-iso8859-1 (#x2667) > > (let ((prefix "-outline-Noto Serif CJK JP-normal-normal-normal-serif-*-*-*-*-p-*-")) > (set-frame-font "Noto Mono") > (set-fontset-font "fontset-default" '(#x4E00 . #x9FFF) > "Noto Sans CJK JP Regular") > (insert "\x4E00" > (propertize "\x4E00" 'face '(:family "Noto Serif CJK JP")) > (propertize "\x4E00" 'face '(:font "Noto Serif CJK JP")) > (propertize "\x4E00" 'face (list :font (concat prefix "iso10646-1"))) > (propertize "\x4E00" 'face (list :font (concat prefix "jisx0208-sjis"))) > )) You will have to forgive me: I never remember which ways of creating faces out of attributes work reliably and which don't. So I always use the basics, which IME always work. This seems to work for me: (defface notoserif '((t :font "-outline-Noto Serif CJK JP-normal-normal-normal-serif-13-*-*-*-p-*-iso8859-1")) "Bla") (insert "\x4e01" (propertize "\x4e01" 'face 'notoserif)) I'm sure you know, but in case someone else is reading this: if the above is done in *scratch*, make sure to turn off font-lock-mode first.
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 21 Feb 2022 14:58:01 +0000 Resent-Message-ID: <handler.33019.B33019.164545544513077 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: ynyaaa@HIDDEN Cc: Eli Zaretskii <eliz@HIDDEN>, 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.164545544513077 (code B ref 33019); Mon, 21 Feb 2022 14:58:01 +0000 Received: (at 33019) by debbugs.gnu.org; 21 Feb 2022 14:57:25 +0000 Received: from localhost ([127.0.0.1]:38250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nMA7w-0003OR-Ns for submit <at> debbugs.gnu.org; Mon, 21 Feb 2022 09:57:24 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nMA7v-0003Km-BG for 33019 <at> debbugs.gnu.org; Mon, 21 Feb 2022 09:57:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=N7wV1ozKx44mTtPoo/ixcRG4Vm85TBnh1DA/OgrpX0k=; b=etT+tFm+rHvvtQepE3cge6Y2eN somChuuD/bscCuLvNkltTj87AtxHtUXuM/kchjjl4BFh00r8oOcFWNPSAQikhloOy/a9WcPkRQp5N vsb8CgHHHJ+mksVDraDXYkvbibueXK2KlcVmeYwNYRHxKcCNeFDAjbGExtTEzWkbuFZk=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nMA7l-00006T-EA; Mon, 21 Feb 2022 15:57:16 +0100 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> <86o9byslsf.fsf@HIDDEN> <831s8uwfwl.fsf@HIDDEN> <86k1mmrv1z.fsf@HIDDEN> <83h8hqungs.fsf@HIDDEN> <86ftxarsxg.fsf@HIDDEN> <83d0seukdr.fsf@HIDDEN> <86bm7yrnx4.fsf@HIDDEN> <83a7niugnc.fsf@HIDDEN> <867eilsy91.fsf@HIDDEN> X-Now-Playing: Modern English's _Take Me To The Trees_: "Flood Of Light" Date: Mon, 21 Feb 2022 15:57:10 +0100 In-Reply-To: <867eilsy91.fsf@HIDDEN> (ynyaaa@HIDDEN's message of "Sat, 13 Oct 2018 23:43:38 +0900") Message-ID: <87pmngi7y1.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: ynyaaa@HIDDEN writes: > Evaluating the form below, five U+4E00s are inserted with same glyphs. > C-u C-x = on each character shows the same information. > >> display: by this font (glyph code) >> uniscribe:-outline-Noto Sa [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain ynyaaa@HIDDEN writes: > Evaluating the form below, five U+4E00s are inserted with same glyphs. > C-u C-x = on each character shows the same information. > >> display: by this font (glyph code) >> uniscribe:-outline-Noto Sans CJK JP >> Regular-normal-normal-normal-sans-17-*-*-*-p-*-iso8859-1 (#x2667) > > (let ((prefix "-outline-Noto Serif CJK JP-normal-normal-normal-serif-*-*-*-*-p-*-")) > (set-frame-font "Noto Mono") > (set-fontset-font "fontset-default" '(#x4E00 . #x9FFF) > "Noto Sans CJK JP Regular") > (insert "\x4E00" > (propertize "\x4E00" 'face '(:family "Noto Serif CJK JP")) > (propertize "\x4E00" 'face '(:font "Noto Serif CJK JP")) > (propertize "\x4E00" 'face (list :font (concat prefix "iso10646-1"))) > (propertize "\x4E00" 'face (list :font (concat prefix "jisx0208-sjis"))) > )) (I'm going through old bug reports that unfortunately weren't resolved at the time.) Trying this in Emacs 29, I get a different font on the second char: --=-=-= Content-Type: image/png Content-Disposition: inline Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAANMAAABNCAMAAAALtaHYAAAABGdBTUEAALGPC/xhBQAAACBjSFJN AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAflBMVEXy8vL///8AAAD5+fn8 3pxNJjl1uOb8////+NOMPg8BAAABByNXndX2///+9One3dzc3Nzc3Ne2djIJAQABAhVBg8Tu/v// //zZiDYFAAAAAAIZaLz5///82Ig2BQAAAAEBBh1drOr+//////3dl08lICAgICAgICI2e8T6//8O wtrnAAAAAWJLR0QB/wIt3gAAABBjYU52AAAPAAAACWAAAAhGAAADOnMVnMEAAAC4SURBVGje7dRH DsIwFEXRJPTee++w/w2yARQ8iJCDzh1aT186EydJkpakLPAtTZiYmJiYmJiYmJgiMX2q5KbgmJiY mJiYmJiYmJiYmJiYmJiiMFX+z1St1Rt/Zmq22p1ur4ym/mD4udF4kmXT2Twy02K5yvJab7bpbp+3 OBxP54ArxUwKM30vLtPlervn9Xi+AkwBV4qZ/OQvjy4mJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYm Jqb83to8W84zWJEGAAAAAElFTkSuQmCC --=-=-= Content-Type: text/plain But I'm not sure I understand this bug report fully. Are you still seeing this problem in recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no --=-=-=--
Received: (at control) by debbugs.gnu.org; 21 Feb 2022 14:57:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 21 09:57:30 2022 Received: from localhost ([127.0.0.1]:38602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nMA82-0003UK-0a for submit <at> debbugs.gnu.org; Mon, 21 Feb 2022 09:57:30 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nMA7z-0003Ks-2i for control <at> debbugs.gnu.org; Mon, 21 Feb 2022 09:57:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ggNs84PMCbrD90oFVDD/RrKKX7RdUW30zzF1bxMZIiw=; b=FEcj4ZcnbwKfFcOTG8DO/ybRBP tyOvKAzz5celwx38ye2q+u4VpBiQhDUQx43U7XnZlq1mF6DBKaUc8VHs+B1EP9C2xAU2PMKk6T5kS 7CglTz7ldV1E068mdi54VscOniglKXUlfXOP4H01fm9iIvrx4+G5XNW2DIbzahXAh6CE=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nMA7q-00006g-LC for control <at> debbugs.gnu.org; Mon, 21 Feb 2022 15:57:21 +0100 Date: Mon, 21 Feb 2022 15:57:18 +0100 Message-Id: <87o830i7xt.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Lars Ingebrigtsen <larsi@HIDDEN> Subject: control message for bug #33019 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 33019 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) tags 33019 + moreinfo quit
X-Loop: help-debbugs@HIDDEN Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 21 Feb 2022 15:25:02 +0000 Resent-Message-ID: <handler.33019.B33019.164545707024620 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: ynyaaa@HIDDEN, 33019 <at> debbugs.gnu.org Received: via spool by 33019-submit <at> debbugs.gnu.org id=B33019.164545707024620 (code B ref 33019); Mon, 21 Feb 2022 15:25:02 +0000 Received: (at 33019) by debbugs.gnu.org; 21 Feb 2022 15:24:30 +0000 Received: from localhost ([127.0.0.1]:38627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nMAY9-0006P2-Ur for submit <at> debbugs.gnu.org; Mon, 21 Feb 2022 10:24:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1nMAY8-0006Op-JF for 33019 <at> debbugs.gnu.org; Mon, 21 Feb 2022 10:24:29 -0500 Received: from [2001:470:142:3::e] (port=54184 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1nMAY3-0004t6-71; Mon, 21 Feb 2022 10:24:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2J4a7BygEvMA1JY2J+i+MIoznd/QbSfVIEB5YIOaIkw=; b=cLLy1KDEcFRc QgQenN8iRjdpd56ZJ2BSXqG6GQ0EFszK/MDMN6b43X+7xa0AtUH6tjndPVl5bbzqqCu6MYjCHlpUL TF9jo0XL6a032LrYT7yo/TzKbvkinXrVIURDSN4p4cxLWZqiOCOSPL0HjDQAvlGvN5rUkdfRcYeaT YMDHTCLsdTsKD+6bafTeRB8rCHi3iF1imqeHIG2HMSr3B5n99KFSokXD6l/ESchE3z1AOS3HDdc4y KQ9wZ4bEiIbaiw1oIIqGN2LthUGv2t7EyZn9dbjqE4kd5zr2ZqWYP9/Yxq3enu6I5UyWv+EUkYBHn pBUnBF46J+LEHrN9igUb/w==; Received: from [87.69.77.57] (port=3016 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1nMAY1-0008DL-4f; Mon, 21 Feb 2022 10:24:22 -0500 Date: Mon, 21 Feb 2022 17:24:25 +0200 Message-Id: <83h78sutsm.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87pmngi7y1.fsf@HIDDEN> (message from Lars Ingebrigtsen on Mon, 21 Feb 2022 15:57:10 +0100) References: <86bm80a5ip.fsf@HIDDEN> <83pnwfwtkh.fsf@HIDDEN> <86sh1bro7t.fsf@HIDDEN> <834ldrvt8k.fsf@HIDDEN> <86o9byslsf.fsf@HIDDEN> <831s8uwfwl.fsf@HIDDEN> <86k1mmrv1z.fsf@HIDDEN> <83h8hqungs.fsf@HIDDEN> <86ftxarsxg.fsf@HIDDEN> <83d0seukdr.fsf@HIDDEN> <86bm7yrnx4.fsf@HIDDEN> <83a7niugnc.fsf@HIDDEN> <867eilsy91.fsf@HIDDEN> <87pmngi7y1.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN>, 33019 <at> debbugs.gnu.org > Date: Mon, 21 Feb 2022 15:57:10 +0100 > > > Evaluating the form below, five U+4E00s are inserted with same glyphs. > > C-u C-x = on each character shows the same information. > > > >> display: by this font (glyph code) > >> uniscribe:-outline-Noto Sans CJK JP > >> Regular-normal-normal-normal-sans-17-*-*-*-p-*-iso8859-1 (#x2667) > > > > (let ((prefix "-outline-Noto Serif CJK JP-normal-normal-normal-serif-*-*-*-*-p-*-")) > > (set-frame-font "Noto Mono") > > (set-fontset-font "fontset-default" '(#x4E00 . #x9FFF) > > "Noto Sans CJK JP Regular") > > (insert "\x4E00" > > (propertize "\x4E00" 'face '(:family "Noto Serif CJK JP")) > > (propertize "\x4E00" 'face '(:font "Noto Serif CJK JP")) > > (propertize "\x4E00" 'face (list :font (concat prefix "iso10646-1"))) > > (propertize "\x4E00" 'face (list :font (concat prefix "jisx0208-sjis"))) > > )) > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > Trying this in Emacs 29, I get a different font on the second char: The OP uses MS-Windows. This bug report is complicated by 2 factors: . specifying a font for a face actually affects directly only the ASCII characters; non-ASCII will not necessarily use that font if the default fontset says otherwise, or if Emacs thinks that this font cannot support those non-ASCII characters; . specifying :family in a face doesn't work very well on Windows, because the Windows API for enumerating fonts that belong to a family only finds 4 font variants: regular, bold, italic, and bold-italic; it doesn't find any other variants -- this could cause some font families to be rejected
Received: (at control) by debbugs.gnu.org; 21 Mar 2022 18:29:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 21 14:29:57 2022 Received: from localhost ([127.0.0.1]:38210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nWMmz-00081t-Nd for submit <at> debbugs.gnu.org; Mon, 21 Mar 2022 14:29:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nWMmx-00081Z-Nk for control <at> debbugs.gnu.org; Mon, 21 Mar 2022 14:29:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=txBWKDmTgeCp0VibsuY+Yu8V8fHyG04lqDx0UcOU9CY=; b=f6emu7JUIB6NurnAxP/BJ8lpt7 0uKIRZwujJYXGEqZ+SRzgu5Iv91aJAZHiYZ+KoBe1aU5AWMnm4IE7Rkb7t5z5QOkQf4ULSr4qe6YT Mplvr7G+Rjq5iViycYz7aOGDrlX8+lt7Il4slGMIQSmOH24Zrj2sHbx0MbLsZRLbFbho=; Received: from 109.179.236.69.tmi.telenormobil.no ([109.179.236.69] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nWMmq-0002GJ-EQ for control <at> debbugs.gnu.org; Mon, 21 Mar 2022 19:29:50 +0100 Date: Mon, 21 Mar 2022 19:29:47 +0100 Message-Id: <87bkxzqhus.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Lars Ingebrigtsen <larsi@HIDDEN> Subject: control message for bug #33019 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 33019 - moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) tags 33019 - moreinfo quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.