mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-09 08:21:01 -04:00
readme: sligh re-wording of the "Unicode combining" chapter
This commit is contained in:
parent
804642580e
commit
39024681ec
1 changed files with 9 additions and 8 deletions
17
README.md
17
README.md
|
|
@ -271,10 +271,11 @@ with the terminal emulator itself. Foot implements the following OSCs:
|
||||||
|
|
||||||
## Unicode combining
|
## Unicode combining
|
||||||
|
|
||||||
In order to handle combining characters, foot must store additional
|
In order to handle combining characters (typically diacritics), foot
|
||||||
data for each cell. By default, foot stores at most 2 combining
|
must store additional data for each cell. By default, foot stores at
|
||||||
characters per cell. This adds 9 bytes of additional space to each
|
most 2 combining characters per cell. This adds 9 bytes of additional
|
||||||
cell (that's 75% more space than without combining characters).
|
space to each cell, or 75% more space than without combining
|
||||||
|
characters).
|
||||||
|
|
||||||
You can configure the maximum number of characters to store for each
|
You can configure the maximum number of characters to store for each
|
||||||
cell at **compile time** with
|
cell at **compile time** with
|
||||||
|
|
@ -282,11 +283,11 @@ cell at **compile time** with
|
||||||
**disables** unicode combining completely - **no** additional data is
|
**disables** unicode combining completely - **no** additional data is
|
||||||
stored.
|
stored.
|
||||||
|
|
||||||
Furthermore, in order to improve rendering of combining characters,
|
Furthermore, in order to improve the looks of the rendered combined
|
||||||
foot will by default try to convert base + combining characters to a
|
character,, foot will by default try to convert the base and combining
|
||||||
pre-composed character.
|
characters to a pre-composed character.
|
||||||
|
|
||||||
This will typically look better, since we can now render a single
|
This will typically look better since we can now render a single
|
||||||
glyph, the way the font designer intended it to be rendered. When
|
glyph, the way the font designer intended it to be rendered. When
|
||||||
pre-composing fails, foot will fallback to storing the combining
|
pre-composing fails, foot will fallback to storing the combining
|
||||||
character(s) separate from the base character, and will render the
|
character(s) separate from the base character, and will render the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue