app, pdb: gimp_text_layer_set_font_size() allows the pixel unit.
This commit is contained in:
parent
c548ca5dfd
commit
1a794ad77c
2 changed files with 2 additions and 2 deletions
|
|
@ -1308,7 +1308,7 @@ register_text_layer_procs (GimpPDB *pdb)
|
|||
gimp_param_spec_unit ("unit",
|
||||
"unit",
|
||||
"The unit to use for the font size",
|
||||
FALSE,
|
||||
TRUE,
|
||||
FALSE,
|
||||
gimp_unit_inch (),
|
||||
GIMP_PARAM_READWRITE));
|
||||
|
|
|
|||
|
|
@ -345,7 +345,7 @@ HELP
|
|||
desc => 'The text layer' },
|
||||
{ name => 'font_size', type => '0.0 <= double <= 8192.0',
|
||||
desc => 'The font size' },
|
||||
{ name => 'unit', type => 'unit',
|
||||
{ name => 'unit', type => 'unit', allow_pixel => 1,
|
||||
desc => 'The unit to use for the font size' }
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue