diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-07-05 19:16:25 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-07-05 19:16:25 -0400 |
commit | 7549d36af2e79ebd86ae9cc05a86bfdc22dfebf8 (patch) | |
tree | 4a66b59e7e9835f150a2b9acc1f9d2f895bf9bf7 /pango/pango-utils.c | |
parent | 467bda1e0bc2614b10e2edc46dccc9588388e045 (diff) | |
download | pango-fix-strikethrough-averaging.tar.gz |
renderer: Fix averaging of strikethroughsfix-strikethrough-averaging
In 85bdfead1b36945db251 I made consecutive runs average
their strikeout positions, but I did handle the accounting
properly, causing previous runs to influence the strikeout
of later runs, if we have to draw them separately (due to
color change).
It would be nicer to average even across color changes and
draw the line continuously in that case as well, but that
would require two passes over the runs.
Fixes: #574
Diffstat (limited to 'pango/pango-utils.c')
0 files changed, 0 insertions, 0 deletions