[scribus] Problem with getProperty
Silvain Dupertuis
silvain-dupertuis at bluewin.ch
Sat Jun 6 18:08:26 UTC 2020
Something set to 100 mm will not be mathematically exactly 100 mm...
but the precision is such that it will never make any visible difference.
Rounding errors amount to not more than around 10^(-13) mm
(0.0000000000001 mm)
Le 06.06.20 à 14:34, Peter Nermander a écrit :
>> I am using version 1.48 and seems (Jluc is right) that although my
>> document is set with millimeters, the getproperty will return points.
>>
>>
> The reason is simple: Scribus uses points internally, despite the chosen
> units.
>
> This is also the reason that if you set something to 100 mm, it ends up not
> being exactly 100 mm (because Scribus converts to points, rounding the
> value, and when that is converted back to mm it may not be exactly 100 mm).
>
> /Peter
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.scribus.net/pipermail/scribus/attachments/20200606/2f14c4e3/attachment.htm>
> ___
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/mailman/listinfo/scribus
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net
--
Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52
web: silvain-dupertuis.org <http://perso.silvain-dupertuis.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20200606/31271967/attachment.htm>
More information about the scribus
mailing list