I have a bunch of text that I need to be the same..font, size, etc. but these little bits of text are each in their own text box. I have been doing each one by hand..be SO nice if I could get them en masse.
Is there a way?
thank you!
lb
change text in multiple textboxes at once?
-
- Posts: 57
- Joined: Fri Feb 11, 2011 3:46 am
Re: change text in multiple textboxes at once?
You can use the Paste Style option. Edit one of the object to your desired style, copy it (Ctrl + C), select all of the objects you want changed and do Paste Style (Shift + Ctrl + V).
just hand over the chocolate and nobody gets hurt
Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download
Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download
-
- Posts: 57
- Joined: Fri Feb 11, 2011 3:46 am
Re: change text in multiple textboxes at once?
sweet!
thank you, prkos!
thank you, prkos!
Re: change text in multiple textboxes at once?
linebender wrote:I have a bunch of text that I need to be the same..font, size, etc. but these little bits of text are each in their own text box. I have been doing each one by hand..be SO nice if I could get them en masse.
Is there a way?
- With the Select tool (s or <F1>) select all the text objects you want to change
(to share the same font family, font size and color). - Switch to the Text tool (keyboard shortcut: t).
- In the Text tool context, use the options on the controls bar to change the attributes (family, size, style, alignment).
The changes will apply to all text objects selected in step 1. - Switch back to the Select tool (click on the icon in the tool box).
Re: change text in multiple textboxes at once?
Hello --
I have tried both of the solutions suggested above with no success. The "shift" + "ctrl" + "V" seemed promising but didn't do anything for me. As for the other solution: it seems that as soon as I switch to the text tool, there is no longer any meaningful connection to the text boxes I previously selected. Yes, they are still individually outlined by dashed lines, but adjusting ANY of the text properties does nothing.
Does anyone have any thoughts? Is this a bug or something that I'm possibly doing wrong?
Thanks,
Mike
I have tried both of the solutions suggested above with no success. The "shift" + "ctrl" + "V" seemed promising but didn't do anything for me. As for the other solution: it seems that as soon as I switch to the text tool, there is no longer any meaningful connection to the text boxes I previously selected. Yes, they are still individually outlined by dashed lines, but adjusting ANY of the text properties does nothing.
Does anyone have any thoughts? Is this a bug or something that I'm possibly doing wrong?
Thanks,
Mike
Re: change text in multiple textboxes at once?
Hi.
Can we have a look at one of your files?
You might be able to use the 'replace' function in a text-editor.
In some editors you can use 'regular expressions' to find almost anything containing some text and replace it with something else.
Failing that a small program will work for you as well.
To write such a program we need one of your files!
RGDS
Ragnar
Can we have a look at one of your files?
You might be able to use the 'replace' function in a text-editor.
In some editors you can use 'regular expressions' to find almost anything containing some text and replace it with something else.
Failing that a small program will work for you as well.
To write such a program we need one of your files!
RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar
( ͡° ͜ʖ ͡°)
RGDS
Ragnar
Re: change text in multiple textboxes at once?
Hi Ragnar --
Here is an example file where I cannot bulk change the text.
Thanks for your help!
Mike
Here is an example file where I cannot bulk change the text.
Thanks for your help!
Mike
- Attachments
-
- structural_metrics_against_UFORE_analogs.svg
- I'd like to change the font size of all the numbers.
- (214.65 KiB) Downloaded 454 times
Re: change text in multiple textboxes at once?
Hi again --
Ragnar -- Good point on the text editor thing. I can see that working. BUT: here's a new wrinkle that I don't understand. The file I generated (Matlab --> PDF) initially specified a font size of 9. When I look at the "font-size" attribute in the svg opened in a text editor, the size is indeed very near 9. However, when I highlight the text in Inkscape, I see that the size is 7.54. What does this discrepancy imply? Is one "true" and one not?
Thanks again,
Mike
EDIT: Nevermind. I see that this issue is different. Seems that Inkscape measures in pixels rather than points for fonts. Quite confusing.
Ragnar -- Good point on the text editor thing. I can see that working. BUT: here's a new wrinkle that I don't understand. The file I generated (Matlab --> PDF) initially specified a font size of 9. When I look at the "font-size" attribute in the svg opened in a text editor, the size is indeed very near 9. However, when I highlight the text in Inkscape, I see that the size is 7.54. What does this discrepancy imply? Is one "true" and one not?
Thanks again,
Mike
EDIT: Nevermind. I see that this issue is different. Seems that Inkscape measures in pixels rather than points for fonts. Quite confusing.
Re: change text in multiple textboxes at once?
Hi.
I reckon the 'change' in font size comes from the fact that the DPI (Dots Per Inch) of the PDF file is 72 versus the Inkscape default is 90.
You can set your import to import as 72 DPI or have your matlab save the PDF with 90 DPI.
( Or you can select all and scale by (90/72) - you can type the expression direct in the scale dialog - no need to calculate)
I can change the text size- in your file - all at once - by;
Select one text object, go to edit; Select Same Object Type, shortcut - (Shift Alt A),
Change to text mode (F8)
Change font type and/or size.
I am using Developers version of Inkscape; 0.48+devel r13425
RGDS
Ragnar
I reckon the 'change' in font size comes from the fact that the DPI (Dots Per Inch) of the PDF file is 72 versus the Inkscape default is 90.
You can set your import to import as 72 DPI or have your matlab save the PDF with 90 DPI.
( Or you can select all and scale by (90/72) - you can type the expression direct in the scale dialog - no need to calculate)
I can change the text size- in your file - all at once - by;
Select one text object, go to edit; Select Same Object Type, shortcut - (Shift Alt A),
Change to text mode (F8)
Change font type and/or size.
I am using Developers version of Inkscape; 0.48+devel r13425
RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar
( ͡° ͜ʖ ͡°)
RGDS
Ragnar
Re: change text in multiple textboxes at once?
I also tried solution 1 and 2, but they don't seem to work.
I may have problems with the selection process. I'm selecting the text by clicking on all the boxes I want to include. But when I open the text editor, another text box is actually displayed. Any clue?
Alternatively, how do I implement solution 3?
Thanks!!
Ilaria
I may have problems with the selection process. I'm selecting the text by clicking on all the boxes I want to include. But when I open the text editor, another text box is actually displayed. Any clue?
Alternatively, how do I implement solution 3?
Thanks!!
Ilaria
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: change text in multiple textboxes at once?
It may be better to use the text-tool in the lefthand toolbox, not the Font/Text dialog.
For more in-depth help, please upload an example file.
For more in-depth help, please upload an example file.
Have a nice day.
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/