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

Fraction characters have zero width #121

Closed
nanoant opened this issue Apr 18, 2016 · 1 comment
Closed

Fraction characters have zero width #121

nanoant opened this issue Apr 18, 2016 · 1 comment
Labels

Comments

@nanoant
Copy link

nanoant commented Apr 18, 2016

I presume this problem comes from widthAdjust.fea where @FRACTION_GLYPHS = [fraction divisionslash slash.frac] get their widths zeroed for some reason. Guessing the reason is combining them with other characters, eg. threequarters. However as a nasty side-effect the standalone versions have zero width and look really bad.

I don't think this is expected behavior, especially that other monospaced fonts do not exhibit such behavior.

I came across this problem using Source Code Pro (Hasklig) for editing Go language assembly, using division slash U+2215 as a module path separator.
zrzut ekranu 2016-04-18 o 12 35 30

@pauldhunt
Copy link
Contributor

I will update this behavior to be localized to the fractions feature and not applied by default.

pauldhunt added a commit to pauldhunt/SourceCodePro that referenced this issue Apr 21, 2016
…es code in <family.fea> and <widthsAdjust.fea> to isolate zeroing of widths for slash characters to <frac> feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants