New answers tagged

0

The short answer to your question is that this is currently not possible with Inkscape. The place where you can edit attributes in the Inkscape interface is the XML editor Edit > XML Editor -- Shift+Ctrl+X. Note that if you select an item in the Inkscape drawing, that node will be selected in the XML editor. Also, adding attributes is a little strange too -- ...


1

If you are going to print these then you are much better served by PostScript (PS) than SVG. PostScript engines have better quality checks than SVG. But more than that PS actually defines printer color spaces something that SVG does not do well at this point, not that most viewers would even begin to support this. Regardless of format issues you should be ...


0

So a collaborator finally fixed this. The issue was that the gradient used pixels, which can apparently not be rendered by mayor browsers. So changing the gradient to this XML fixed it: <radialGradient inkscape:collect="always" xlink:href="#linearGradient7636" id="radialGradient7642" cx="50%" cy="50%" fx="50%" fy="50%" r="40%" ...


3

You are correct--that "checked background" is how many programs indicate transparent areas. SVG files have a transparent background. Changing the background color is not part of the SVG standard, so changing the background color in Inkscape won't carry over to the SVG file when its viewed in a browser. There are a few ways to get a solid background color: ...


0

Solved, I had to use a tool called "Silhouettes" in Illustrator, export to SVG (vector), open with Inkscape and ungroup the four letters.


1

I'm on CC platform so it might be a bit different (it has a better svg export), but you can do it in two ways. kerning if you want to keep the text as <text>, you can edit the svg manually: Kerning is treated bit like tracking, so the text is "chopped" in fragments with other values and each of these fragments is wrapped in <tspan> tag with a ...


0

Without seeing the SVG, it's hard to say, but here are some possibilities: Did you drew outside the drawing area? Open the file and press Ctrl+Shift+D. There's an option to re-size based on the drawing. Did you used a <flowRoot>? There are two ways to add text. Click once, then start typing (this creates an <svg:text>) Click and drag, then ...


5

This is a common problem with poor rendering engines. I regularly encounter this problem with ristretto, an image viewer for Linux. Problem The problem occurs because text elements are rendered incomplete. Rendering text elements means loading a font, apply various operations (defined in XML attributes) to it and rendering them on the graphics grid (...


1

Traditionally, "crop" means to block something with something else. So is a bitmap term... pixels or edges or something else cover up something else, hence it's cropped. The term you want is "trim" or "cut", and the tools you'll need are going to perform a slice like action to your vector (SVG) imagery. Find a vector editor you like. These are CorelDraw, ...


0

I'm not sure there's a one-click fix, but I solved the issue when working with simple shapes and paths by using "Unite" button in the Pathfinder pallet. You should actually see the bounding box change rotation as you click it. However, some primitive shapes (ellipse, rect) were exported by Illustrator with transforms even after applying Unite. I solved ...


2

I seem to have found the solution - each sprite element must be converted to a symbol. That creates a viewBox for each symbol when exporting the svg. An example: <symbol id="badminton" data-name="badminton" viewBox="0 0 33.84 40.41">


1

The "root" layer in Inkscape is simply any objects that are not in a layer. Layers are not part of the SVG standard; they are a special feature for groups within Inkscape, using the inkscape namespace (example: <svg:g inkscape:groupmode="layer">). In the current version of Inkscape, there is a default layer when you create a new drawing--older ...


0

Your best bet would be to use an SVG animation (SVGs are great for this because they don't care too much about scaling, its perfect no matter how you scale it). If you can make an animation in an SVG editor such as Illustrator or Inkscape, then import it into your html file via the xml code, hook it up to a scroll library like scrollmagic and you're set!


1

You can perform the task with a simple awk-script. Using a sample svg-file, searching for 'id=' I get: grep "id=" sample.svg id="svg2" id="metadata8"> id="defs6"> id="clipPath3342"> id="circle3344" id="namedview4" showgrid="false" id="image10" id="path3348" id="image3338" id="path3337" ...



Top 50 recent answers are included