Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change text size in several text layers
#1
Big Grin 
Bonjour à tous  Big Grin ,

J'ai un fichier qui contient des dizaines de calques "texte" et je voudrai modifier les tailles des fonts toutes en même temps sinon c'est un boulot de dingue mais je n'ai pas trouvé comment faire. Donc si quelqu'un à une solution SVP ?
Merci.
Antoche.

Hello everyone Big Grin, I have a file that contains dozens of "text" layers and I would like to modify the sizes of the fonts all at the same time otherwise it's a crazy job but I haven't found a way to do it. So if anyone has a solution please? Thanks.

This forum is in English, please post in English, you can use Google Translate as I did for your initial post.
Reply
#2
Yes, it can be done with a little bit of script, is it a font scaling (new size= 1.5x current size for instance) or setting all layers to the new size?
Reply
#3
(11-09-2022, 12:33 AM)Noix Wrote: Oui, cela peut être fait avec un peu de script, s'agit-il d'une mise à l'échelle de la police (nouvelle taille = 1,5x la taille actuelle par exemple) ou de définir tous les calques sur la nouvelle taille ?

Salut,
Merci pour cette réponse avec une lueur d'espoir  Smile . Il s'agit plutôt de définir un ensemble de calques avec une nouvelle taille, et un autre ensemble de calques avec une autre taille. Pour info je n'ai jamais fais de script Gimp, mais s'il faut je vais m'y mettre !  Big Grin
Antoche.
Reply
#4
I'm finishing writing the adequate script... stay tuned.

PS/ Please translate your posts yourself...
Reply
#5
Thumbs Up 
(11-09-2022, 03:53 PM)Noix Wrote: Je finis d'écrire le script adéquat... restez à l'écoute.

PS/ Merci de traduire vous-même vos messages...

Hi,
Sorry I will do. I missed it.
Thank you and i'm waiting patiently  Big Grin
Reply
#6
Hmmm... re-inventing the wheel - Saul Goode has a script-fu that might do the job sg-clone-text-attributes.scm

   

a quick demo: https://i.imgur.com/Pdh9AwW.mp4

Attached, unzip, put in your user-profile scripts folder.


Attached Files
.zip   sg-clone-text-attributes.zip (Size: 1.37 KB / Downloads: 87)
Reply
#7
(11-09-2022, 04:07 PM)rich2005 Wrote: Hmmm... re-inventing the wheel - Saul Goode has a script-fu that might do the job sg-clone-text-attributes.scm



a quick demo: https://i.imgur.com/Pdh9AwW.mp4

Attached, unzip, put in your user-profile scripts folder.

Well, too late, see https://www.gimp-forum.net/Thread-ofn-replace-font Smile

Looking at SG's code, my script has the big advantage to be able to select layers on their current font or font size.
Reply
#8
(11-09-2022, 09:56 PM)Ofnuts Wrote: Looking at SG's code, my script has the big advantage to be able to select layers on their current font or font size.

As usual that is an excellent plug-in.

Always good to have an alternative such as the Saul Goode script One disadvantage with the sg script is, being 2008 vintage, it does not work with layer groups. There are workarounds for that, but tedious.
Reply
#9
@Ofnuts, nice work. Just what I need sometimes and less time consuming. Thanks.
Reply
#10
(11-09-2022, 09:56 PM)Ofnuts Wrote:
(11-09-2022, 04:07 PM)rich2005 Wrote: Hmmm... re-inventing the wheel - Saul Goode has a script-fu that might do the job sg-clone-text-attributes.scm



a quick demo: https://i.imgur.com/Pdh9AwW.mp4

Attached, unzip, put in your user-profile scripts folder.

Well, too late, see https://www.gimp-forum.net/Thread-ofn-replace-font Smile

Looking at SG's code, my script has the big advantage to be able to select layers on their current font or font size.

Thanks guys for that material ! Big Grin
I'm going to try those scripts but ... questions (because I don't have any knowledge about the Gimp scripts) : 
I understand I have to place the classics scripts under "C:\Program Files\GIMP 2\share\gimp\2.0"
But, the python one too ?
Antoche.
Reply


Forum Jump: