googlefonts / rubik

Rubik fonts
SIL Open Font License 1.1
204 stars 46 forks source link

Double sources? #5

Closed m4rc1e closed 7 years ago

m4rc1e commented 7 years ago

Hey folks.

@alexeiva @meirsadan I'm a little puzzled over why we have double sources, .glyphs and .ufo?

@meirsadan are you using Robofont?

Ideally, we should have just .glyphs.

alexeiva commented 7 years ago

Original sources were in VFB and UFO. @meirsadan created development .Glyphs sources later to improve the Hebrew. His Hebrew glyph were then merged onto the original UFOs

So the .glyphs sources exist as development branches.

On Jan 16, 2017 6:38 PM, "Marc Foley" notifications@github.com wrote:

Hey folks.

@alexeiva https://github.com/alexeiva @meirsadan https://github.com/meirsadan I'm a little puzzled over why we have double sources, .glyphs and .ufo?

@meirsadan https://github.com/meirsadan are you using Robofont?

Ideally, we should have just .glyphs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/googlefonts/rubik/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AP3Q6bB0Df-0bSXPRjy3_PZJb3M-jz42ks5rS6slgaJpZM4Lk0Ux .

davelab6 commented 7 years ago

I pined H&F about this, I hope we can move the projects to glyphs sources

davelab6 commented 7 years ago

Yep, they are happy to dump the VFB and UFO sources now :)

Rubik was originally done by us in FontLab 5.

Since the beginning of last year we are mostly working with glyphs, because it is much easier and self-explanatory than FontLab.

alexeiva commented 7 years ago

I have compared .VBF/.UFO (v1.0) and .glyphs(v.2.0) sources:

Style version 1.0 version 2.0 deltaW Local Interpolation
Light 63-60 63-60 0
Regular 95-90 94-87 -3 87 > 86*
Medium 135-125 141-127 +2 127 > 126.5*
Bold 185-160 188-167 +7 167 > 166*
Black 250-220 250-220 0

measured in glyph H, stemWidth - stemHeight *- imperically adjusted value

Stem values in H greatly differ. My understanding is that @meirsadan made these compensations to match the color of the two scripts.

I did not spot this deviation during the Cyrillic work and used the compensated .glyphs files, which is why the Latin glyphs in these two vesions diverge. To fix this I will create new glyphs sources from the v.1.0 files, and blend in Meir's Hebrew as is.

m4rc1e commented 7 years ago

Thank you @alexeiva, sounds like a good plan.

alexeiva commented 7 years ago

PR https://github.com/googlefonts/rubik/pull/6 merges all sources into glyphs.

To accomodate for the difference between Hebrew and Latin interpolation schemes I used the new glyphs 'Local Interpolation' parameter. Due to various rounding the precision level is not 100%, and this may affect hinting in the Hebrew range in Light, Medium, and Bold.