Skip to content

Commit

Permalink
Markdown list converted to rst list.
Browse files Browse the repository at this point in the history
  • Loading branch information
salt-die committed Jul 23, 2024
1 parent f04223e commit ba5ec90
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/batgrl/figfont.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,31 @@ class FullLayout(IntFlag):
A layout controls how characters are fitted in rendered text.
The layout modes are:
- FullWidth: Each character occupies the full width or height of its arrangement of
* FullWidth: Each character occupies the full width or height of its arrangement of
sub-characters.
- Kerning: Each character is moved together until they touch.
- Smushing: Each character is moved one step closer after they touch, so that they
* Kerning: Each character is moved together until they touch.
* Smushing: Each character is moved one step closer after they touch, so that they
overlap. Additional smushing rules determine which sub-character is used for each
overlap.
There are two types of smushing:
- Universal: The sub-character from the earlier character is replaced by the
* Universal: The sub-character from the earlier character is replaced by the
sub-character from the later character. (This behavior can be reversed with
`reverse_universal_smush`)
- Controlled: Uses a set of smushing rules.
* Controlled: Uses a set of smushing rules.
The controlled smushing rules are:
- Equal: Two sub-characters are smushed into a single sub-character if they are
* Equal: Two sub-characters are smushed into a single sub-character if they are
equal (except for hardblanks).
- Underscore: An underscore (`"_"`) will be replaced by any of: `"|"`, `"/"`,
* Underscore: An underscore (`"_"`) will be replaced by any of: `"|"`, `"/"`,
`"\"`, `"["`, `"]"`, `"{"`, `"}"`, `"("`, `")"`, `"<"`, `">"`.
- Hierarchy: A hierarchy of six classes is used: `"|"`, `"/\"`, `"[]"`, `"{}"`,
* Hierarchy: A hierarchy of six classes is used: `"|"`, `"/\"`, `"[]"`, `"{}"`,
`"()"`, and `"<>"`. When two sub-characters are from different classes, the latter
class will be used.
- Pair: Replaces opposite brackets (`"[]"` or `"]["`), braces (`"{}"` or `"}{"`),
* Pair: Replaces opposite brackets (`"[]"` or `"]["`), braces (`"{}"` or `"}{"`),
and parentheses (`"()"` or `")("`) with a vertical bar (`"|"`).
- BigX: Replaces `"/\"` with `"|"`, `"\/"` with `"Y"`, and `"><"` into `"X"`.
- HardBlank: Two hardblanks will be replaced with a single hardblank.
* BigX: Replaces `"/\"` with `"|"`, `"\/"` with `"Y"`, and `"><"` into `"X"`.
* HardBlank: Two hardblanks will be replaced with a single hardblank.
"""

FullWidth = 0
Expand Down

0 comments on commit ba5ec90

Please sign in to comment.