3

When I go into LibreOffice writer and hold up a page to a screen, it is not the same size.

If I change the zoom to 117% they are the same size.

How do I scale the page size (and not the rest of the LibreOffice UI) so that 117% zoom would be shown as 100%?

How I did it: First, I calculated the new DPI: Current DPI/100*Scale, in my case it was 96/100*117=112.32. I then rounded down the resulting number (112). Then I went into the 'Startup Applications' setting and added this command: xrandr --dpi 112. Then I logged out, then went back in again to verify my settings were correct.

luk3yx
  • 401

3 Answers3

2

You may have to adjust the dpi settings on OS level. There are different approaches how to do this, they are explained in some answers to "How to find and change the screen DPI?".

tohuwawohu
  • 7,352
0

Note that if you have two monitors, they may have different DPI value. It might be non-obvious if the values aren't drastically different like HiDPI vs normal monitor.

I, in particular, have a 1280 × 1024 monitor with 377mm × 300mm dimensions, which gives 86 DPI, to which the X server's DPI setting is set. But my second monitor is 1920 × 1080 with 477mm × 268mm dimensions, thus having 102 DPI.

This difference results in the virtual sheet matching the paper sheet in size on one monitor but not on the other. So be sure to set X server's DPI setting to the one of the monitor where you're going to display your LibreOffice Writer windows.

Ruslan
  • 1,733
0

I don't think that there's a way to do this, but you can set your measurements to mm/cm/inches or others and base your formatting around that.

You can add a vertical ruler by enabling it: settings: -> tools -> options -> LibreOffice Writer -> View -> Vertical ruler