Re: [PATCH] compositor-headless: Report a more realistic physical size

2018-07-03 Thread Pekka Paalanen
On Mon, 02 Jul 2018 10:29:48 -0400 Simon Ser wrote: > > On Thu, 12 Apr 2018 09:31:48 +0200 > > Johan Klokkhammer Helsing wrote: > > > > > Some clients rely on the physical size to determine the physical DPI. > > > With the > > > previous implementation, we would report 1px==1mm, which is a

Re: [PATCH] compositor-headless: Report a more realistic physical size

2018-07-02 Thread Simon Ser
> On Thu, 12 Apr 2018 09:31:48 +0200 > Johan Klokkhammer Helsing wrote: > > > Some clients rely on the physical size to determine the physical DPI. With > > the > > previous implementation, we would report 1px==1mm, which is a DPI of 25.4, > > which is incredibly low. > > > > The problem is

Re: [PATCH] compositor-headless: Report a more realistic physical size

2018-07-02 Thread Pekka Paalanen
On Thu, 12 Apr 2018 09:31:48 +0200 Johan Klokkhammer Helsing wrote: > Some clients rely on the physical size to determine the physical DPI. With the > previous implementation, we would report 1px==1mm, which is a DPI of 25.4, > which is incredibly low. > > The problem is solved by setting a

[PATCH] compositor-headless: Report a more realistic physical size

2018-04-13 Thread Johan Klokkhammer Helsing
Some clients rely on the physical size to determine the physical DPI. With the previous implementation, we would report 1px==1mm, which is a DPI of 25.4, which is incredibly low. The problem is solved by setting a physical size so the DPI is close to 72 instead. If the output is scaled, the DPI