Page 1 of 1
Units of measurement (Style Sheet View vs. Tooldrawer)
Posted: 2011-11-30 04:29:56
by NisusUser
(Using NWP 1.4.2) In the attached screenshot, if you look in the Tooldrawer under "Indents" you'll see it says ".42 cm", but the Style Sheet View shows "12 pts" for the First Line and Hanging indents. However, as soon as I change one of them in the Tooldrawer, both of them in the Style Sheet View go to centimeters. Why does it have points initially since my Prefs are set to centimeters?
Re: Units of measurement (Style Sheet View vs. Tooldrawer)
Posted: 2011-11-30 04:38:20
by NisusUser
It actually gets weirder: when I change it to .40 cm in the Tooldrawer, it now shows it as .39 cm in the Style Sheet View! See attached file.
Re: Units of measurement (Style Sheet View vs. Tooldrawer)
Posted: 2011-11-30 13:19:21
by martin
NisusUser wrote:In the attached screenshot, if you look in the Tooldrawer under "Indents" you'll see it says ".42 cm", but the Style Sheet View shows "12 pts" for the First Line and Hanging indents. However, as soon as I change one of them in the Tooldrawer, both of them in the Style Sheet View go to centimeters. Why does it have points initially since my Prefs are set to centimeters?
This looks like an intermittent bug. Sometimes the units used in the paragraph style attribute "bubbles" are not synchronized properly with the ruler. I'll file it as a bug to fix, thanks.
when I change it to .40 cm in the Tooldrawer, it now shows it as .39 cm in the Style Sheet View!
This is actually nothing to worry about, the difference is merely a quirk of rounding / display accuracy. Internally NWP stores all indents using points, so when it comes time to display indent values to the user, the units must be converted. It seems that the palette and attribute bubbles use slightly different ways of doing this, but it doesn't affect the actual distances. That ".39" is something like ".3976", which is effectively 0.4 cm.
All the same, we should have these displays synchronized so users don't worry. I'll file it as an issue too, thanks!