mirror of https://github.com/GNOME/gimp.git
app, pdb: gimp_text_layer_new() allows pixel unit.
As reported by NikcDC: 624e3772e9 (note_2199852)
This commit is contained in:
parent
e0b778fe5a
commit
518052a105
|
@ -1039,7 +1039,7 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
gimp_param_spec_unit ("unit",
|
||||
"unit",
|
||||
"The units of specified size",
|
||||
FALSE,
|
||||
TRUE,
|
||||
FALSE,
|
||||
gimp_unit_inch (),
|
||||
GIMP_PARAM_READWRITE));
|
||||
|
|
|
@ -42,7 +42,7 @@ HELP
|
|||
desc => 'The font to write the text with' },
|
||||
{ name => 'size', type => '0.0 <= float <= 8192.0',
|
||||
desc => 'The size of text in either pixels or points' },
|
||||
{ name => 'unit', type => 'unit',
|
||||
{ name => 'unit', type => 'unit', allow_pixel => 1,
|
||||
desc => 'The units of specified size' }
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue