chiark / gitweb /
Separate selecting usable hints from emitting them
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 16 Nov 2024 18:58:41 +0000 (18:58 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 16 Nov 2024 18:58:41 +0000 (18:58 +0000)
commit30d226f30ffff00aac58aaa44101239a0535474e
treed0977d1d21dc607b5ff2b83998b047ef5c80017c
parent1459c8cf93ab89e418a4d6bb8906cf9aca659d2b
Separate selecting usable hints from emitting them

Now there's a select_hints() function that decides what hints should
be emitted, and emit_hints() just handles putting those hints into a
charstring.  I hope this will make each function reasonably simple.
Importantly, it means that select_hints() can be called twice, once
for horizontal stems and once for vertical ones.
bedstead.c