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-font, but I
can't find anything to get the currently active font size.

Is it possible to get the current font size, or to create a text layer without
having to specify a font size?

Kevin (via www.gimpusers.com)
Gimp-user mailing list

Reply via email to