help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 28: Specific TTF font gets loaded with font-backend x instead


From: Tassilo Horn
Subject: Re: Emacs 28: Specific TTF font gets loaded with font-backend x instead of ftcrhb
Date: Tue, 04 Feb 2020 15:21:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Robert Pluim <rpluim@gmail.com> writes:

>     >> FWIW, I canʼt reproduce this. Which distribution is this on?
>
>     Tassilo> This is on Arch Linux where the JetBrainsMono font is installed 
> as a
>     Tassilo> system package in version 1.0.1.  I've seen that the current 
> version is
>     Tassilo> 1.0.2, so maybe the issue is fixed upstream alread...
>
>     Tassilo> So I've just downloaded the JetBrainsMono-1.0.2.zip and copied 
> over the
>     Tassilo> new TTF files to /usr/share/fonts/TTF/ overwriting the existing 
> ones and
>     Tassilo> ran "sudo fc-cache".  Therafter, my emacs shows mostly boxes:
>
> Does Arch have some kind of 'fallback to bitmap' configuration?

Not that I know of but I'm no font config expert.  Usually, it just
works...

> What does 'C-u C-x =' say about which font is being used?

That's with emacs -Q and the working PragmataPro GNOME setting on the
first char in *scratch*.

--8<---------------cut here---------------start------------->8---
             position: 1 of 145 (0%), column: 0
            character: ; (displayed as ;) (codepoint 59, #o73, #x3b)
              charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x3B
               script: latin
               syntax: <        which means: comment
             category: .:Base, a:ASCII, l:Latin, r:Roman
             to input: type "C-x 8 RET 3b" or "C-x 8 RET SEMICOLON"
          buffer code: #x3B
            file code: #x3B (encoded by coding system utf-8-unix)
              display: by this font (glyph code)
    ftcrhb:-FSD -PragmataPro-normal-normal-normal-*-15-*-*-*-*-0-iso10646-1 
(#x1C)

Character code properties: customize what to show
  name: SEMICOLON
  general-category: Po (Punctuation, Other)
  decomposition: (59) (';')

There are text properties here:
  face                 font-lock-comment-delimiter-face
  fontified            nil
--8<---------------cut here---------------end--------------->8---

And that's the same after changing the font to JetBrains Mono.

--8<---------------cut here---------------start------------->8---
             position: 1 of 145 (0%), column: 0
            character: ; (displayed as ;) (codepoint 59, #o73, #x3b)
              charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x3B
               script: latin
               syntax: <        which means: comment
             category: .:Base, a:ASCII, l:Latin, r:Roman
             to input: type "C-x 8 RET 3b" or "C-x 8 RET SEMICOLON"
          buffer code: #x3B
            file code: #x3B (encoded by coding system utf-8-unix)
              display: by this font (glyph code)
    x:-misc-jetbrains mono-medium-r-normal--13-94-100-100-m-80-iso8859-1 (#x3B)

Character code properties: customize what to show
  name: SEMICOLON
  general-category: Po (Punctuation, Other)
  decomposition: (59) (';')

There are text properties here:
  face                 font-lock-comment-delimiter-face
  fontified            nil
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]