Giter Club home page Giter Club logo

Comments (6)

kovidgoyal avatar kovidgoyal commented on July 22, 2024 1

Fill in the information asked for in the issue template.

from kitty.

kovidgoyal avatar kovidgoyal commented on July 22, 2024 1

Most likely the fallback font used for it on your system has changed. use symbol_map in kitty.conf to override it to some font that actually has that symbol, such as DejaVu Sans Mono or similar. Use --debug-font-fallback to see what font is actually being used.

I cant test it since Monascape isnt actually monospaced, it doesnt having spacing=100 as per fontconfig.

from kitty.

infogrind avatar infogrind commented on July 22, 2024

Sorry, I sent it too fast. Updated everything now.

from kitty.

infogrind avatar infogrind commented on July 22, 2024

Thanks!

Most likely the fallback font used for it on your system has changed.

Do you mean as part of the Kitty upgrade, or do you mean it was some external change that had nothing to do with the Kitty upgrade? (I tested it on two separate systems, and the change in behavior correlates exactly with the Kitty upgrade.)

Use --debug-font-fallback to see what font is actually being used.

Thanks, good tip. Just FYI, here is the output:

[082 09:08:58.527115] Preloaded font faces:
[082 09:08:58.527136] normal face: /Users/mkleiner/Library/Fonts/MonaspaceNeon-Light.otf
[082 09:08:58.527141] bold face: /Users/mkleiner/Library/Fonts/MonaspaceNeon-Bold.otf
[082 09:08:58.527145] italic face: /Users/mkleiner/Library/Fonts/MonaspaceRadon-Italic.otf
[082 09:08:58.527149] bi face: /Users/mkleiner/Library/Fonts/MonaspaceRadon-BoldItalic.otf
U+276f 
The font chosen by the OS for the text: U+276f is  but it does not actually contain glyphs for that text

It seems that instead of printing an actual fallback font, there is an empty string (see the two spaces between is but). I am not sure what that means.

use symbol_map in kitty.conf to override it to some font that actually has that symbol

This worked, thanks!

symbol_map U+276f Symbols Nerd Font

from kitty.

infogrind avatar infogrind commented on July 22, 2024

And just because I was curious, I downgraded to 0.32.1. again and then run kitty --debug-font-fallback (without any symbol_map defined).

[082 09:16:39.143403] Preloaded font faces:
[082 09:16:39.143424] normal face: /Users/mkleiner/Library/Fonts/MonaspaceNeon-Light.otf
[082 09:16:39.143429] bold face: /Users/mkleiner/Library/Fonts/MonaspaceNeon-Bold.otf
[082 09:16:39.143434] italic face: /Users/mkleiner/Library/Fonts/MonaspaceRadon-Italic.otf
[082 09:16:39.143438] bi face: /Users/mkleiner/Library/Fonts/MonaspaceRadon-BoldItalic.otf
U+276f Face(family=Zapf Dingbats, full_name=Zapf Dingbats, postscript_name=ZapfDingbatsITC, path=/System/Library/Fonts/ZapfDingbats.ttf, units_per_em=2048, ascent=21.2, descent=4.6, leading=0.0, scaled_point_sz=26.0, underline_position=-2.6 underline_thickness=1.6) (new face)

Do you know why the new Kitty version would change that behavior?

from kitty.

kovidgoyal avatar kovidgoyal commented on July 22, 2024

Follow up in #7249

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.