mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-15 08:21:03 -04:00
sixel: don’t *ever* shrink image below its SRA size
If the image was accompanied with a “Set Raster Attributes” (SRA) command, make sure we *never* shrink the image below the size specified in the SRA. Images are normally shrunk when their bottom rows are fully transparent. This enables sixels that aren’t a multiple of 6 to be emitted, without also emitting an SRA command. But if there *is* an SRA command, obey it. Verified against XTerm-367
This commit is contained in:
parent
92e517ae34
commit
e0f1a4ae33
2 changed files with 8 additions and 6 deletions
|
|
@ -101,6 +101,8 @@
|
|||
* Font underlines being positioned below the cell (and thus being
|
||||
invisible) for certain combinations of fonts and font sizes
|
||||
(https://codeberg.org/dnkl/foot/issues/503).
|
||||
* Sixels with transparent bottom border being resized below the size
|
||||
specified in _”Set Raster Attributes”_.
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue