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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 https://gerrit.libreoffice.org/c/core/+/123512

What is the preferred way to handle it?

Kind regards
Regina



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux