Created attachment 111741 [details] Small rectangles with HIDPI display The ruler in Writer does not scale on HIDPI screens along with other UI elements. See the attached PDF. I have gone through ruler.cxx & ruler.hxx and made changes to the define macros to make the rectangles larger and the ruler and ticks the appropriate size. However when using GetDPIScaleFactor() member function it quickly gets a little messy with modifying functions to take DPIScalingFactor arguments. I'm happy to do this but there might be a more preferred way? Should this be handled lower down in VCL? This would have benefits that lines drawn would output as 2 px wide rather than 1px as they currently do. I'm not much of a programmer so be gentle :-)
Hi Darcy, It's great to hear that you're working on improving our HIDPI support! I'm cc'ing one of our Design Team devs; hopefully he'll be able to give you some pointers. You can also try asking questions on the Dev mailing list and on the Dev IRC channel: https://wiki.documentfoundation.org/Development/Mailing_List #libreoffice-dev on Freenode. Best, --R
Created attachment 111985 [details] Big rectangles with HIDPI With scaling from rulerHIDPI patch
Created attachment 111986 [details] rulerHIDPI patch Needs work but something along these lines produces the ruler above.
The patches are on gerrit if someone could review them please? https://gerrit.libreoffice.org/#/c/13867/