[Libreoffice-bugs] [Bug 116920] Bounding box indicators are rendered erroneously on higher-resolution screen

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 28 17:56:59 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=116920

--- Comment #8 from Regina Henschel <rb.henschel at t-online.de> ---
I can produce a similar result, if I set the display to 200% (resulting in
192dpi) in the system settings of Window 10, although I have a normal monitor.

The markers are contained in the files markers.png and cropmarkers.png in the
folder svx/res in the images_???.zip file. Instead of ??? use the theme, you
have selected. The needed markers are cut from that images.

There is method CountDPIScaleFactor(sal_Int32 nDPI) in windows.cxx which
generates a scaling factor. In my case of 192dpi it would generate 200%.

I have taken the "cropmarkers" of an image as example. The resulting markers
look as if the pixel offset, which is needed to cut the desired marker from the
large image, is multiplied with this 200% and therefore the wrong part of the
image is taken as "marker".

Do you have a display resolution in Windows set, which is different from the
normal 100%? Or is such value set by the device driver?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180928/e81426b3/attachment.html>


More information about the Libreoffice-bugs mailing list