Change algorithm for y position of dashed/dotted underlines

Make the inner loop faster and ensure that the same logic for y-position
and thickness is used as for the straight underline. Fixes #8074
This commit is contained in:
Kovid Goyal
2024-11-25 11:07:56 +05:30
parent 143705f2a7
commit 4118bfc8ee
2 changed files with 19 additions and 8 deletions

View File

@@ -99,6 +99,8 @@ Detailed list of changes
- Graphics protocol: Fix delete by number not deleting newest image with the specified number (:iss:`8071`)
- Fix dashed and dotted underlines not being drawn at the same y position as straight underlines at all font sizes (:iss:`8074`)
0.37.0 [2024-10-30]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~