impallari / Font-Testing-Page

A webpage for testing typefaces, live at www.impallari.com/testing
https://impallari.com/testing/
Other
249 stars 84 forks source link

Kerning not working for some fonts #35

Closed weiweihuanghuang closed 10 years ago

weiweihuanghuang commented 10 years ago

I've noticed toggling 'OpenType Kerning' doesn't turn on kerning in some fonts, it happens in Chrome 35.0.1916.153 with ttf, otf and woff versions (for example Roboto-Thin.ttf doesn't but CooperHewitt-Thin.otf, ClearSans-Regular.ttf works).

I know there is kerning in these fonts and when I tested it in another html page with text-rendering: optimizeLegibility the kerning works.

impallari commented 10 years ago

Hi Wei: I don't like text-rendering: optimizeLegibility. Already been requested many times. Wontfix. Sorry.

It's not a standard property, and I also consider that I shouldn't be needed. I see it as a temporary hack, and don't want to include it. Fill a bug in Chrome :) so they fix the browser.

By the way, kerning in CooperHewitt looks very incomplete, lots of missing pairs. For example: there is kerning for /x /o but not for /o /x. Especially noticeable in the dark weights.

weiweihuanghuang commented 10 years ago

I see, so how come the kerning in fonts such as Roboto don't show up? And how can we make the kerning work otherwise?

impallari commented 10 years ago

a) It's a Chrome bug. Ask Chrome developers to support kerning in the proper way, as Firefox do. b) Use Firefox c) Fork this repository and add optimize legibility in your copy. I won't do it here, since I don't want to validate the use of optimize legibility

weiweihuanghuang commented 10 years ago

I was wondering more about why some fonts the kerning works while others don't in Chrome, as in, is there something in the way that the kerning is programmed that causes Chrome not to be able to read it?

But yes, I will just use Firefox instead, thank you.

davelab6 commented 10 years ago

It could be Kern table versus GPOS kerning On 3 Jul 2014 02:21, "Wei H" notifications@github.com wrote:

I was wondering more about why some fonts the kerning works while others don't in Chrome, as in, is there something in the way that the kerning is programmed that causes Chrome not to be able to read it?

— Reply to this email directly or view it on GitHub https://github.com/impallari/Font-Testing-Page/issues/35#issuecomment-47870785 .

behdad commented 10 years ago

It is indeed.

weiweihuanghuang commented 10 years ago

Thanks for the clarification!

On Thu, Jul 3, 2014 at 7:13 PM, Behdad Esfahbod notifications@github.com wrote:

It is indeed.

— Reply to this email directly or view it on GitHub https://github.com/impallari/Font-Testing-Page/issues/35#issuecomment-47958056 .

davelab6 commented 10 years ago

@impallari Please add a note to the kerning page, shown only if you are using chrome, that this isn't working in Chrome due to a Chrome bug :)