Change properties of multiple text objects in a group

Post questions on how to use or achieve an effect in Inkscape.
David7881
Posts: 9
Joined: Sat Dec 14, 2013 3:55 pm

Change properties of multiple text objects in a group

Postby David7881 » Fri Jan 03, 2014 1:46 pm

Can text properties (e.g. font) be changed simultaneously on multiple selected objects, even those within a group, without ungrouping first?

I know it can be done if the objects are not grouped: select objects, pick text tool, change font on toolbar. But nothing happens to grouped objects. Is there another way to do it? I'd imagine you'd want it to work across many groups of objects and ungrouped objects, e.g. a whole drawing?

Alternatively, let's say you just select objects, "Text and Font", and change font: any grouped text remains unaffected (as before) - but the size, style, etc. of any ungrouped text goes haywire (in my case, the text basically becomes huge 40px regular). Looking at the xml, I think it just uses the default outer text wrapper and ignores/resets all the embedded tspan elements. Now maybe this is what it's supposed to do, but I wish it behaved more predictably than this.

Lastly, Inkscape doesn't seem to handle font families correctly, at least with some fonts, e.g. when switching between Arial and Calibri or vice versa, the bold and italic styles are lost. Doesn't happen when selected individually, just with multiple selections. Some font combinations work fine (e.g. Arial<->Times New Roman). Am I doing something wrong?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Change properties of multiple text objects in a group

Postby Lazur » Tue Jan 14, 2014 2:08 am

As far as I know group attributes doesn't contain text properties, thus you can't set them globally.
If the texts are grouped together, you can still use the text tool to change each text object's font used.
When the tool is active, click on the text you want to change and by thatyou entered the group to the text object and can edit it.

Other ways to enter the group: double click on it until no more subgroups to be entered exists with the object select tool, or click once on the text object with the node editor tool.
To enter a group Ctrl+Enter is another way with the select tool, and Ctrl+Backspace to exit one.
Using only the text tool seems much easier.

Remember to exit the group if you add new object to the drawing after the object inside a group is edited, or that will be part of the group.


Font family mishandling is a known bug, I'm sure it has been mentioned many times here too.


Return to “Help with using Inkscape”