Units of measurement (Style Sheet View vs. Tooldrawer)
Units of measurement (Style Sheet View vs. Tooldrawer)
(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?
- Attachments
-
- ScrnCapture Style Sheet View vs. Tooldrawer.jpg (79.66 KiB) Viewed 3508 times
Re: Units of measurement (Style Sheet View vs. Tooldrawer)
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.
- Attachments
-
- ScrnCapture Style Sheet View vs. Tooldrawer2.png (73.37 KiB) Viewed 3504 times
- martin
- Official Nisus Person
- Posts: 5230
- Joined: 2002-07-11 17:14:10
- Location: San Diego, CA
- Contact:
Re: Units of measurement (Style Sheet View vs. Tooldrawer)
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.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 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.when I change it to .40 cm in the Tooldrawer, it now shows it as .39 cm in the Style Sheet View!
All the same, we should have these displays synchronized so users don't worry. I'll file it as an issue too, thanks!