Comments (3)
Use a different font for non-ASCII text is disabled by default though.
There are many non-default options that can break things. It would take too much space to cover all of them.
from powerlevel10k.
Hmm. Setting a different font for non-ascii text and then selecting a font that works properly allows me to then use any font, regardless of it having the proper glyphs.
from powerlevel10k.
Hmm. Setting a different font for non-ascii text and then selecting a font that works properly allows me to then use any font, regardless of it having the proper glyphs.
Yep. That's what this setting is for, although it's a crude solution because ASCII/non-ASCII isn't the right partitioning but in practice it's close to what you want.
I don't know about macOS but on Linux you can also do this on the level of the OS. That is, you can define a fallback font that will be used for glyphs missing in other fonts. This is of course better than ASCII/non-ASCII. Physically copying glyphs from one font to another (called font patching) is a viable alternative, which is often easier to achieve in practice and which works on all operating systems. This is in fact how MesloLGS NF is made: it's just Menlo (the font Apple used for the Terminal before switching to whatever they use now) with a bunch of glyphs added to it from other fonts. This patching is done by a script, which you can run with another font as a base. E.g., you can make a font with properly sized icons based on Hack, or any other monospace font. See https://github.com/romkatv/powerlevel10k?tab=readme-ov-file#how-was-the-recommended-font-created
from powerlevel10k.
Related Issues (20)
- Powerlevel10k is suddenly broken in Intellij IDEA terminal HOT 12
- [WARNING]: Console output during zsh initialization detected for iconv: iconv_open(, -t): Invalid argument HOT 8
- Can not change the os icon background without changing the dir background
- Bug: git `core.excludesfile` is ignored HOT 1
- Error description shows while opening iTerm app HOT 2
- Issues at initial configuration HOT 1
- Git Icons Not Displaying Properly in VSCode HOT 1
- Pop!_OS logo not used
- Project on life support HOT 5
- Azure icon UTF-8 RTL issue HOT 4
- Prompt Color Mismatch After Latest iTerm2 Update HOT 1
- Keep cammand_execution_time on the old prompt even with transient prompt HOT 4
- p10k doesnt load if I switch users HOT 7
- Error converting string from to UTF-8 on Prompt HOT 3
- Autocomplete for brew doesn't work HOT 1
- Git Status not updating in current shell
- Unable to set POWERLEVEL9K_VCS_BRANCH_ICON with Pure HOT 6
- why icon change to the question mark? HOT 2
- Console output during zsh initialization detected HOT 2
- [BUG]No data for SHA256-based git repos HOT 2
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 powerlevel10k.