Lorp / fencer

GUI app to create avar2 mappings in fonts
Apache License 2.0
9 stars 0 forks source link

The grid of mappings should show dots, not arrows, if mapping is 0 #8

Closed Lorp closed 1 month ago

Lorp commented 1 month ago

This is likely because we’re comparing original value with denormalized values, which are often slightly different due to rounding via the F214 round-trip.

Lorp commented 1 month ago

Now a nice dot is created, thanks to locationsAreEqual() function, which compares the mappings when normalized and rounded to 1/16384 unit, and also allows only comparing a subset of axes.