Version 3.0 - 5x multiplier for 72DPI

• May 8, 2018 - 15:44

What is the status of the 5x multiplier in version 3.0? Is it now a permanent feature, or might it change before 3.0 is released?
I ask because of its impact on SVG exporting, and because of the way SVG renders purely horizontal and vertical lines. I am working with the vector-effect:non-scaling-stroke attribute setting, and stroke-widths that are whole pixels, no decimals. This combination of settings (whole pixels and non-scaling stroke) improves the rendering of these lines when scaling the SVG to random/user values. Without these settings, these lines are rendered with fractional pixels and look blurry as you scale to different sizes. With these settings, these lines are rendered with whole pixels and look perfectly crisp as you scale to different sizes.
For example: at 72DPI, staff lines are exported with stroke-width:0.4px. With the 5x multiplier this is a clean 2px, no decimals. I am inquiring about the stability of the 5x multiplier so that I know how stable my new settings with non-scaling-stroke are for the future.
Thanks!


Comments

In reply to by [DELETED] 3

That is good news, thanks. Initially this 5x multiplier was a worry to me, but now it is perfectly aligned with my latest effort. Setting staff lines to have 2px stroke width is ideal in that it is not only a whole number, but it also lets me place the lines on a whole number y-coordinate. In SVG, to get a clean 1px horizontal line you must set the y-coordinate to a value that ends in .5, not a whole number. Bar lines, the most common vertical line, are at 4px, which is similarly convenient. This multiplier also sets the initial MScore font size for SVG to 100px, which is an interestingly round number.

Do you still have an unanswered question? Please log in first to post your question.