readme: sligh re-wording of the "Unicode combining" chapter

This commit is contained in:
Daniel Eklöf 2020-05-02 19:57:18 +02:00
parent 804642580e
commit 39024681ec
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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