googlefonts / roboto-classic

Development of a Roboto Variable font
SIL Open Font License 1.1
153 stars 15 forks source link

[Compare] added master_ttf vs v2.138 comparisons #18

Closed m4rc1e closed 6 years ago

m4rc1e commented 6 years ago

As mentioned in #16, I thought it wise to diff the static fonts first.

It may be easier to view the images and reports directly in GH, https://github.com/m4rc1e/Roboto-1/tree/testing/Docs/Compare/master_ttf_vs_v2_138

I'm submitting this as a PR because it contains images and reports which may be of use in the future.

@anthrotype @davelab6 have a quick look at the reports in this PR. Imo, I'm fairly happy with the outcome. The only thing I question are the distorted glyphs. If we're all happy, I'll finish off the stated TODO tasks.

I'm also curious how we should version this font? Imo, I'd like this to be distinguishable from the official release for the time being. Some bugs have been fixed in the VF which haven't been done in the official release yet. When we merge both repos and fix the regressions, then they can both have the same version number.

TODO (M Foley)

m4rc1e commented 6 years ago

Just had a quick chat to Cosimo. The missing mkmks reports are misleading.

It seems that if a designer tries to mkmk position a combining glyph e.g acutecomb against a non combining glyph e.g ogonek, it won't shape.

Marc:~ marc$ hb-shape /Users/marc/Documents/googlefonts/manual_font_cleaning/_privates/Roboto/master_ttf/Roboto-Regular.ttf  ̯¸ --features=+mark,+mkmk
[breveinvsubnosp=0+0|cedilla=1+508]

I'll make sure diffenator ignores these combos, even if they exist in the font.

screen shot 2018-07-12 at 16 16 53 Above anchor combo in v2.138 Roboto

davelab6 commented 6 years ago

I seem to recall that macOS will do "off spec" joining, based on proprietary character positioning info in its shaping engine, which is maybe where you saw this happening.

m4rc1e commented 6 years ago

CaretSlop run/rise is being set by ufo2ft, https://github.com/googlei18n/ufo2ft/commit/5d2b23c009c3eb956a56ce54c73ad864dba31355#diff-8cbeaeba57ab2a0082649c81b768ab2bR82. According to the Ms spec, the new values seem correct. The old values were the same for both Roman and Italic fonts which is incorrect.

@anthrotype I've found no way to properly test this. I've tried Mac pages and a lot of Win browsers and had no joy. Do you know of any apps which use the hhea.caretSlopeRun and hhea.caretSlope?

anthrotype commented 6 years ago

I think, but I'm not sure, that MS Word uses the caret slope in hhea. Maybe @moyogo knows

m4rc1e commented 6 years ago

Both cursors slant in Ms Word,

screen shot 2018-07-17 at 14 54 05 Roboto VF

screen shot 2018-07-17 at 15 05 51 Roboto v2.138 unhinted

Imo, Roboto VF's slant is better, lets keep the new vals

davelab6 commented 6 years ago

Values on spec is good :)

davelab6 commented 6 years ago

@m4rc1e what is needed to merge this?

m4rc1e commented 6 years ago

Nothing. We can merge.