chiark / gitweb /
Re-work weight-adjustment code to work in two passes
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 11 Oct 2021 22:08:57 +0000 (23:08 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Mon, 11 Oct 2021 22:08:57 +0000 (23:08 +0100)
commit726fa5a495741dfbce8d176a4ff6157f5906b087
tree9b2823015d540bfa0ef8098ed534af202224e8ce
parent77cb8d9d8f589997090d15fa2cd14e285be7e273
Re-work weight-adjustment code to work in two passes

It now records how it wants to move each point and them actually moves
the points in a second pass.  This avoids a problem where moving one
point would cause the loop not to correctly recognise the types of
adjacent points in the path.  This in particular affected glyphs with
sharp upper corners (like &) with weights >= 50.
bedstead.c