summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/libmdoc.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2012-11-16 17:16:29 +0000
committerschwarze <schwarze@openbsd.org>2012-11-16 17:16:29 +0000
commitd0f586adfbff8c248f90697399ae9513575eac35 (patch)
tree5b0e48cb7993d358e089e476cb6eec0fa6a43991 /usr.bin/mandoc/libmdoc.h
parentCall discover_interface() before forking, so both processes will know (diff)
downloadwireguard-openbsd-d0f586adfbff8c248f90697399ae9513575eac35.tar.xz
wireguard-openbsd-d0f586adfbff8c248f90697399ae9513575eac35.zip
Improve formatting of badly nested font blocks.
The basic idea is to already pop the font at the end marker instead of allowing it to linger until the final end of the block. This requires a few preliminaries: * For each block, save a pointer to the previous font to be used in case the block breaks another and gets extended. * That requires making node information writable during rendering. * Now fonts may get popped in the wrong order; hence, after the stack has already been rewound further by some block that began earlier, ignore popping a font that was put on the stack later. * To be able to exploit all this for font blocks, tie processing to their body, not their block, which is more logical anyway. Triggered by florian@ reporting vaguely similar issues with list blocks.
Diffstat (limited to 'usr.bin/mandoc/libmdoc.h')
0 files changed, 0 insertions, 0 deletions