diff --git a/app/pdb/text-layer-cmds.c b/app/pdb/text-layer-cmds.c index dc8e0f5cb1..423bce0585 100644 --- a/app/pdb/text-layer-cmds.c +++ b/app/pdb/text-layer-cmds.c @@ -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)); diff --git a/pdb/groups/text_layer.pdb b/pdb/groups/text_layer.pdb index 8094790f32..f3b288dcd0 100644 --- a/pdb/groups/text_layer.pdb +++ b/pdb/groups/text_layer.pdb @@ -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' } );