fontlabapp.fontui.livesync
livesync
Echo suppression for windows that write to the font they follow.
What: Echo remembers the fingerprint a window produced after its own
successful write. When the follow callback later fires, Echo.stale(current)
says whether the window must refresh: False only while the font still matches
that recorded fingerprint, so the window's own write does not reset it. Any
other fingerprint is an external change: the token is dropped and every later
call refreshes until the next own write records a new token.
Use: fontlabapp.fontui.tmetrics records after each LSB/RSB/width/kerning
write and checks in its follow callback.
Why: Qt-free so the rule is unit-tested without FontLab; fingerprints come
from fontlabapp.fontui.tmetrics_model.fingerprint.