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

Add a test verifying that width of tab and space characters are equal #11

Open
roozbehp opened this issue Apr 23, 2015 · 5 comments
Open

Comments

@roozbehp
Copy link
Contributor

According to the Microsoft spec at https://www.microsoft.com/typography/otspec/recom.htm, the TAB (U+0009) character should have an advance width equal to that of space.

This is true in the latest fonts, but we need to have a unit test making sure it doesn't regress.

@behdad
Copy link
Contributor

behdad commented Apr 23, 2015

Is this checked for in Noto?

@roozbehp
Copy link
Contributor Author

No idea if this is checked in Noto.

@roozbehp
Copy link
Contributor Author

roozbehp commented May 1, 2015

/cc @dougfelt for the Noto question.

@davelab6
Copy link
Member

davelab6 commented May 2, 2015

Its also important for fonts to have the space and nbspace glyphs having an equal advanceWidth; many do not

@behdad
Copy link
Contributor

behdad commented May 2, 2015

I'd go as far as saying that fonts should map space and no-break space to the same glyph, period.

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

No branches or pull requests

3 participants