diff options
author | Patrick Luby <guibmacdev@gmail.com> | 2024-04-26 20:25:03 -0400 |
---|---|---|
committer | Patrick Luby <guibomacdev@gmail.com> | 2024-04-27 16:35:56 +0200 |
commit | 05d3a99aa687ee4e1706f9403651379b7ebdad89 (patch) | |
tree | d37d37bf24a7c2a92a99419938253f4d95577030 /extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx | |
parent | reduce symbol visibility in sd (diff) | |
download | core-master.tar.gz core-master.zip |
tdf#153306 prevent subpixel shifting of X coordinate
HEADmaster
HACK: for some unknown reason, if the X coordinate of the
path's bounds is more than 1024, SkBlendMode::kExclusion will
shift by about a half a pixel to the right with Skia/Metal on
a Retina display. Weirdly, if the same polygon is repeatedly
drawn, the total shift is cumulative so if the drawn polygon
is more than a few pixels wide, the blinking cursor in Writer
will exhibit this bug but only for one thin vertical slice at
a time. Apparently, shifting drawing a very tiny amount to
the left seems to be enough to quell this runaway cumulative
X coordinate shift.
Change-Id: Ic1ac8a390df51c4aa1cc3183590dce72059af6b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166766
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
Diffstat (limited to 'extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx')
0 files changed, 0 insertions, 0 deletions