The Wayback Machine - https://web.archive.org/web/20200915133937/https://github.com/adobe-fonts/source-code-pro/issues/156
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' barely distinguishable from italic 'o' #156

Open
hube opened this issue Mar 30, 2017 · 8 comments
Open

Italic 'a' barely distinguishable from italic 'o' #156

hube opened this issue Mar 30, 2017 · 8 comments
Labels

Comments

@hube
Copy link

@hube hube commented Mar 30, 2017

Sublime Text renders certain text in italics. Unfortunately, the letter 'a' and letter 'o' are extremely similar in italics and the differences between the two are almost imperceptible even when magnified. Is there a way to use the regular 'a' instead of this one?

avso

The literal text above is:

import cam.example.word;
import com.example.ward;
@miguelsousa
Copy link
Member

@miguelsousa miguelsousa commented Mar 30, 2017

The italics have a slanted double-story a, which can be accessed thru the OpenType features ss02, cv01, and salt.
If Sublime Text doesn't have support for OT features, you can make a custom version of the italics with pyftfeatfreeze which will put the alternate a's in the default slots.

@miguelsousa
Copy link
Member

@miguelsousa miguelsousa commented Mar 30, 2017

@pauldhunt have you considered swapping the a's? I can see how the current setup creates legibility problems for coders. Swapping the shapes would still allow designers — who usually work with more sophisticated apps — to access both variants.

@hube
Copy link
Author

@hube hube commented Mar 31, 2017

@miguelsousa Thanks for the suggestions. I don't think Sublime has support for such OT features, I will investigate using pyftfeatfreeze

@jlanzarotta
Copy link

@jlanzarotta jlanzarotta commented Jun 16, 2017

Are there any plans to make the italic "a" character the same as the regular "a" without using pyftfeatfreeze?

@pauldhunt
Copy link
Contributor

@pauldhunt pauldhunt commented Jun 16, 2017

there are no plans to update the fonts in the immediate future. i will likely explore other design solutions for differentiating ‘a’ from ‘o’ before going the route of making the italic form the same as the upright form as i personally am not a fan of the obliqued 2-story form.

@jlanzarotta
Copy link

@jlanzarotta jlanzarotta commented Jun 19, 2017

Okay, thanks.

@Wolf-at-SO
Copy link

@Wolf-at-SO Wolf-at-SO commented Mar 7, 2018

@pauldhunt thanks for having an eye on the issue.

@rioj7
Copy link

@rioj7 rioj7 commented Mar 7, 2019

For Windows I managed to get the a glyph with the following procedure

  1. Copy the Source Code Pro Italic TTF fonts from the C:\Windows\Fonts folder to a temporary folder
  2. In the temporary folder create a new folder out: mkdir out
  3. Install python 3.5+
  4. Install python fonttools: C:\Python36\Scripts\pip3.6.exe install fonttools
  5. Copy the file pyftfeatfreeze.py to the temporary directory or some util folder
  6. Convert the TTF fonts (all on 1 line):
    C:\Python36\python.exe pyftfeatfreeze.py -f 'ss02,cv01,salt' SourceCodePro-It.ttf out\SourceCodePro-It.ttf
  7. Perform the same operation for all the Italic TTF font files
  8. Copy all the files from the out directory to the C:\Windows\Fonts folder
  9. Restart the applications

The a now has a different glyph only it is not as smooth as the other glyph. Only visible for large font size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
6 participants
You can’t perform that action at this time.