[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix ugly output from make-parenthesis-stencil for increased thickness (i
From: |
thomasmorley65 |
Subject: |
Fix ugly output from make-parenthesis-stencil for increased thickness (issue 257140044 by address@hidden) |
Date: |
Fri, 31 Jul 2015 22:46:01 +0000 |
Reviewers: ,
Message:
please review
Description:
Fix ugly output from make-parenthesis-stencil for increased thickness
issue 4532
This was caused by the fix for issue 3930. Small and very small
object were focused by 3930 and it did the job.
Though, obviously increasing the thickness for
make-bezier-sandwich-stencil
should have been limited.
Please review this at https://codereview.appspot.com/257140044/
Affected files (+1, -1 lines):
M scm/stencil.scm
Index: scm/stencil.scm
diff --git a/scm/stencil.scm b/scm/stencil.scm
index
e64cc2b91c8662fad2736fd71d5fc56bb5a0ca48..f73b08163052b0567d0f2628887bbd8bd552dd19
100644
--- a/scm/stencil.scm
+++ b/scm/stencil.scm
@@ -159,7 +159,7 @@ the more angular the shape of the parenthesis."
upper-end-point
;; Step 1: move to lower end point.
lower-end-point)
- (* 2 half-thickness)
+ (min (* 2 half-thickness) line-width)
(interval-widen x-extent (/ line-width 2))
(interval-widen y-extent (/ line-width 2)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fix ugly output from make-parenthesis-stencil for increased thickness (issue 257140044 by address@hidden),
thomasmorley65 <=