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

Latin vs Cyrillic #240

Open
krasnovpro opened this issue Feb 18, 2022 · 6 comments
Open

Latin vs Cyrillic #240

krasnovpro opened this issue Feb 18, 2022 · 6 comments
Projects

Comments

@krasnovpro
Copy link

krasnovpro commented Feb 18, 2022

How about making Cyrillic glyphs visually distinct from Latin glyphs? This would help distinguish between Cyrillic and Latin variables that are identical in spelling.

@fabrizioschiavi
Copy link
Owner

Could you make some examples to understand better, please?

@krasnovpro
Copy link
Author

var foo = 10;
fоо *= 5;
console.log(foo);
-----
Uncaught ReferenceError: fоо is not defined
    <anonymous> debugger eval code:2

@wismill
Copy link

wismill commented Feb 18, 2022

I do no think this is a good idea: confusable characters should be handled by your editor rather than the font. For instance VS Code implements this feature. There are plenty of confusable chars, so handling them should be preferably automatised to miss none.

@davidzchen
Copy link

There are numerous different code editors, and I think it infeasible to request all of them implement some kind of checker for confusable characters.

There are many precedents of fonts designed to make similar characters differentiable as an intentional decision to make the font accessible for individuals with visual impairments. Atkinson Hyperlegible by the Braille Institute is an excellent example.

While this context is less about readability in terms of accessibility concerns, the fact that it is so easy to mix up Latin and Cyrillic characters this way does greatly affect software engineering productivity, which this font is designed to improve on. Thus, if it is possible to differentiate between Latin and Cyrillic characters that look alike, it would be better to do so in the font.

@fabrizioschiavi what are your thoughts?

@fabrizioschiavi fabrizioschiavi added this to ToDo in 0.830 Jan 5, 2023
@fabrizioschiavi
Copy link
Owner

Thank you to all to letting me understand a bit more this issue.
It seems necessary to define new standars in the design of the glyphs for every language to avoid confusions in type design.
Probably in the future will be possible meanwhile I'll work on this issue with the hope to suggest these new standards

@fabrizioschiavi fabrizioschiavi removed this from ToDo in 0.830 Dec 15, 2023
@fabrizioschiavi fabrizioschiavi added this to To Do in 0.831 Dec 15, 2023
@TsavyPrince
Copy link

TsavyPrince commented Jan 8, 2024

IMO a bad idea to invent new letterforms since there's no telling which letterforms are Latin or Cyrillic without already knowing.
Instead, a stylistic set which makes Cyrillic characters italic or bold would be easier to learn, and also easier to see at a glance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
0.831
To Do
Development

No branches or pull requests

5 participants