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

Italic a (U+0061 Latin Small Letter A) and α (U+03B1 Greek Small Letter Alpha) are Indisguishable #684

Open
MajoranaOedipus opened this issue May 28, 2024 · 1 comment

Comments

@MajoranaOedipus
Copy link

MajoranaOedipus commented May 28, 2024

Just as the title says, italic a (U+0061 Latin Small Letter A) and α (U+03B1 Greek Small Letter Alpha) are indisguishable:

Screenshot_20240528_182737

Since target usage of the font family shall be used for displaying source codes, I believe legibility (i.e. easy for the reader to tell different symbols apart) should be of one of the top concerns.

Possible fixes:

  • add a new variant that uses double-storey a (U+0061 Latin Small Letter A) in italic style
  • Redesign α (U+03B1 Greek Small Letter Alpha) in italic style so that it is not confusable with italic a (U+0061 Latin Small Letter A).
@mtoohey31
Copy link

Thanks for opening an issue about this. Just wanted to add an example where this is relevant. In Lean, it is common to use α (U+03B1 Greek Small Letter Alpha) as the name of a type, and then use a (U+0061 Latin Small Letter A) to refer to a value of that type. In documentation comments (which are italicized in my editor), this makes it impossible to distinguish between the type and value characters, and it's often non-trivial to figure out which is which based on context.

Here's a screenshot:

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

No branches or pull requests

2 participants