[Gimp-user] Change Font



Hello gimp gurus,

I have files with many text layers. Is there a quick way to change the
font name
and font size?
I tried with 

sed -i "s/Delicious SmallCaps, Medium/Latin Modern Roman Caps/g"
file.xcf
sed -i "s/font-size 18/font-size 15/g" file.xcf

but that corrupted the file. Thank you!

Without trying to edit Gimp image files, possible workarounds.

A plug-in changefont.py to change size/font in all text layers except those in a
layer group  https://github.com/akkana/gimp-plugins/blob/master/changefont.py

A (fixed) plug-in group_chfont_group.py only changes text layers in a group
https://www.gimp-forum.net/Thread-Help-Plugin-killed-by-last-update?pid=2060#pid2060
Two plugins in the zip choose one of them.

A script to group/ungroup layers.
http://chiselapp.com/user/saulgoode/repository/script-fu/wiki?name=sg-group-linked-layers

Need to apply as a batch? maybe the first will work.

-- 
rich404 (via www.gimpusers.com/forums)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]