mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-19 22:34:37 +00:00
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:
parent
e34d3621d7
commit
b53cdf5f17
|
@ -1,3 +1,11 @@
|
|||
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.
|
||||
|
||||
2003-05-16 Dave Neary <bolsh@gimp.org>
|
||||
|
||||
* plug-ins/script-fu/scripts/pupi-button.scm: Applied
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -74,11 +74,7 @@
|
|||
(descent (text-descent text-extents))
|
||||
|
||||
(img-width (+ (* 2 (+ padding bevel-width))
|
||||
(- (text-width text-extents)
|
||||
(text-width (gimp-text-get-extents-fontname " "
|
||||
size
|
||||
PIXELS
|
||||
font)))))
|
||||
(text-width text-extents)))
|
||||
(img-height (+ (* 2 (+ padding bevel-width))
|
||||
(+ ascent descent)))
|
||||
|
||||
|
|
|
@ -50,10 +50,7 @@
|
|||
(ypadding 6)
|
||||
|
||||
(width (+ (* 2 xpadding)
|
||||
(- (text-width text-extents)
|
||||
(text-width
|
||||
(gimp-text-get-extents-fontname
|
||||
" " text-size PIXELS font)))))
|
||||
(text-width text-extents)))
|
||||
(height (+ (* 2 ypadding)
|
||||
(+ ascent descent)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue