juliamono
juliamono copied to clipboard
Mystery spacing issues
Alright so I've been absolutely beaned by the following issue: 99% of everything works fine. Not problems at all. however There are a few random spacing issues that I cannot figure out what the issue is. Characters like 〚〛❴❵➰ when in my various editors likes to:
- Be double width, hugging the left side (similar to how emojis work from other fonts)
- Render fine, however breaks vertical traversal
i have spent hours messing with fontforge, fontconfig, etc etc etc and I cannot for the life of me understand this. Please help
Hi. Any idea what version? (Look at glyph U+E843.) That vertical bar looks very short to me 🤔. Editor or terminal?
Difficult to reproduce or diagnose until there's more information...
Hi. Any idea what version? (Look at glyph U+E843.) That vertical bar looks very short to me 🤔. Editor or terminal?
Difficult to reproduce or diagnose until there's more information...
Latest release (0.054), also the bar is ∣ not | my bad
Both vscodium and st terminal, im sure other things too but those are the ones I use
Interesting...
As a precaution, please delete JuliaMono-RegularLatin.ttf and JuliaMonoBold-Latin.ttf from your system. These are restricted to a basic Latin character set and only have 330 glyphs. Sometimes these get picked up by mistake by applications and as a result fallback fonts are used extensively.
At first I thought you were typing the mathematical left bracket U+27E6 (⟦) but I see now that you're typing the CJK left bracket U+301A (〚) which as you can already see (at least on github) has a double-spacing effect in some fonts and in some applications. But in JuliaMono-Regular these glyphs are the same width.
Here's FontGoggle's breakdown of ⟦⟧〚〛❴❵:
So design-wise these glyphs are the same width, and should be behaving normally. The question is why they're being treated as double-space CJK.
Yep it still happens (only had JuliaMono-Regular.ttf enabled anyway). is normal as well. The following are more problem-characters: "✣➡❗♯⚇✓✗"
The existence of mathematical left/right bracket is useful as well btw thanks
Well ❗ is also an emoji, like a smiley, so some applications will set it wider (double width), others won't, if a single-width glyph is present in the font (JuliaMono has a version of this glyph).
For example: VSCodium editor (s1 is ❗, s2 is !:
VSCodium terminal:
I can't reproduce any errors with the other characters - "✣➡♯⚇✓✗" - though.
It would probably be better for your use case if you used fonts like FiraCode, JetBrains, or Plex Mono - these have fewer glyphs and the behaviour of the fallback mechanism for emoji-like characters will be easier to predict.
This issue has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.