googlefonts / science-gothic

Science Gothic, a libre variable font
Other
142 stars 4 forks source link

Some small caps have mismatched points /k.sc /x.sc #269

Closed tphinney closed 2 years ago

tphinney commented 3 years ago

There may be others, but @yarmola noticed these: image.png

image.png

kenmcd commented 3 years ago

As an aspiring font maker I took a look at these.

The x.sc interpolation issue only requires a fix in one master. Cnd Ctr S master

Fixed both of those and this interpolation issue is gone. x sc fixed

The k.sc interpolation issue is a bit more complicated. Many of the masters do not have the start point at the bottom left (it is at top left). So setting all of those to bottom left made most of this issue go away.

k sc fixed

But there is another issue with the upper right stem. Around Width 600 to 800 the stem is tapered rather than straight. See image below (sorry do not know how to fix this one, yet). Set those Variations settings and then move the Width and you will see the issue. k sc issue

I have been watching this project very closely to learn from some experts!

tphinney commented 3 years ago

These are both problems we have seen and erased many instances of. The first one is a minor dev error.

The second one is harder to fix. Basically, it is possible to have shapes that are perfectly good in the masters, but the interpolations have some distortions like this. One solution is to leave overlapping contours in the glyph. Doing that would make the shapes work beautifully, BUT some rasterization scenarios do not work as well with overlapping contours as one would like. So we generally try to avoid them. I am not sure it is possible in this case. I will have to see how we handled the upright K. My recollection is that I did the tweaks to fix it, but perhaps it was @kateliev

kenmcd commented 3 years ago

I will have to see how we handled the upright K.

I looked at it, you added a looped corner.

servantb commented 2 years ago

I set all start points to lower left in k.sc and x.sc ✅ Also added looped connections to stem, arm, and leg in k.sc to correct interpolation kinks and splits. (Only updated VFJ.)

kateliev commented 2 years ago

@tphinney this is now done. You could close the issue after build!