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:
@ -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>
|
2003-05-16 Dave Neary <bolsh@gimp.org>
|
||||||
|
|
||||||
* plug-ins/script-fu/scripts/pupi-button.scm: Applied
|
* plug-ins/script-fu/scripts/pupi-button.scm: Applied
|
||||||
|
@ -70,11 +70,7 @@
|
|||||||
(descent (text-descent text-extents))
|
(descent (text-descent text-extents))
|
||||||
|
|
||||||
(img-width (+ (* 2 padding)
|
(img-width (+ (* 2 padding)
|
||||||
(- (text-width text-extents)
|
(text-width text-extents)))
|
||||||
(text-width (gimp-text-get-extents-fontname " "
|
|
||||||
size
|
|
||||||
PIXELS
|
|
||||||
font)))))
|
|
||||||
(img-height (+ (* 2 padding)
|
(img-height (+ (* 2 padding)
|
||||||
(+ ascent descent)))
|
(+ ascent descent)))
|
||||||
(layer-height img-height)
|
(layer-height img-height)
|
||||||
|
@ -74,11 +74,7 @@
|
|||||||
(descent (text-descent text-extents))
|
(descent (text-descent text-extents))
|
||||||
|
|
||||||
(img-width (+ (* 2 (+ padding bevel-width))
|
(img-width (+ (* 2 (+ padding bevel-width))
|
||||||
(- (text-width text-extents)
|
(text-width text-extents)))
|
||||||
(text-width (gimp-text-get-extents-fontname " "
|
|
||||||
size
|
|
||||||
PIXELS
|
|
||||||
font)))))
|
|
||||||
(img-height (+ (* 2 (+ padding bevel-width))
|
(img-height (+ (* 2 (+ padding bevel-width))
|
||||||
(+ ascent descent)))
|
(+ ascent descent)))
|
||||||
|
|
||||||
|
@ -50,10 +50,7 @@
|
|||||||
(ypadding 6)
|
(ypadding 6)
|
||||||
|
|
||||||
(width (+ (* 2 xpadding)
|
(width (+ (* 2 xpadding)
|
||||||
(- (text-width text-extents)
|
(text-width text-extents)))
|
||||||
(text-width
|
|
||||||
(gimp-text-get-extents-fontname
|
|
||||||
" " text-size PIXELS font)))))
|
|
||||||
(height (+ (* 2 ypadding)
|
(height (+ (* 2 ypadding)
|
||||||
(+ ascent descent)))
|
(+ ascent descent)))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user