742 questions
Score of 2
0 answers
88 views
Exporting Visio diagrams with MathType equation to SVG contains huge empty space, causing weird marigin when included in LaTeX
It's common practice in my workspace to draw diagrams in Visio and insert equations into them using MathType. I encountered a problem when exporting them to SVG.
In Visio these equations seems to ...
Score of 0
1 answer
207 views
Performing Union Operation using Inkscape Extension on 3 Groups But Weird Result
I made an extension to perform union operation on each selected group, but I got a weird result.
For example, there are three selected groups of rectangles:
After using the extension on them, only ...
Score of 1
1 answer
405 views
How do I use a custom font in an SVG embedded in a webpage?
My web page uses a font (Omnes Pro) which is not included with most operating systems. This is obviously not a problem for the most part because I can just load it in the css file from an OTF file ...
Score of 2
1 answer
135 views
Python: get output from inkscape run in shell mode
I run inkscape in shell mode from python, calling specific commands one by one on SVGs for performant conversion to PNG, like so:
process = subprocess.Popen([INKSCAPE_EXE_PATH, "--shell"], ...
Score of 3
1 answer
2437 views
Converting EPS to SVG now that inkscape no longer runs without X [closed]
It used to be possible run inkscape from the command line as a convenient tool for convert to and from SVG files. Lots of questions here have answers that suggest running inkscape -z with various ...
Score of 1
0 answers
105 views
Inkscape overwrites extensions.xml at startup thus it does not take the python interpreter into account
I followed this guide to define a custom python interpreter (my system default python), so I edited /Users/amasson/Library/Application Support/org.inkscape.Inkscape/config/inkscape/preferences.xml ...
Score of 0
1 answer
232 views
Get element by ID and change its color in SVG Inkscape
I have a simple drawing I created using Inkscape, this is the Inkscape file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (...
Score of 1
0 answers
389 views
Errors/artifacts when opening ggplot2 SVG in Inkscape
I have a script which saves creates a simple plot in ggplot2 and saves it as an SVG:
library(ggplot2)
x <- seq(1, 20, length.out = 1000)
y <- sin(x)
df <- data.frame(x=x, y=y)
ggplot(df, ...
Score of 0
1 answer
490 views
Inkscape command line - possible to set the antialias option?
How do I set this "Antialias" export option on the inkscape CLI? (this is in the "Export Format Options" window).
I can use the Inkscape cli to convert a SVG to a PNG like this:
...
Score of 0
1 answer
228 views
How to fix 4 arc issue when converting pdf to dxf using inkscape?
I'm trying to convert a pdf file to a dxf file using the inkscape command.
I converted a pdf file to a svg file first and converted this to dxf file.
This is the inkscape command I've used:
inkscape ...
Score of -1
1 answer
388 views
Receiving error when using Next generator extension in Inkscape
I installed the next generator extension in Inkscape following directions of unzipping the file and placing it in the Extension file.
When I run it i receive this error Cannot merge PDF files, please ...
Score of 2
0 answers
277 views
Why is feDropShadow poorly supported in non-browsers and leads to things disappear?
The following happens to me on a regular basis when trying to write SVGs manually.
I perform a web search for "svg drop shadow", and amongst the first hits is the MDN example on ...
Score of 0
1 answer
81 views
Is it possible to delete only the shapes that have only a fill an no stroke?
I would like to keep only the shapes that have no fill on this map : https://commons.wikimedia.org/wiki/File:Antarctica_in_the_World_(yellow).svg
Obviously, I don't want to remove all the other ones ...
Score of 1
1 answer
755 views
Inkscape cli: select all text objects filled with a specific color and align all to bottom
I have a svg file that contains many text objects filled with the color 0070c0. It contains also other objects.
I would like, via CLI, to select only those text objects with that fill, and then ...
Score of -1
1 answer
882 views
Converting a SVG file to a PDF or JPG with the embedded base64 CSS fonts
I have a bunch of .svgz files I need to convert to PDF, or, if that's not possible, to JPG and then to PDF.
All these files use custom fonts that are embedded in the file, using @font-face base64, ...