[Libreoffice] rounding problem with twips in writer
caolanm at redhat.com
Tue Jan 17 03:45:48 PST 2012
On Tue, 2012-01-17 at 09:57 +0100, Winfried Donkers wrote:
> This is caused by MM100 to TWIP conversion. An A4 page is 210mm,
> 11906twip. The calculated document width is 210mm, 11907twip.
Do you know where the code is that calculates 11907 as the result ?
> Does anyone have suggestions how to solve this in a neat way?
Otherwise would PaperInfo::doSloppyFit be of any use to you here ?, can
opengrok for usages, snaps paper sizes that are within a tiny distance
of a known paper size to that paper size
More information about the LibreOffice