svglite
svglite copied to clipboard
A lightweight svg graphics device for R
Currently `{svglite}` does not provide full information to the enhanced `dev.capabilities()` feature introduced in R 4.2: * https://developer.r-project.org/Blog/public/2021/12/14/updating-graphics-devices-for-r-4.2.0/ * https://cran.r-project.org/doc/manuals/r-devel/R-ints.html#Device-capabilities ```r svglite::svglite(tempfile()) print(dev.capabilities()) dev.off() ``` ```r $semiTransparency [1] TRUE $transparentBackground...
This operator definition is triggering a clang warning: https://github.com/r-lib/svglite/blob/b547e14c68ecf9fb0f6411706d460559ec54d505/src/SvgStream.h#L69-L75 https://clang.llvm.org/extra/clang-tidy/checks/misc-definitions-in-headers.html I'm not 100% sure the right approach here -- probably to just move the definition inside devSVG.cpp instead of the...
Just a reminder to investigate if there are any venues open for improving performance
As you probably know, when integrating `svg` files using `` tag inside an `HTML` document, the `svg` won't be able to load external resources such as web fonts due to...
Excellent package with brilliant results, but I need a way to use web fonts or failing that embed fonts to get the same experience across platforms. The `user_fonts` argument should...
For reference, the installation log: ``` * installing *source* package ‘svglite’ ... ** package ‘svglite’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler:...
Using svglite v2.1.1, given the following code: ```R require(ggplot2) require(svglite) p
I'm following the [documentation here](https://www.tidyverse.org/blog/2021/02/svglite-2-0-0/#file-size). I am getting huge file size compared to promised in the docs, and when I inspect it, I see that all glyphs are saved as...
When I save a graphic as SVG and then edit it in Figma using svg(), it converts the text to vector for me. To fix I'm using the svglite library....
## Introduced in R 4.2 * [ ] affine transformations * [ ] compositing operators * [ ] luminance masks * [ ] stroking and filling paths ## Introduced in...