3

I'm attaching an image for demonstration since this is hard to explain.

I want to ad text description to an image map, but I don't want tons of paths, one for each letter...I would like to group a section of the image with a series of characters, a "string" of text.

Would like to merge them in a single path , so when I save as optimized SVG I have less code than if I had a path for every single characters...

Attaching image to explain, hope it's clear enough![enter image description here]1

  • Why do you convert text to path at all? – user unknown Oct 28 '17 at 4:05
2

In Inkscape Path > Combine will combine all the paths to one object, but then one object can only have one fill.

So, I'm not sure how well that work for you, since the map part is a different colour. I suppose you could add a gradient fill, then edit the gradient stops.

For example:

enter image description here

One more thing to note is that creating one combined path will not reduce the number of nodes. I see the map part of your example has lots of nodes, so you might want to consider simplifying the shape a little if the file size is going to be an issue.

0

i done some research how to merge object in one path, see in inkscape , Frist select the object you want to merge, than group selected objects ctrl+g, after drag and select the objects go to path-Union ctrl++

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.