trigger MapMode ScaleX change in writer

Luboš Luňák l.lunak at collabora.com
Wed May 25 04:13:34 UTC 2022


On Wednesday 25 of May 2022, Mark Hung wrote:
> Hi,
>
> I'm refactoring SwFntObj::DrawText() in sw/soucre/core/txtnode/fntcache.c,
> and writing unit test for it. I'm looking for a way to trigger the
> situation that
> GetMapMode().GetScaleX()  doesn't equal to 1.

 Getting GetScaleX() not be 1 is easy here, I just need to open a new Writer 
document and Ctrl+wheel to zoom. Are you sure that is the part you have a 
problem reproducing?

-- 
 Luboš Luňák
 l.lunak at collabora.com


More information about the LibreOffice mailing list