From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ynyaaa@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Date: Fri, 12 Oct 2018 00:04:46 +0900 Message-ID: <86bm80a5ip.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Trace: blaine.gmane.org 1539270255 23867 195.159.176.226 (11 Oct 2018 15:04:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Oct 2018 15:04:15 +0000 (UTC) To: 33019@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 11 17:04:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAcVT-00063j-UN for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Oct 2018 17:04:08 +0200 Original-Received: from localhost ([::1]:35005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAcXa-0002M5-5l for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Oct 2018 11:06:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAcXO-0002Lu-Nn for bug-gnu-emacs@gnu.org; Thu, 11 Oct 2018 11:06:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAcXK-0001bU-Jf for bug-gnu-emacs@gnu.org; Thu, 11 Oct 2018 11:06:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gAcXK-0001bE-EE for bug-gnu-emacs@gnu.org; Thu, 11 Oct 2018 11:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gAcXK-0002ga-7h for bug-gnu-emacs@gnu.org; Thu, 11 Oct 2018 11:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Oct 2018 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153927034410300 (code B ref -1); Thu, 11 Oct 2018 15:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Oct 2018 15:05:44 +0000 Original-Received: from localhost ([127.0.0.1]:45389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAcX2-0002g4-1w for submit@debbugs.gnu.org; Thu, 11 Oct 2018 11:05:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAcX0-0002ft-K1 for submit@debbugs.gnu.org; Thu, 11 Oct 2018 11:05:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAcWo-00010J-WB for submit@debbugs.gnu.org; Thu, 11 Oct 2018 11:05:37 -0400 Original-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 ) id 1gAcWi-0000rH-3f for submit@debbugs.gnu.org; Thu, 11 Oct 2018 11:05:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAcWe-0002IY-0C for bug-gnu-emacs@gnu.org; Thu, 11 Oct 2018 11:05:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAcWS-0000PW-Dq for bug-gnu-emacs@gnu.org; Thu, 11 Oct 2018 11:05:14 -0400 Original-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 ) id 1gAcWM-0000CZ-SE for bug-gnu-emacs@gnu.org; Thu, 11 Oct 2018 11:05:08 -0400 Original-Received: by mail-pf1-x42a.google.com with SMTP id r64-v6so4551439pfb.13 for ; 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) Original-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 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 08:04:53 -0700 (PDT) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151128 Archived-At: 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-*-*-*-*-*-*-*-*-*-*-*-* > > ------ 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] > > ------ 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: # > 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))