adobe-fonts/source-han-sans

U+9F39 (鼹): garbled outline

tamcy opened this issue · 4 comments

tamcy commented

The 女 component looks garbled in U+9F39 (JP & KR) (鼹) when rendered in a "small enough" scaling on Windows:
9f39-word

This seems to be caused by an oddity in the merged contour of the glyph:
9f39-ff

This only affects Normal and Regular weights.

Thank you for reporting this somewhat obscure issue. When I inspect the outlines, I can see why this is happening in the Regular weight, but the Normal weight looks okay. I feel that the best fix is to handle this at the design level, by disconnecting the second stroke of the 女 component from the 鼠 component to its left.

tamcy commented

You're right, Normal is fine. My immediate thought was that the glyph exposed a rare bug in the contour-merging code.

The overlapping-subpath removal process seems to be working fine, but it results in an outline that some rasterizers don't like.

In any case, I see no reason why the two components need to completely touch, especially at the lighter weights. The opposite is usually the case, meaning that components tend to overlap in the heavier weights, not the lighter ones. The fix that I will therefore suggest is to redesign the ExtraLight master such that the components do not touch, like in its TW glyph.

Consolidated with Issue #178.