Stroke width uneven

Hi,

I wonder why the stroke appears to change width along my path?
I have set it to H:4 W:4 for example and expect to get an even stroke along the path. But it turns out as shown in the image.

Is it me who doesn’t understand the setting go get the stroke even? or should I try another approach, Offset Curve then manually fix it? I have already made the entire script-font, so I want a time efficient method. :slight_smile:

Any recommendations?

Best regards, Interna.

That’s likely due to the rounding ‘error’ of the stroke width, i.e. a matter of low resolution. One way is to decompose the stroke and improve the outlines manually, and another is to scale the UPM up, to something like 2000.

Looks like it’s working. :slight_smile: Would a UPM of like 4000 be a huge problem loading, hinting-wise?

Thank you so much. :slight_smile:

I would advise not to increase the UPM more than necessary; the thickness of 8 units (in 2000) is more than enough to maintain the thickness.

Also read: Font — Glyphs Handbook.

1 Like

Some apps start misbehaving with higher UPMs. If you know in which apps you are going to use the font, you can do some testing. Test to see if the shapes appear in the right size, and if the full width is supported.

An issue with older versions of office apps (IIRC Word for the Mac was affected) was that apparently only a certain width (in units) was reserved by the renderer. But a higher UPM means bigger coordinate numbers, and that limit was more easily reached in ligatures, swashes or ornaments, and some glyphs were cut off horizontally or not displayed at all.

That was like a decade ago. I don’t know if modern app versions still exhibit that issue.

Thank you for the information. :slight_smile: Will make sure to check before publishing.
Love this forum.

I think it is the same issue I reported previously.

There is a workaround that give you expected result, however it is time consuming and perhaps requires some automations.

  1. Copy the glyph strokes in Glyphs.
  2. Paste it to Adobe Illustrator. Set the stroke thickness. Expand the stroke.
  3. Paste it back to Glyphs.

That will not help. The offsetting in Glyphs is not the problem, but the rounding to the grid is. So as soon as you copy the paths from illustrator, it will apply the same rounding and that will cause the same error.

You need to use a bigger UPM or set use a finer grid. The later will not work for a TrueType (and Variable) export as those to not support fraction coordinates.