Releases: shellyln/red-agate
Releases · shellyln/red-agate
v0.5.0
v0.4.0
v0.3.1
svg-canvas
- Make some methods of SvgCanvas can be overridden, to improve text rendering of some apps and libraries.
- Methods:
- getMultilineTextHeight
- Inherited classes can adjust the value of
lineHeight(adjust argument and call super).
- Inherited classes can adjust the value of
- getTextFontStyles
- issue #1: CairoSVG, Inkscape, and some libraries can't understand
fontshorthand style property.- (Inkscape (v0.92.4) may understand partly)
- Inherited classes can split
fontproperty tofont-family,font-weight,font-size, ...
- issue #1: CairoSVG, Inkscape, and some libraries can't understand
- getTextAttributes
- Firefox and Inkscape will render text justified if
textLengthis set.- Chromium and Safari don't justify in this case.
- Inherited classes can adjust the value of
textLength(adjust argument and call super).
- Firefox and Inkscape will render text justified if
- getMultilineTextHeight
- Issue:
- #1 SvgCanvas:
<text style="font: ...">is not supported by some libraries
- #1 SvgCanvas:
- Methods: