-
## Summary
When using Apex Charts with SSR when importing the module Apex Charts tries to access `window` immediately because it uses top level calls in other imported modules. This causes apps using…
-
When using svgdom with TypeScript (ts-jest), it fails in module resolution, because `main` points to a `.cjs` file. If I change it to reference `main-module.js` everything works.
As the likely use …
-
Is there a way to programmatically set the position that you want your vector graphic moved to by providing an x, y coordinate? I also need to re size providing a height and width. I tried the code be…
-
Hi again!
I'm trying to get a tight bounding box of a text, but I'm seeing a bit different results between Chrome and svgdom.
This first result is from Chrome, using `svg.querySelector('#small-h…
-
A library I am using has this code to measure text.
```
const element = document.createElement('canvas');
const ctx = element.getContext("2d");
ctx.font = `${this.opts.fontSizeLarge}…
-
I am migrating a complex browser based SVG generator to use SVGDOM and have it working 99%. There is one spot however where the transform calculations are different and wondering if you think it might…
-
I'm trying to calculate the size of an SVG in node but I'm getting incorrect results.
Here is the SVG:
```html
```
And the node.js code:
```js
import { registerWindow, SVG } from '…
-
Hello,
I noticed while using `svg.js` that `getBBox` was returning different measurements in node or browser (I already opened an [issue](https://github.com/svgdotjs/svg.js/issues/1267) about it). …
-
I'm using svgdom for a project, and it's doing an awesome job. So far, it has helped us generate over 4000 SVG files which are then exported to PNG using Inkscape.
We had one issue though. Namespac…
-
svgo 中可以添加前缀,但只能解决使用不同图标,如果使用相同的图标依旧会有ID冲突问题。