dfrg/swash

Variable font renders incorrectly

Closed this issue · 1 comments

Hey!
The font Exposure from 205TF renders incorrectly with certain settings. The EXPO axis range is [-100, 100]. On swash version 0.1.12 it did not render any change on values > 0, but this seems to have been fixed between 0.1.12 and 0.1.17!

However, the issue I'm seeing now is that it renders incorrectly when the variation makes the paths cross each other. If that makes sense.

This is what it should look like with an EXPO value of 100:
Screenshot 2024-06-26 at 15 44 14

And this is what swash renders:
Screenshot 2024-06-26 at 15 44 01

This turned out to be an issue with shaping not returning the correct glyph substitutions, not actually an issue with swash. Sry about that!