googlefonts / roboto

The Roboto family of fonts
Apache License 2.0
3.85k stars 309 forks source link

Combining keycap at U+20E3 should combine with more characters #99

Open jamesgk opened 9 years ago

jamesgk commented 9 years ago

@roozbehp wanted to research to find out what characters are used with a combining keycap on the web, but a minimal expectation would be all characters on a US QWERTY keyboard (basically all visible ASCII).

Quickly rendering the ASCII characters + the keycap with Roboto reveals many problems, and some tricky cases (what to do with characters larger than the keycap? descenders?):

roboto

At least the numbers seem to be working.

roozbehp commented 9 years ago

It's clear that the default keycap glyph should be made larger and deeper to cover the whole glyph for all ASCII graphic characters. We also need to make sure all the char+keycap combinations get the same advance width, which should be achievable using GPOS.