Changes in version 2024-09-11 (2024-09-11) - Pass svg_width and svg_height to svg_to_rasterGrob() when the svg is only rendered once (i.e. is_static_svg = TRUE) - Fixed some minor issues to satisfy current R CMD CHECK Changes in version 2022-07-31 (2022-07-31) - Fix issue with css() selectors in some scale_svg_*() functions Changes in version 2022-04-25 (2022-04-25) - Absolute legend sizing when size is an aesthetic. Size in legend now matches size on plots - Improved default SVG sizing (prior sizing was from ggplots point sizing which is too small to be legible) - Add hjust and vjust - Add absolute positioning with x_abs and y_abs which override any x and y Changes in version 2022-04-24 (2022-04-24) - CSS and bespoke aesthetics both now support static assignment (in addition to the dynamic mapping). Changes in version 2022-04-23 (2022-04-23) - Initial support for formatting the value for CSS aesthetics e.g. if it needs a 'px' or '%' suffix, or some other bespoke formatting. - Infer default values for parameterised aesthetics if they are given in the preferred format. Changes in version 2022-04-22 (2022-04-22) - Improved sizing of SVG in legends. Drastically reduced the number of situations that need to use guides() to adjust the size of legend elements - Improved the override of aes() parsing within geom_point_svg() which means that my_aes() is no longer dumped into the global environment. - Expanded the number of CSS properties that get a reasonable default scale Changes in version 2022-04-21 (2022-04-21) - Unify the preferred naming for glue-parameterised SVG with naming required for CSS aesthetics. i.e. [blah]_[type]. This is so ggsvg can make better guesses on the default scale for any novel aesthetic. - Wrapping CSS aesthetics a little with a css() helper - Added scale_svg_default() which will automatically determine default scales for CSS aesthetics and add them to the plot Changes in version 2022-04-18 (2022-04-18) - Use rsvg v2.3.0+ for all SVG conversion - Remove all C wrappers now that rsvg 2.3.0 on CRAN has nativeraster support - Introduce CSS aesthetics Changes in version 2022-04-15 (2022-04-15) - call rsvg::rsvg_nativeraster() if user has version >= 2.3.0 of rsvg - include css argument in svg_to_nativeRaster() Changes in version 2022-04-14 (2022-04-14) - Dropping {svgparser} as a dependency - Use {rsvg} for parsing SVG and then massaging its output to a rasterGrob Changes in version 2021-12-31 (2021-12-31) - Adjust fastpath such that grob names are always unique Changes in version 2021-12-24 (2021-12-24) - Add fastpath when SVG is static i.e. reduce number of parsing attempts - Initial release