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

Regina Henschel rb.henschel at
Fri Oct 15 11:27:27 UTC 2021

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 or I add
     if (!IsDefaultDPI()) return;
as done in

What is the preferred way to handle it?

Kind regards

More information about the LibreOffice mailing list