plug-ins/script-fu/scripts/alien-glow-button.scm
2003-05-17 Dave Neary <bolsh@gimp.org> * plug-ins/script-fu/scripts/alien-glow-button.scm * plug-ins/script-fu/scripts/beveled-button.scm * plug-ins/script-fu/scripts/beveled-pattern-button.scm: Applied patch from Tor Lilliqvist <tml@iki.fi> which fixes the same problem as that reported in bug #77572.
This commit is contained in:
@ -70,11 +70,7 @@
|
||||
(descent (text-descent text-extents))
|
||||
|
||||
(img-width (+ (* 2 padding)
|
||||
(- (text-width text-extents)
|
||||
(text-width (gimp-text-get-extents-fontname " "
|
||||
size
|
||||
PIXELS
|
||||
font)))))
|
||||
(text-width text-extents)))
|
||||
(img-height (+ (* 2 padding)
|
||||
(+ ascent descent)))
|
||||
(layer-height img-height)
|
||||
|
Reference in New Issue
Block a user