Comments (11)
IMHO, there's no monospaced font that is compatible with CJK characters.
from cascadia-code.
IMHO, there's no monospaced font that is compatible with CJK characters.
Ubuntu Mono
is compatible with CJK characters.
from cascadia-code.
Compatibility between monospace CJK and non-CJK fonts is purely incidental—the width of the Latin characters needs to be half the width of the CJK characters at the same UPM size. Otherwise they won't line up.
If you want perfect compatibility between CJK and non-CJK script, I recommend using a CJK font with included full-width or half-width forms.
from cascadia-code.
IMHO, there's no monospaced font that is compatible with CJK characters.
Iosevka and Noto Sans Mono ExtraCondensed are also compatible with CJK characters.
from cascadia-code.
https://github.com/be5invis/Sarasa-Gothic is a mono space font with great CJK compatibility.
from cascadia-code.
Ubuntu Mono is not CJK font, so you are using chosen fallback font as Microsoft YaHei. However, YaHei is not mono space font, no mono space latin font can align to it.
EDIT:
In case 2, they are both monospace fonts but not aligning. In these case, we usually make a composite font with adjustment on changing width of either side to make it align. For example, Ricty is a composite font from two mono space fonts: Migu 1M(JP) + Inconsolata(Latin). They have different magnification on composition in order to make them aligned.
Since Cascadia is not CJK font, it means if you want it to align to some CJK mono space font, you must to adjust the magnification.
from cascadia-code.
@JerryChin I use Linux(Manjaro), maybe it's different from Windows.
@kazuf3 You are right. And Ubuntu Mono
is compatible with CJK characters when used with a chosen fallback font (such as Source Han Sans CN
).
TEST:
vscode + "editor.fontSize": 20)
from cascadia-code.
I hope that cascadia can create a new variant to support CJK.
I know there are some ways to make composite fonts,
but if cascadia wants to become a good terminal font for more people,
maybe it can release the official version support more language.
from cascadia-code.
I am used to inconsolata, you may have a try too.
from cascadia-code.
@happystraw For some reasons, I can't reproduce your outcome on IntelliJ IDE with Ubuntu Mono
:
Maybe, I'm wrong.
from cascadia-code.
is one single monospace font supporting all scripts possible?
(all unicode languages)
from cascadia-code.
Related Issues (20)
- Letters with diacritical marks in Latin Extended-B block HOT 1
- Feature Request: Large Type Pieces (Unicode 16.0) HOT 1
- VSCode freezing up after installing Cascadia Code via script
- Feature Request: Octants (Unicode 16.0) HOT 2
- Bold characters are wider than regular ones when using the Light or SemiLight variants HOT 16
- Ligatures intermingling on RTL direction HOT 1
- Feature Request: Missing characters for HP 2640 Series terminals emulation
- Ligatures that DON'T deform shape HOT 2
- Support Arabic presentation forms-b
- Slashed zero has a lower height in .ttf (static and variable) font formats compared to .otf(static) HOT 1
- Exclamation point fix doesn't work in the static version of the font
- Nerd fonts icons got smaller after most recent update HOT 11
- Cascadia Mono NF not recognized by VS Code HOT 5
- The size of zip file increases 5 times with Nerd Fonts. Need smaller distributions. HOT 2
- Glyph E27F (fae-atom) in "Cascadia Code NF" is filled in some areas where it should not be HOT 1
- Missing some Nerd Font Glyphs in Cascadia Code NF HOT 1
- Nerd Font Glyph \uf119 missing HOT 2
- Feature Request: Separated octants mode (stylistic set) for Braille characters HOT 1
- Cascadia Code arrow segments not displaying correctly HOT 6
- Nerd Font glyphs are super small HOT 10
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 cascadia-code.