summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-01-03 15:58:35 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-01-03 15:58:35 +0100
commit78c5ee268d7e40611492a5c04539f8e81e1d0133 (patch)
treea3a19289a7fe2daafc5290f42f959ae97fbbb661
parent5e6b5ce6b9cd03d92d8e1b23bd28e7d617a011d0 (diff)
text: Add a little extra space on the right.
-rw-r--r--pict.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/pict.scm b/pict.scm
index 23828eb..c43c49a 100644
--- a/pict.scm
+++ b/pict.scm
@@ -826,7 +826,8 @@ appearance."
;; XXX sometimes closing the handle fails...
(false-if-exception (rsvg-handle-close h))
(make-pict `(svg (@ (height ,(format #f "~apx" full-height))
- (width ,width)
+ ;; TODO: for some reason the width is insufficient
+ (width ,(format #f "~apx" (+ width 5)))
(x 0)
(y 0))
,text-tag)))))))