Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Georgian text overlaps #16981

Closed
Joeeeeb5 opened this issue Mar 31, 2024 · 2 comments
Closed

Georgian text overlaps #16981

Joeeeeb5 opened this issue Mar 31, 2024 · 2 comments
Labels
Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Issue-Question For questions or discussion Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Product-Terminal The new Windows Terminal. Resolution-Answered Related to questions that have been answered Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons.

Comments

@Joeeeeb5
Copy link

Windows Terminal version

1.19.10573.0

Windows build number

10.0.19045.4239

Other Software

No response

Steps to reproduce

Type text in Georgian

Expected Behavior

Text shouldn't overlap

Actual Behavior

Georgian text overlaps and isn't readable
image

@Joeeeeb5 Joeeeeb5 added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Mar 31, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@lhecker
Copy link
Member

lhecker commented Apr 1, 2024

When it comes to Georgian I have very very bad news...
Unicode's UAX #11: East Asian Width specifies how many columns a given character is supposed to take up, even for characters that aren't used in East Asia.
"ლ" for instance is U+10DA in Unicode and for whatever reason its width is explicitly specified as "Narrow". 🤦

However, the good news is that there's exactly 1 (one) modern font in the entire world which supports monospace Georgian: DejaVu Sans Mono.

On top of that, there are two more up to date clones/forks of that font:

  • "Menlo" by Apple is a font you can't use because Apple's licensing terms only allow it to be used on their devices. Since I don't want you to violate those terms I urge you to definitely avoid visiting this page: https://github.com/ueaner/fonts
    It's recently been replaced by "SF Mono" which doesn't support Georgian.
  • "Hack" is another clone, but it's open source and is the default font for KDE. You can find it here: https://sourcefoundry.org/hack

Out of all of these, I recommend using Hack since it's the most modern one. If you download Hack, I recommend against using their .exe installer. Just download the .zip instead, extract it, select all 4 files, right click and select to "Install for all users":
image

Installing fonts for only your own account has been broken for a long time on Windows.

There may be other monospace fonts, but I bet that if it's not a derivative of DejaVu Sans Mono, it won't support Georgian. The only exception is "GNU Unifont" but that's not a font you'll want to use. 😅

@lhecker lhecker closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2024
@lhecker lhecker added Resolution-Answered Related to questions that have been answered Issue-Question For questions or discussion Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons. Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Product-Terminal The new Windows Terminal. and removed Issue-Bug It either shouldn't be doing this or needs an investigation. labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Issue-Question For questions or discussion Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Product-Terminal The new Windows Terminal. Resolution-Answered Related to questions that have been answered Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons.
Projects
None yet
Development

No branches or pull requests

2 participants