Re: [Gimp-user] font size

2010-08-04 Thread saulgoode
Quoting Kevin : > I'm trying to write a script to create text layers using the currently > selected font. > : > : > Is it possible to get the current font size, or to create a text > layer without having to specify a font size? Not to my knowledge. If your ultimate goal is to fit text within

[Gimp-user] font size

2010-08-04 Thread Kevin
I'm trying to write a script to create text layers using the currently selected font. Using the standard PDB procedures: gimp-text-fontname, gimp-text-layer-new, and the deprecated gimp-text, I need to supply a font name and size. The currently active font name I can get using gimp-context-get-fo