- [removeOverlaps] Added new module and
removeOverlaps
function that merges overlapping contours and components in TrueType glyphs. It requires the skia-pathops module. Note that removing overlaps invalidates the TrueType hinting (#2068). - [varLib.instancer] Added
--remove-overlaps
command-line option.
Theoverlap
option ininstantiateVariableFont
now takes anOverlapMode
enum:0: KEEP_AND_DONT_SET_FLAGS
,1: KEEP_AND_SET_FLAGS
(default), and2: REMOVE
. The latter is equivalent to callingremoveOverlaps
on the generated static
instance. The option continues to acceptbool
value for backward compatibility.