all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#33019: 26.1; can not set fontset as frame font by set-frame-font
@ 2018-10-11 15:04 ynyaaa
  2018-10-12  6:46 ` Eli Zaretskii
  0 siblings, 1 reply; 16+ messages in thread
From: ynyaaa @ 2018-10-11 15:04 UTC (permalink / raw)
  To: 33019


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





^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-02-21 15:24 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-11 15:04 bug#33019: 26.1; can not set fontset as frame font by set-frame-font ynyaaa
2018-10-12  6:46 ` Eli Zaretskii
2018-10-12 18:53   ` ynyaaa
2018-10-12 19:51     ` Eli Zaretskii
2018-10-13  1:00       ` ynyaaa
2018-10-13  5:54         ` Eli Zaretskii
2018-10-13 10:38           ` ynyaaa
2018-10-13 10:53             ` Eli Zaretskii
2018-10-13 11:23               ` ynyaaa
2018-10-13 12:00                 ` Eli Zaretskii
2018-10-13 13:12                   ` ynyaaa
2018-10-13 13:20                     ` Eli Zaretskii
2018-10-13 14:43                       ` ynyaaa
2018-10-15 16:16                         ` Eli Zaretskii
2022-02-21 14:57                         ` Lars Ingebrigtsen
2022-02-21 15:24                           ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.