Giter Site home page Giter Site logo

Comments (5)

kovidgoyal avatar kovidgoyal commented on June 15, 2024

emoji fonts are fallback fonts. list-fonts lists only fonts that are
capable of being used as primary fonts. Emoji's will be rendered
automatically using a fallback font regardless of what primary font is
set.

from kitty.

hanoii avatar hanoii commented on June 15, 2024

Ok, I tried following this up more with this particular character "\U2139" is not find by any fallback, which I find it somewhat odd, it is supported by Apple Color Emoji.

This character is ℹī¸ī¸ which is pretty basic.

[094 23:37:39.365275] Symbol map: U+e000-U+e00a,U+ea60-U+ebeb,U+e0a0-U+e0c8,U+e0ca,U+e0cc-U+e0d4,U+e200-U+e2a9,U+e300-U+e3e3,U+e5fa-U+e6b1,U+e700-U+e7c5,U+f000-U+f2e0,U+f300-f372,U+f400-U+f532,U+f0001-U+f1af0 Symbols Nerd Font Mono is invalid, ignoring
[094 23:37:39.635284] Preloaded font faces:
[094 23:37:39.635309] normal face: /Users/ariel/Library/Fonts/JetBrainsMono-Medium.ttf
[094 23:37:39.635315] bold face: /Users/ariel/Library/Fonts/JetBrainsMono-Bold.ttf
[094 23:37:39.635319] italic face: /Users/ariel/Library/Fonts/JetBrainsMono-MediumItalic.ttf
[094 23:37:39.635323] bi face: /Users/ariel/Library/Fonts/JetBrainsMono-BoldItalic.ttf
[094 23:37:39.635328] Symbol map faces:
[094 23:37:39.635334] /Users/ariel/Library/Fonts/SymbolsNerdFontMono-Regular.ttf
U+2139 
The font chosen by the OS for the text: U+2139 is  but it does not actually contain glyphs for that text
ValueError: character U+656e6f4e is not in range [U+0000; U+10ffff]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "lib/python3.11/kitty/boss.py", line 1580, in on_focus
SystemError: <method 'get' of 'dict' objects> returned a result with an exception set

I also found the first about nerd font odd (Symbols Nerd Font Mono is invalid, ignoring), as I took it from the faq. I am using v.3.1.1 of the Nerd Font Symbol file, but I wonder what is wrong. The Nerd Font is still used though.

And finally, if I add

symbol_map U+2139 Apple Color Emoji It does work.

from kitty.

hanoii avatar hanoii commented on June 15, 2024

Ah, I now think this is a dupe of #7249 as this also started to happen on that version

from kitty.

hanoii avatar hanoii commented on June 15, 2024

I wonder if you can comment on the symbol map not working for Nerd Font

from kitty.

hanoii avatar hanoii commented on June 15, 2024

Added #7308 for the above, we can leave this one be.

from kitty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.