after some tests I concluded that the problem is, that Xorg (xrandr,
xdpyinfo, and so on) is wrongly assuming physical display dimensions. It
will assume your screen is 4:3 or 16:9 even if it is not. Texmaker is
one of the few programs paying close attention to the resolution and
thus distorting pdf output, as it calculates different DPI-values for X
and Y, i.e., adapting to non-square pixels and adjusting for that.

I tried correcting the pixel-dimensions ratio using xrandr but it simply
ignores it.

So I made a small patch for texmaker that will force square pixels
geometry, even if Xorg reports it wrong. After all, all other pdf
viewers don't seem to care about non-square pixels either.



** Patch added: "patch-square-pixels.patch"
   
https://bugs.launchpad.net/ubuntu/+source/texmaker/+bug/1609942/+attachment/5136779/+files/patch-square-pixels.patch

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

Title:
  internal pdf viewer distorts document

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texmaker/+bug/1609942/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to