syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.68k stars 4.89k forks source link

Incorrect fallback font used for braille characters #15120

Closed Luctins closed 1 year ago

Luctins commented 3 years ago

Description :octocat:

Trying to render braille characters (like those used on one of the text banners) uses a 'incorrect' fallback font.

Running spacemacs without the GUI makes it render properly.

Also, I have another install of spacemacs where it renders properly and even copying the whole .emacs.d directory and .spacemacs did not resolve the issue.

My main font is set to the default one, Source Code pro

full config here

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: The fallback font used for braille characters renders empty dots as smaller dots, also there's spacing between lines.

It looks like this: image

Expected behaviour: :heart: :smile: It should render braille characters as dots whithout spaces between lines.

System Info :computer:

Backtrace :paw_prints:

M-x describe-char

             position: 1990 of 1996 (100%), column: 0
            character: ⣯ (displayed as ⣯) (codepoint 10479, #o24357, #x28ef)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0x28EF
               script: braille
               syntax: w    which means: word
             category: .:Base, L:Left-to-right (strong)
             to input: type "C-x 8 RET 28ef" or "C-x 8 RET BRAILLE PATTERN DOTS-1234678"
          buffer code: #xE2 #xA3 #xAF
            file code: not encodable by coding system undecided-unix
              display: by this font (glyph code)
    ftcrhb:-PfEd-Unifont-normal-normal-normal-*-22-*-*-*-d-0-iso10646-1 (#x28F2)

Character code properties: customize what to show
  name: BRAILLE PATTERN DOTS-1234678
  general-category: So (Symbol, Other)
  decomposition: (10479) ('⣯')

There is an overlay here:
 From 1990 to 1992
  face                 hl-line
  priority             -50
  window               #<window 3 on REPORT_SPACEMACS_ISSUE>

There are text properties here:
  fontified            t
  rear-nonsticky       t

[back]             position: 1990 of 1996 (100%), column: 0
            character: ⣯ (displayed as ⣯) (codepoint 10479, #o24357, #x28ef)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0x28EF
               script: braille
               syntax: w    which means: word
             category: .:Base, L:Left-to-right (strong)
             to input: type "C-x 8 RET 28ef" or "C-x 8 RET BRAILLE PATTERN DOTS-1234678"
          buffer code: #xE2 #xA3 #xAF
            file code: not encodable by coding system undecided-unix
              display: by this font (glyph code)
    ftcrhb:-PfEd-Unifont-normal-normal-normal-*-22-*-*-*-d-0-iso10646-1 (#x28F2)

Character code properties: customize what to show
  name: BRAILLE PATTERN DOTS-1234678
  general-category: So (Symbol, Other)
  decomposition: (10479) ('⣯')

There is an overlay here:
 From 1990 to 1992
  face                 hl-line
  priority             -50
  window               #<window 3 on REPORT_SPACEMACS_ISSUE>

There are text properties here:
  fontified            t
  rear-nonsticky       t

For reference, it should look like this: image (this is running on a console)

edit: setting the font for the 'unicode section to symbola seems to help, like so:

(set-fontset-font t 'unicode "Symbola")
github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!