[latex3-commits] [git/LaTeX3-latex3-latex3] master: Ignore clipped paths in bounding box calc. (fixes #660) (d40ebd7f3)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Jan 10 10:08:29 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/d40ebd7f38562ae19633047705c522a387248b86

>---------------------------------------------------------------

commit d40ebd7f38562ae19633047705c522a387248b86
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Jan 10 09:08:29 2020 +0000

    Ignore clipped paths in bounding box calc. (fixes #660)


>---------------------------------------------------------------

d40ebd7f38562ae19633047705c522a387248b86
 l3experimental/CHANGELOG.md            | 3 +++
 l3experimental/l3draw/l3draw-paths.dtx | 1 +
 2 files changed, 4 insertions(+)

diff --git a/l3experimental/CHANGELOG.md b/l3experimental/CHANGELOG.md
index 63112953b..845dcc7a3 100644
--- a/l3experimental/CHANGELOG.md
+++ b/l3experimental/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Fixed
+- Bounding box for clipped paths (see #660)
+
 ## [2019-11-07]
 
 ## [2019-10-11]
diff --git a/l3experimental/l3draw/l3draw-paths.dtx b/l3experimental/l3draw/l3draw-paths.dtx
index 1d17bf8c7..4bfadc8e9 100644
--- a/l3experimental/l3draw/l3draw-paths.dtx
+++ b/l3experimental/l3draw/l3draw-paths.dtx
@@ -892,6 +892,7 @@
     \bool_if:NT \l_@@_path_use_clip_bool
       {
         \@@_backend_clip:
+        \bool_set_false:N \l_draw_bb_update_bool
         \bool_lazy_or:nnF
           { \l_@@_path_use_fill_bool }
           { \l_@@_path_use_stroke_bool }





More information about the latex3-commits mailing list