added float cast to reduce decimal digits in the casting cost positioning
pulled the logic for changing the font size, positioning, and scaling a single line of text out of SvgCompositor and into a new LayoutUtils class.
added explicit utf-8 charset on the test page, so that unicode characters in the SVG render right in the preview sheet 
added an 'isScaled' method, and changed xScale to just scale.
converted xmlText to use LayoutUtils for all the sizing calculations
added javadocs to the line(...) variants
fixed the Dimension2D reference to be the one from AWT, not the local subclass
pulled a fontSizeForHeight method out of line for calculating a font size based on a given line height (with or without leading)
added note that the font size passed to line(..), if any, will be ignored.