mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-04 07:15:29 -04:00
render: Allow cells to bleed into their neighbor
This patch adds a `confined` flag to each cell to track if the last rendered glyph bled into it's right neighbor. To keep things simple, bleeding into any other neighbor cell than the immediate right one is not allowed. This should cover most use cases. Before rendering a row we now do a prepass and mark all cells unclean that are affected by a bleeding neighbor. If there are consecutive bleeding cells, the whole group must be re-rendered even if only a single cell has changed. The patch also deprecates both old overflowing glyph options *allow-overflowing-double-width-glyphs* and *pua-double-width* in favor of a single new one named *overflowing-glyphs*.
This commit is contained in:
parent
9211ee694c
commit
91801ae55d
6 changed files with 71 additions and 75 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
|
@ -33,6 +33,9 @@
|
|||
|
||||
* `locked-title=no|yes` to `foot.ini`
|
||||
(https://codeberg.org/dnkl/foot/issues/386).
|
||||
* `tweak.overflowing-glyphs` option, which can be enabled to fix rendering
|
||||
issues with glyphs of any width that appear cut-off
|
||||
(https://codeberg.org/dnkl/foot/issues/592).
|
||||
|
||||
|
||||
### Changed
|
||||
|
|
@ -45,6 +48,12 @@
|
|||
|
||||
### Deprecated
|
||||
### Removed
|
||||
|
||||
* The `tweak.allow-overflowing-double-width-glyphs` and
|
||||
`tweak.pua-double-width` options (which have been superseded by
|
||||
`tweak.overflowing-glyphs`).
|
||||
|
||||
|
||||
### Fixed
|
||||
|
||||
* Glyph offset not being taken into account when applying
|
||||
|
|
@ -69,6 +78,8 @@
|
|||
### Security
|
||||
### Contributors
|
||||
|
||||
* [clktmr](https://codeberg.org/clktmr)
|
||||
|
||||
|
||||
## 1.8.1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue