Fix one pixel mis-alignment of rounded corners when either the cell dimensions or the thickness of the line is an odd number of pixels

The control points of the Bezier curve and the spread due to thickness
must match up with the values used to draw straight lines. In order to
ensure that, one calculates them before upscaling by the super sampling
factor, rather than after. Fixes #2907
This commit is contained in:
Kovid Goyal
2020-08-10 17:28:08 +05:30
parent 1d651270d3
commit 817f0997cf
2 changed files with 26 additions and 22 deletions

View File

@@ -17,6 +17,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- Fix image leaving behind a black rectangle when switch away and back to
alternate screen (:iss:`2901`)
- Fix one pixel mis-alignment of rounded corners when either the cell
dimensions or the thickness of the line is an odd number of pixels
(:iss:`2907`)
0.18.2 [2020-07-28]
--------------------