allow-overflowing-double-width-glyphs: take glyph offset into account

A narrow, but offset:ed glyph should still be considered double
width.

This patch also fixes a crash, when the maybe-double width glyph is in
the last column. This is a regression.
This commit is contained in:
Daniel Eklöf 2021-07-02 16:29:08 +02:00
parent 562096a21a
commit 396a5ff79b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 10 additions and 3 deletions

View file

@ -34,6 +34,13 @@
### Deprecated
### Removed
### Fixed
* Glyph offset not being taken into account when applying
`tweak.allow-overflowing-double-width-glyphs`.
* Regression: crash when a single-char, double-width glyph is in the
last column, and `tweak.allow-overflowing-double-width-glyphs=yes`.
### Security
### Contributors