Lagrange [work/v1.8]

Text: Fixed a line wrapping issue

=> Jaakko Keränen

Fri Oct 15 12:08:27 2021 +0300

When the last safe break position was not in the current attributed run, the calculated wrap advance came out incorrect. This was possible when the first glyph in an attributed run didn't fit.

 res/arabic.fontpack/fontpack.ini |  1 +
 src/fontpack.c                   |  4 +-
 src/fontpack.h                   |  8 ++--
 src/gmdocument.c                 |  9 ++++-
 src/gmdocument.h                 |  4 +-
 src/ui/documentwidget.c          |  6 ++-
 src/ui/text.c                    | 79 +++++++++++++++++++++++-----------------
 7 files changed, 66 insertions(+), 45 deletions(-)

=> Diff (Colored) | Diff (Colored, Plain Text) | 🔨 Patch

=> Parent f5938745 | Repository

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.8/commits/2f3987f5e54d95658f95c6991b0644bc15eedabf
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
201.648535 milliseconds
Gemini-to-HTML Time
0.770236 milliseconds

This content has been proxied by September (3851b).