Okay, I figured out the problem. Here is the info for the monitor in
question:

screen #0:
  dimensions: 1920x1080 pixels (351x191 millimeters)
  resolution: 139x144 dots per inch

According to X the monitor has 144 DPIY. This is the minimum value which
triggers HiDPI support in LibreOffice: (144 + 48 == 192)

http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-4-2&id=52cb1085edc66995393d5be5a55cb45b73a95292

There are at least two fixes:

1. Bump up the minimum value from 144 DPI (or only kick in if both X and
Y are 144, etc.)

2. Port over this fix from master:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=9f308fbc02439e25f8932314a9374c205ebdbc4c

It is also possible to use a better API for DPI such as xrandr that
might give better information.

Kendy, what do you think?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300792

Title:
  libreoffice toolbar icons large and ugly - no matter what theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1300792/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to