diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-15 18:18:45 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-15 18:18:45 +0300 |
commit | aed6837cc1e1bfb9ccb238900ad7387444b624eb (patch) | |
tree | 3b502166a9b9cd69b46ea6c11949be82bedaff53 /res | |
parent | 9f7bbeecba762213c7dec4555e0cbb1da2b2ea66 (diff) |
Fixing regressions text metrics, InputWidget
`run_Font_` was moving the Y cursor position twice for each line break.
Checking for the HarfBuzz UNSAFE_TO_BREAK flag leads to some unexpected behavior near edges of words.
The old `tryAdvanceNoWrap` method should return the maximum horizontal advance of the text, and not the cursor position's advance.
`draw_WrapText` used the wrong foreground color.
`TextBuf` now uses WrapText to do all the measuring and drawing, making things much simpler.
Diffstat (limited to 'res')
-rw-r--r-- | res/about/version.gmi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/about/version.gmi b/res/about/version.gmi index 89c9bedc..a39d792b 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi | |||
@@ -18,7 +18,7 @@ | |||
18 | * Preferences have been reorganized. There is a new Fonts page, and some General settings have been moved to the Style page. All color-related settings are on the Colors page, including UI theme colors. | 18 | * Preferences have been reorganized. There is a new Fonts page, and some General settings have been moved to the Style page. All color-related settings are on the Colors page, including UI theme colors. |
19 | * Opened links are updated to reflect visited status even when opened in a background tab or to the side. | 19 | * Opened links are updated to reflect visited status even when opened in a background tab or to the side. |
20 | * Unicode Byte Order Mark is ignored in the beginning of a page. | 20 | * Unicode Byte Order Mark is ignored in the beginning of a page. |
21 | * Right-to-left paragraphs are aligned to the right. | 21 | * Right-to-left paragraphs are aligned to the right. Link icons and list/quote symbols are moved to the right margin. |
22 | * Large lede paragraph font is not applied if the paragraph has too many lines. | 22 | * Large lede paragraph font is not applied if the paragraph has too many lines. |
23 | * Adjusted kerning of Nunito. | 23 | * Adjusted kerning of Nunito. |
24 | * Fixed sizing of characters in the Noto Symbols fonts. | 24 | * Fixed sizing of characters in the Noto Symbols fonts. |