Re: How to deal with dpi-dependent values in unit tests?

2021-10-16 Thread Regina Henschel
Hi Tomaž, Tomaž Vajngerl schrieb am 16.10.2021 um 15:35: Hi Regina, On Fri, Oct 15, 2021 at 1:29 PM Regina Henschel > wrote: Hi all, the values of the bound rectangle of a Fontwork shape are dpi dependent (I don't know why). I could increase the

Re: How to deal with dpi-dependent values in unit tests?

2021-10-16 Thread Tomaž Vajngerl
Hi Regina, On Fri, Oct 15, 2021 at 1:29 PM Regina Henschel wrote: > Hi all, > > the values of the bound rectangle of a Fontwork shape are dpi dependent > (I don't know why). I could increase the tolerance to cover more dpi > settings as done in https://gerrit.libreoffice.org/c/core/+/123613 or

How to deal with dpi-dependent values in unit tests?

2021-10-15 Thread Regina Henschel
Hi all, the values of the bound rectangle of a Fontwork shape are dpi dependent (I don't know why). I could increase the tolerance to cover more dpi settings as done in https://gerrit.libreoffice.org/c/core/+/123613 or I add if (!IsDefaultDPI()) return; as done in