diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-23 00:30:38 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-23 00:30:38 +0000 |
commit | f16a70626e3c042321c73d4629e54507618019f1 (patch) | |
tree | a48645b2b6fbe05840f1b5c3c70c9832b33fb46c /roff_html.c | |
parent | 2a063cdabb3cc1368a3f4f8d6145a57db81c577e (diff) | |
download | mandoc-f16a70626e3c042321c73d4629e54507618019f1.tar.gz |
Simplify font handling:
1. Inherit the font attribute from the parent box, such that iteration
is no longer required to find the current font.
2. For well-known function name tokens, do not insert an EQN_LISTONE
box into the AST; simply set the font attribute of the text box
itself that contains the name.
Also improve word splitting of unquoted strings in default font mode:
3. Split between numbers and punctuation because both will soon get
different HTML markup.
4. Do not split between letters. With the newly ubiquitious font
attributes, all formatters will be able to figure out what to do
without putting each letter into a separate box.
Diffstat (limited to 'roff_html.c')
0 files changed, 0 insertions, 0 deletions