Comments (3)
You havent added the symbol_map directive from that FAQ entry to your kitty.conf. Do that and you should be fine. It looks like a different fallback font is being picked up, easily confirmed by running kitty with --debug-font-fallback
from kitty.
Just FYI, I've tried --debug-font-fallback
before and it gives the exact same output, which is why I assumed it is a bug.
kitty 0.32.1:
[030 19:07:30.183808] Preloaded font faces:
[030 19:07:30.183856] normal face: /nix/store/6v0wji4zlbc4rj8mj5gvksvf4dmzp3qd-home-manager-path/share/fonts/truetype/JetBrainsMono-Regular.ttf:0
[030 19:07:30.183877] bold face: /nix/store/6v0wji4zlbc4rj8mj5gvksvf4dmzp3qd-home-manager-path/share/fonts/truetype/JetBrainsMono[wght].ttf:458752
[030 19:07:30.183895] italic face: /nix/store/i8z9pqy82nw1vr591cm4vmn6pkp42xmg-jetbrains-mono-2.304/share/fonts/truetype/JetBrainsMono-Italic.ttf:0
[030 19:07:30.183913] bi face: /nix/store/i8z9pqy82nw1vr591cm4vmn6pkp42xmg-jetbrains-mono-2.304/share/fonts/truetype/JetBrainsMono-BoldItalic.ttf:0
U+f017 Face(family=Symbols Nerd Font, style=Regular, ps_name=SymbolsNF, path=/nix/store/bhy4mhdwlsndgbi891fsi8nx5vkb09q7-nerdfonts-3.1.1/share/fonts/truetype/NerdFonts/SymbolsNerdFont-Regular.ttf, index=0, is_scalable=True, has_color=False, ascender=1638, descender=-410, height=2048, underline_position=-306, underline_thickness=102, strikethrough_position=530, strikethrough_thickness=102) (new face)
kitty 0.31.0:
[030 19:07:25.267115] Preloaded font faces:
[030 19:07:25.267173] normal face: /nix/store/6v0wji4zlbc4rj8mj5gvksvf4dmzp3qd-home-manager-path/share/fonts/truetype/JetBrainsMono-Regular.ttf:0
[030 19:07:25.267196] bold face: /nix/store/6v0wji4zlbc4rj8mj5gvksvf4dmzp3qd-home-manager-path/share/fonts/truetype/JetBrainsMono[wght].ttf:458752
[030 19:07:25.267217] italic face: /nix/store/i8z9pqy82nw1vr591cm4vmn6pkp42xmg-jetbrains-mono-2.304/share/fonts/truetype/JetBrainsMono-Italic.ttf:0
[030 19:07:25.267237] bi face: /nix/store/i8z9pqy82nw1vr591cm4vmn6pkp42xmg-jetbrains-mono-2.304/share/fonts/truetype/JetBrainsMono-BoldItalic.ttf:0
U+f017 Face(family=Symbols Nerd Font, style=Regular, ps_name=SymbolsNF, path=/nix/store/bhy4mhdwlsndgbi891fsi8nx5vkb09q7-nerdfonts-3.1.1/share/fonts/truetype/NerdFonts/SymbolsNerdFont-Regular.ttf, index=0, is_scalable=True, has_color=False, ascender=1638, descender=-410, height=2048, underline_position=-306, underline_thickness=102, strikethrough_position=530, strikethrough_thickness=102) (new face)
Diffing this will show that it's the same, byte for byte except for timestamps.
Nonetheless, adding the symbol_map
fixes it. Thank you.
EDIT: I notice that after adding the symbol map, some symbols are rendered bigger than before when it was autodetected. Is this expected?
EDIT 2: Adding just the symbol_map
line from the FAQ suddenly causes some fonts to be rendered from a 9x15 font instead of using JetBrains Mono:
U+e712 Face(family=Fixed, style=Regular, ps_name=, path=/nix/store/rp7kjp0w7j4lrhrcb26innhh4nn1rwlx-font-misc-misc-1.1.3/lib/X11/fonts/misc/9x15.pcf.gz, index=0, is_scalable=False, has_color=False, ascender=0, descender=0, height=0, underline_position=0, underline_thickness=0, strikethrough_position=0, strikethrough_thickness=0) (new face)
from kitty.
This issue also appears on Mac with 0.32.1 kitty.
In my case, kitty sometimes picks up nerd font icons from CJK fonts installed in my system, instead of symbols only nerd font.
from kitty.
Related Issues (20)
- new_tab command not working in startup.config HOT 2
- High CPU usage after a few hours HOT 3
- OSC 52 does not work as expected in kitty 0.33.0 HOT 2
- [Question] Is there a way to increase color contrast HOT 2
- terminal identification (for example, with DECRPTUI/DA3) HOT 1
- is_gcc() does not detect gcc properly when called as cc HOT 5
- simd detection logic in simd-string.c fails to account for arm32 targets
- resize-window won't make windows shorter than some threshold
- Kitty running slow on artix fresh install HOT 1
- simd setup: amd64 target doesn't account for AVX support only HOT 8
- Kitten hints should ignore current shell prompt HOT 2
- Kitty 0.33.0 doesn't build on armv7hl - fast_data_types.so: undefined symbol: xor_data64_256 HOT 2
- fails to build on s390x ppc64le HOT 7
- OSC-52 copy failed in 0.33 HOT 4
- Bash shell_integration breaks multiline dynamic prompts on resize HOT 1
- Nerd font icon not render properly after updating from 0.31.0 to 0.33.0 on Linux HOT 1
- Does kitty assume arch baseline for amd64 and arm64? HOT 1
- Symbols for legacy computing - cell diagonals HOT 3
- Font Opacity? HOT 2
- Instruction to build a complete macOS package HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitty.