[latex3-commits] [git/LaTeX3-latex3-latex3] coffins: Use a proper coffin for rotation test (d69ee50)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Jan 21 08:57:42 CET 2019
Repository : https://github.com/latex3/latex3
On branch : coffins
Link : https://github.com/latex3/latex3/commit/d69ee508124a7318f530807aa2e518a97d2beaf4
>---------------------------------------------------------------
commit d69ee508124a7318f530807aa2e518a97d2beaf4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Jan 21 07:57:42 2019 +0000
Use a proper coffin for rotation test
>---------------------------------------------------------------
d69ee508124a7318f530807aa2e518a97d2beaf4
.../xcoffins/testfiles/xcoffins003.luatex.tlg | 124 +++++++++++---------
l3experimental/xcoffins/testfiles/xcoffins003.lvt | 4 +-
.../xcoffins/testfiles/xcoffins003.ptex.tlg | 124 +++++++++++---------
l3experimental/xcoffins/testfiles/xcoffins003.tlg | 124 +++++++++++---------
.../xcoffins/testfiles/xcoffins003.uptex.tlg | 124 +++++++++++---------
.../xcoffins/testfiles/xcoffins003.xetex.tlg | 124 +++++++++++---------
6 files changed, 332 insertions(+), 292 deletions(-)
diff --git a/l3experimental/xcoffins/testfiles/xcoffins003.luatex.tlg b/l3experimental/xcoffins/testfiles/xcoffins003.luatex.tlg
index 2ec4d2d..161d981 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins003.luatex.tlg
+++ b/l3experimental/xcoffins/testfiles/xcoffins003.luatex.tlg
@@ -6,6 +6,7 @@ TEST 1: Test 1: rotation
============================================================
> \box...=
\hbox(50.5+45.5)x62.2222, direction TLT
+.\pdfcolorstack 0 push {0 g 0 G}
.\hbox(50.5+45.5)x62.2222, direction TLT
..\mathon
..\vbox(50.5+45.5)x62.2222, direction TLT
@@ -180,15 +181,16 @@ TEST 1: Test 1: rotation
....\glue(\tabskip) 0.0
...\rule(0.0+0.0)x62.2222
..\mathoff
+.\pdfcolorstack 0 pop
! OK.
<argument> \showbox \aaa
x\fbox {\usebox \aaa }\RotateCoffin \aaa {45}\showbox \aaa x\fbox
l. ...}
> \box...=
-\hbox(0.0+0.0)x0.0, direction TLT
-.\hbox(0.0+0.0)x0.0, direction TLT
-..\kern-35.7089
-..\hbox(79.70663+32.17336)x111.87999, direction TLT
+\hbox(111.87999+0.0)x111.87999, direction TLT
+.\hbox(111.87999+0.0)x111.87999, direction TLT
+..\kern0.0
+..\hbox(79.70663+32.17336)x111.87999, shifted -32.17336, direction TLT
...\hbox(79.70663+32.17336)x111.87999, direction TLT
....\kern35.7089
....\hbox(50.5+45.5)x0.0, direction TLT
@@ -196,6 +198,7 @@ l. ...}
.....\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
.....\hbox(50.5+45.5)x0.0, direction TLT
......\hbox(50.5+45.5)x62.2222, direction TLT
+.......\pdfcolorstack 0 push {0 g 0 G}
.......\hbox(50.5+45.5)x62.2222, direction TLT
........\mathon
........\vbox(50.5+45.5)x62.2222, direction TLT
@@ -370,26 +373,27 @@ l. ...}
..........\glue(\tabskip) 0.0
.........\rule(0.0+0.0)x62.2222
........\mathoff
+.......\pdfcolorstack 0 pop
.....\pdfrestore
! OK.
<argument> ...box \aaa }\RotateCoffin \aaa {45}\showbox \aaa
x\fbox {\usebox \aaa }\Rot...
l. ...}
> \box...=
-\hbox(0.0+0.0)x0.0, direction TLT
-.\hbox(0.0+0.0)x0.0, direction TLT
-..\kern0.0
-..\hbox(0.0+0.0)x0.0, direction TLT
-...\hbox(0.0+0.0)x0.0, direction TLT
-....\kern0.0
-....\hbox(0.0+0.0)x0.0, direction TLT
+\hbox(62.2222+0.0)x96.0, direction TLT
+.\hbox(62.2222+0.0)x96.0, direction TLT
+..\kern-31.1111
+..\hbox(158.2222+0.0)x158.2222, shifted 48.0, direction TLT
+...\hbox(158.2222+0.0)x158.2222, direction TLT
+....\kern79.1111
+....\hbox(111.87999+0.0)x0.0, direction TLT
.....\pdfsave
.....\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
-.....\hbox(0.0+0.0)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
-.......\hbox(0.0+0.0)x0.0, direction TLT
-........\kern-35.7089
-........\hbox(79.70663+32.17336)x111.87999, direction TLT
+.....\hbox(111.87999+0.0)x0.0, direction TLT
+......\hbox(111.87999+0.0)x111.87999, direction TLT
+.......\hbox(111.87999+0.0)x111.87999, direction TLT
+........\kern0.0
+........\hbox(79.70663+32.17336)x111.87999, shifted -32.17336, direction TLT
.........\hbox(79.70663+32.17336)x111.87999, direction TLT
..........\kern35.7089
..........\hbox(50.5+45.5)x0.0, direction TLT
@@ -397,6 +401,7 @@ l. ...}
...........\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
...........\hbox(50.5+45.5)x0.0, direction TLT
............\hbox(50.5+45.5)x62.2222, direction TLT
+.............\pdfcolorstack 0 push {0 g 0 G}
.............\hbox(50.5+45.5)x62.2222, direction TLT
..............\mathon
..............\vbox(50.5+45.5)x62.2222, direction TLT
@@ -571,6 +576,7 @@ l. ...}
................\glue(\tabskip) 0.0
...............\rule(0.0+0.0)x62.2222
..............\mathoff
+.............\pdfcolorstack 0 pop
...........\pdfrestore
.....\pdfrestore
! OK.
@@ -582,33 +588,33 @@ l. ...}
TEST 2: Test 2: rotation+alignment
============================================================
> \box...=
-\hbox(0.0+0.0)x30.0, direction TLT
-.\hbox(0.0+0.0)x0.0, direction TLT
-..\hbox(0.0+0.0)x0.0, direction TLT
-...\hbox(0.0+0.0)x0.0, direction TLT
-....\hbox(0.0+0.0)x0.0, direction TLT
+\hbox(111.87999+0.0)x168.41223, direction TLT
+.\hbox(111.87999+0.0)x111.87999, direction TLT
+..\hbox(111.87999+0.0)x111.87999, direction TLT
+...\hbox(111.87999+0.0)x111.87999, direction TLT
+....\hbox(111.87999+0.0)x111.87999, direction TLT
.....\kern0.0
-.....\hbox(0.0+0.0)x0.0, direction TLT
-......\hbox(0.0+0.0)x0.0, direction TLT
-.......\kern0.0
-.......\hbox(0.0+0.0)x0.0, direction TLT
+.....\hbox(111.87999+0.0)x111.87999, direction TLT
+......\hbox(111.87999+0.0)x111.87999, direction TLT
+.......\kern43.99774
+.......\hbox(62.2222+0.0)x0.0, direction TLT
........\pdfsave
........\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
-........\hbox(0.0+0.0)x0.0, direction TLT
-.........\hbox(0.0+0.0)x0.0, direction TLT
-..........\hbox(0.0+0.0)x0.0, direction TLT
-...........\kern0.0
-...........\hbox(0.0+0.0)x0.0, direction TLT
-............\hbox(0.0+0.0)x0.0, direction TLT
-.............\kern0.0
-.............\hbox(0.0+0.0)x0.0, direction TLT
+........\hbox(62.2222+0.0)x0.0, direction TLT
+.........\hbox(62.2222+0.0)x96.0, direction TLT
+..........\hbox(62.2222+0.0)x96.0, direction TLT
+...........\kern-31.1111
+...........\hbox(158.2222+0.0)x158.2222, shifted 48.0, direction TLT
+............\hbox(158.2222+0.0)x158.2222, direction TLT
+.............\kern79.1111
+.............\hbox(111.87999+0.0)x0.0, direction TLT
..............\pdfsave
..............\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
-..............\hbox(0.0+0.0)x0.0, direction TLT
-...............\hbox(0.0+0.0)x0.0, direction TLT
-................\hbox(0.0+0.0)x0.0, direction TLT
-.................\kern-35.7089
-.................\hbox(79.70663+32.17336)x111.87999, direction TLT
+..............\hbox(111.87999+0.0)x0.0, direction TLT
+...............\hbox(111.87999+0.0)x111.87999, direction TLT
+................\hbox(111.87999+0.0)x111.87999, direction TLT
+.................\kern0.0
+.................\hbox(79.70663+32.17336)x111.87999, shifted -32.17336, direction TLT
..................\hbox(79.70663+32.17336)x111.87999, direction TLT
...................\kern35.7089
...................\hbox(50.5+45.5)x0.0, direction TLT
@@ -793,16 +799,16 @@ TEST 2: Test 2: rotation+alignment
....................\pdfrestore
..............\pdfrestore
........\pdfrestore
-...\kern0.0
-...\kern-0.5
-...\hbox(1.0+0.0)x1.0, shifted 0.5, direction TLT
+...\kern-111.87999
+...\kern111.37999
+...\hbox(1.0+0.0)x1.0, shifted -67.38225, direction TLT
....\pdfcolorstack 0 push {0 g 0 G}
....\hbox(1.0+0.0)x1.0, direction TLT
.....\rule(1.0+0.0)x1.0
....\pdfcolorstack 0 pop
-..\kern0.0
-..\kern-20.11115
-..\hbox(7.5+2.5)x18.11115, shifted 9.5, direction TLT
+..\kern-111.87999
+..\kern91.76884
+..\hbox(7.5+2.5)x18.11115, shifted -58.38225, direction TLT
...\pdfcolorstack 0 push {0 g 0 G}
...\OT1/cmss/m/n/10 (
...\OT1/cmss/m/n/10 b
@@ -810,14 +816,14 @@ TEST 2: Test 2: rotation+alignment
...\OT1/cmss/m/n/10 l
...\OT1/cmss/m/n/10 )
...\pdfcolorstack 0 pop
-.\kern0.0
-.\kern30.0
-.\hbox(0.0+0.0)x0.0, direction TLT
-..\hbox(0.0+0.0)x0.0, direction TLT
-...\hbox(0.0+0.0)x0.0, direction TLT
-....\hbox(0.0+0.0)x0.0, direction TLT
-.....\kern-7.31462
-.....\hbox(52.82094+3.77908)x56.60002, direction TLT
+.\kern-111.87999
+.\kern111.81221
+.\hbox(56.60002+0.0)x56.60002, shifted -41.35, direction TLT
+..\hbox(56.60002+0.0)x56.60002, direction TLT
+...\hbox(56.60002+0.0)x56.60002, direction TLT
+....\hbox(56.60002+0.0)x56.60002, direction TLT
+.....\kern0.0
+.....\hbox(52.82094+3.77908)x56.60002, shifted -3.77908, direction TLT
......\hbox(52.82094+3.77908)x56.60002, direction TLT
.......\kern7.31462
.......\hbox(10.34444+5.34444)x0.0, direction TLT
@@ -825,6 +831,7 @@ TEST 2: Test 2: rotation+alignment
........\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
........\hbox(10.34444+5.34444)x0.0, direction TLT
.........\hbox(10.34444+5.34444)x64.35565, direction TLT
+..........\pdfcolorstack 0 push {0 g 0 G}
..........\hbox(10.34444+5.34444)x64.35565, direction TLT
...........\hbox(15.68887+0.0)x64.35565, shifted 5.34444, direction TLT
............\vbox(15.68887+0.0)x64.35565, direction TLT
@@ -855,17 +862,18 @@ TEST 2: Test 2: rotation+alignment
...............\glue 3.0
..............\rule(*+*)x0.4
.............\rule(0.4+0.0)x*
+..........\pdfcolorstack 0 pop
........\pdfrestore
-...\kern0.0
-...\kern-0.5
-...\hbox(1.0+0.0)x1.0, shifted 0.5, direction TLT
+...\kern-56.60002
+...\kern29.56778
+...\hbox(1.0+0.0)x1.0, shifted -26.03224, direction TLT
....\pdfcolorstack 0 push {0 g 0 G}
....\hbox(1.0+0.0)x1.0, direction TLT
.....\rule(1.0+0.0)x1.0
....\pdfcolorstack 0 pop
-..\kern0.0
-..\kern-13.41669
-..\hbox(7.5+2.5)x26.83339, shifted -0.5, direction TLT
+..\kern-56.60002
+..\kern16.6511
+..\hbox(7.5+2.5)x26.83339, shifted -27.03224, direction TLT
...\pdfcolorstack 0 push {0 g 0 G}
...\OT1/cmss/m/n/10 (
...\OT1/cmss/m/n/10 B
diff --git a/l3experimental/xcoffins/testfiles/xcoffins003.lvt b/l3experimental/xcoffins/testfiles/xcoffins003.lvt
index 0376f04..d7b0aca 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins003.lvt
+++ b/l3experimental/xcoffins/testfiles/xcoffins003.lvt
@@ -20,9 +20,9 @@
\NewCoffin \aaa
\NewCoffin \bbb
-\sbox \aaa {\tabcolsep0pt\begin{tabular}[c]{|c|}\hline a\\b\\cccccccccccccc\\d
+\SetHorizontalCoffin \aaa {\tabcolsep0pt\begin{tabular}[c]{|c|}\hline a\\b\\cccccccccccccc\\d
\\e\\e\\e\\e\\\hline\end{tabular}}
-\sbox \bbb {\fbox{A sample Text}}
+\SetHorizontalCoffin \bbb {\fbox{A sample Text}}
\showboxdepth 9999
\showboxbreadth 9999
diff --git a/l3experimental/xcoffins/testfiles/xcoffins003.ptex.tlg b/l3experimental/xcoffins/testfiles/xcoffins003.ptex.tlg
index 84e3859..44b2fd1 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins003.ptex.tlg
+++ b/l3experimental/xcoffins/testfiles/xcoffins003.ptex.tlg
@@ -6,6 +6,7 @@ TEST 1: Test 1: rotation
============================================================
> \box...=
\hbox(50.5+45.5)x62.2222
+.\special{color push gray 0}
.\hbox(0.0+0.0)x0.0
.\hbox(50.5+45.5)x62.2222
..\mathon
@@ -162,15 +163,16 @@ TEST 1: Test 1: rotation
...\rule(0.0+0.0)x62.2222
..\mathoff
.\hbox(0.0+0.0)x0.0
+.\special{color pop}
! OK.
<argument> \showbox \aaa
x\fbox {\usebox \aaa }\RotateCoffin \aaa {45}\showb...
l. ...}
> \box...=
-\hbox(0.0+0.0)x0.0
-.\hbox(0.0+0.0)x0.0
-..\kern -35.7089
-..\hbox(79.70663+32.17336)x111.87999
+\hbox(111.87999+0.0)x111.87999
+.\hbox(111.87999+0.0)x111.87999
+..\kern 0.0
+..\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
...\hbox(79.70663+32.17336)x111.87999
....\kern 35.7089
....\hbox(50.5+45.5)x62.2222
@@ -178,6 +180,7 @@ l. ...}
.....\special{x:rotate 45}
.....\hbox(50.5+45.5)x62.2222
......\hbox(50.5+45.5)x62.2222
+.......\special{color push gray 0}
.......\hbox(0.0+0.0)x0.0
.......\hbox(50.5+45.5)x62.2222
........\mathon
@@ -334,26 +337,27 @@ l. ...}
.........\rule(0.0+0.0)x62.2222
........\mathoff
.......\hbox(0.0+0.0)x0.0
+.......\special{color pop}
.....\special{x:grestore}
! OK.
<argument> ...RotateCoffin \aaa {45}\showbox \aaa
x\fbox {\usebox \aaa }\Rot...
l. ...}
> \box...=
-\hbox(0.0+0.0)x0.0
-.\hbox(0.0+0.0)x0.0
-..\kern 0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\kern 0.0
-....\hbox(0.0+0.0)x0.0
+\hbox(62.2222+0.0)x96.0
+.\hbox(62.2222+0.0)x96.0
+..\kern -31.1111
+..\hbox(158.2222+0.0)x158.2222, shifted 48.0
+...\hbox(158.2222+0.0)x158.2222
+....\kern 79.1111
+....\hbox(111.87999+0.0)x111.87999
.....\special{x:gsave}
.....\special{x:rotate 45}
-.....\hbox(0.0+0.0)x0.0
-......\hbox(0.0+0.0)x0.0
-.......\hbox(0.0+0.0)x0.0
-........\kern -35.7089
-........\hbox(79.70663+32.17336)x111.87999
+.....\hbox(111.87999+0.0)x111.87999
+......\hbox(111.87999+0.0)x111.87999
+.......\hbox(111.87999+0.0)x111.87999
+........\kern 0.0
+........\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
.........\hbox(79.70663+32.17336)x111.87999
..........\kern 35.7089
..........\hbox(50.5+45.5)x62.2222
@@ -361,6 +365,7 @@ l. ...}
...........\special{x:rotate 45}
...........\hbox(50.5+45.5)x62.2222
............\hbox(50.5+45.5)x62.2222
+.............\special{color push gray 0}
.............\hbox(0.0+0.0)x0.0
.............\hbox(50.5+45.5)x62.2222
..............\mathon
@@ -517,6 +522,7 @@ l. ...}
...............\rule(0.0+0.0)x62.2222
..............\mathoff
.............\hbox(0.0+0.0)x0.0
+.............\special{color pop}
...........\special{x:grestore}
.....\special{x:grestore}
! OK.
@@ -528,33 +534,33 @@ l. ...}
TEST 2: Test 2: rotation+alignment
============================================================
> \box...=
-\hbox(0.0+0.0)x30.0
-.\hbox(0.0+0.0)x0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\hbox(0.0+0.0)x0.0
+\hbox(111.87999+0.0)x168.41223
+.\hbox(111.87999+0.0)x111.87999
+..\hbox(111.87999+0.0)x111.87999
+...\hbox(111.87999+0.0)x111.87999
+....\hbox(111.87999+0.0)x111.87999
.....\kern 0.0
-.....\hbox(0.0+0.0)x0.0
-......\hbox(0.0+0.0)x0.0
-.......\kern 0.0
-.......\hbox(0.0+0.0)x0.0
+.....\hbox(111.87999+0.0)x111.87999
+......\hbox(111.87999+0.0)x111.87999
+.......\kern 43.99774
+.......\hbox(62.2222+0.0)x96.0
........\special{x:gsave}
........\special{x:rotate 45}
-........\hbox(0.0+0.0)x0.0
-.........\hbox(0.0+0.0)x0.0
-..........\hbox(0.0+0.0)x0.0
-...........\kern 0.0
-...........\hbox(0.0+0.0)x0.0
-............\hbox(0.0+0.0)x0.0
-.............\kern 0.0
-.............\hbox(0.0+0.0)x0.0
+........\hbox(62.2222+0.0)x96.0
+.........\hbox(62.2222+0.0)x96.0
+..........\hbox(62.2222+0.0)x96.0
+...........\kern -31.1111
+...........\hbox(158.2222+0.0)x158.2222, shifted 48.0
+............\hbox(158.2222+0.0)x158.2222
+.............\kern 79.1111
+.............\hbox(111.87999+0.0)x111.87999
..............\special{x:gsave}
..............\special{x:rotate 45}
-..............\hbox(0.0+0.0)x0.0
-...............\hbox(0.0+0.0)x0.0
-................\hbox(0.0+0.0)x0.0
-.................\kern -35.7089
-.................\hbox(79.70663+32.17336)x111.87999
+..............\hbox(111.87999+0.0)x111.87999
+...............\hbox(111.87999+0.0)x111.87999
+................\hbox(111.87999+0.0)x111.87999
+.................\kern 0.0
+.................\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
..................\hbox(79.70663+32.17336)x111.87999
...................\kern 35.7089
...................\hbox(50.5+45.5)x62.2222
@@ -721,16 +727,16 @@ TEST 2: Test 2: rotation+alignment
....................\special{x:grestore}
..............\special{x:grestore}
........\special{x:grestore}
-...\kern 0.0
-...\kern -0.5
-...\hbox(1.0+0.0)x1.0, shifted 0.5
+...\kern -111.87999
+...\kern 111.37999
+...\hbox(1.0+0.0)x1.0, shifted -67.38225
....\special{color push gray 0}
....\hbox(1.0+0.0)x1.0
.....\rule(1.0+0.0)x1.0
....\special{color pop}
-..\kern 0.0
-..\kern -20.11115
-..\hbox(7.5+2.5)x18.11115, shifted 9.5
+..\kern -111.87999
+..\kern 91.76884
+..\hbox(7.5+2.5)x18.11115, shifted -58.38225
...\special{color push gray 0}
...\OT1/cmss/m/n/10 (
...\OT1/cmss/m/n/10 b
@@ -738,14 +744,14 @@ TEST 2: Test 2: rotation+alignment
...\OT1/cmss/m/n/10 l
...\OT1/cmss/m/n/10 )
...\special{color pop}
-.\kern 0.0
-.\kern 30.0
-.\hbox(0.0+0.0)x0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\hbox(0.0+0.0)x0.0
-.....\kern -7.31462
-.....\hbox(52.82094+3.77908)x56.60002
+.\kern -111.87999
+.\kern 111.81221
+.\hbox(56.60002+0.0)x56.60002, shifted -41.35
+..\hbox(56.60002+0.0)x56.60002
+...\hbox(56.60002+0.0)x56.60002
+....\hbox(56.60002+0.0)x56.60002
+.....\kern 0.0
+.....\hbox(52.82094+3.77908)x56.60002, shifted -3.77908
......\hbox(52.82094+3.77908)x56.60002
.......\kern 7.31462
.......\hbox(10.34444+5.34444)x64.35565
@@ -753,6 +759,7 @@ TEST 2: Test 2: rotation+alignment
........\special{x:rotate 45}
........\hbox(10.34444+5.34444)x64.35565
.........\hbox(10.34444+5.34444)x64.35565
+..........\special{color push gray 0}
..........\hbox(10.34444+5.34444)x64.35565
...........\hbox(15.68887+0.0)x64.35565, shifted 5.34444
............\vbox(15.68887+0.0)x64.35565
@@ -779,17 +786,18 @@ TEST 2: Test 2: rotation+alignment
...............\glue 3.0
..............\rule(*+*)x0.4
.............\rule(0.4+0.0)x*
+..........\special{color pop}
........\special{x:grestore}
-...\kern 0.0
-...\kern -0.5
-...\hbox(1.0+0.0)x1.0, shifted 0.5
+...\kern -56.60002
+...\kern 29.56778
+...\hbox(1.0+0.0)x1.0, shifted -26.03224
....\special{color push gray 0}
....\hbox(1.0+0.0)x1.0
.....\rule(1.0+0.0)x1.0
....\special{color pop}
-..\kern 0.0
-..\kern -13.41669
-..\hbox(7.5+2.5)x26.83339, shifted -0.5
+..\kern -56.60002
+..\kern 16.6511
+..\hbox(7.5+2.5)x26.83339, shifted -27.03224
...\special{color push gray 0}
...\OT1/cmss/m/n/10 (
...\OT1/cmss/m/n/10 B
diff --git a/l3experimental/xcoffins/testfiles/xcoffins003.tlg b/l3experimental/xcoffins/testfiles/xcoffins003.tlg
index 68704ff..44a41f3 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins003.tlg
+++ b/l3experimental/xcoffins/testfiles/xcoffins003.tlg
@@ -6,6 +6,7 @@ TEST 1: Test 1: rotation
============================================================
> \box...=
\hbox(50.5+45.5)x62.2222
+.\pdfcolorstack 0 push {0 g 0 G}
.\hbox(50.5+45.5)x62.2222
..\mathon
..\vbox(50.5+45.5)x62.2222
@@ -160,15 +161,16 @@ TEST 1: Test 1: rotation
....\glue(\tabskip) 0.0
...\rule(0.0+0.0)x62.2222
..\mathoff
+.\pdfcolorstack 0 pop
! OK.
<argument> \showbox \aaa
x\fbox {\usebox \aaa }\RotateCoffin \aaa {45}\showb...
l. ...}
> \box...=
-\hbox(0.0+0.0)x0.0
-.\hbox(0.0+0.0)x0.0
-..\kern -35.7089
-..\hbox(79.70663+32.17336)x111.87999
+\hbox(111.87999+0.0)x111.87999
+.\hbox(111.87999+0.0)x111.87999
+..\kern 0.0
+..\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
...\hbox(79.70663+32.17336)x111.87999
....\kern 35.7089
....\hbox(50.5+45.5)x0.0
@@ -176,6 +178,7 @@ l. ...}
.....\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
.....\hbox(50.5+45.5)x0.0
......\hbox(50.5+45.5)x62.2222
+.......\pdfcolorstack 0 push {0 g 0 G}
.......\hbox(50.5+45.5)x62.2222
........\mathon
........\vbox(50.5+45.5)x62.2222
@@ -330,26 +333,27 @@ l. ...}
..........\glue(\tabskip) 0.0
.........\rule(0.0+0.0)x62.2222
........\mathoff
+.......\pdfcolorstack 0 pop
.....\pdfrestore
! OK.
<argument> ...RotateCoffin \aaa {45}\showbox \aaa
x\fbox {\usebox \aaa }\Rot...
l. ...}
> \box...=
-\hbox(0.0+0.0)x0.0
-.\hbox(0.0+0.0)x0.0
-..\kern 0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\kern 0.0
-....\hbox(0.0+0.0)x0.0
+\hbox(62.2222+0.0)x96.0
+.\hbox(62.2222+0.0)x96.0
+..\kern -31.1111
+..\hbox(158.2222+0.0)x158.2222, shifted 48.0
+...\hbox(158.2222+0.0)x158.2222
+....\kern 79.1111
+....\hbox(111.87999+0.0)x0.0
.....\pdfsave
.....\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
-.....\hbox(0.0+0.0)x0.0
-......\hbox(0.0+0.0)x0.0
-.......\hbox(0.0+0.0)x0.0
-........\kern -35.7089
-........\hbox(79.70663+32.17336)x111.87999
+.....\hbox(111.87999+0.0)x0.0
+......\hbox(111.87999+0.0)x111.87999
+.......\hbox(111.87999+0.0)x111.87999
+........\kern 0.0
+........\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
.........\hbox(79.70663+32.17336)x111.87999
..........\kern 35.7089
..........\hbox(50.5+45.5)x0.0
@@ -357,6 +361,7 @@ l. ...}
...........\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
...........\hbox(50.5+45.5)x0.0
............\hbox(50.5+45.5)x62.2222
+.............\pdfcolorstack 0 push {0 g 0 G}
.............\hbox(50.5+45.5)x62.2222
..............\mathon
..............\vbox(50.5+45.5)x62.2222
@@ -511,6 +516,7 @@ l. ...}
................\glue(\tabskip) 0.0
...............\rule(0.0+0.0)x62.2222
..............\mathoff
+.............\pdfcolorstack 0 pop
...........\pdfrestore
.....\pdfrestore
! OK.
@@ -522,33 +528,33 @@ l. ...}
TEST 2: Test 2: rotation+alignment
============================================================
> \box...=
-\hbox(0.0+0.0)x30.0
-.\hbox(0.0+0.0)x0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\hbox(0.0+0.0)x0.0
+\hbox(111.87999+0.0)x168.41223
+.\hbox(111.87999+0.0)x111.87999
+..\hbox(111.87999+0.0)x111.87999
+...\hbox(111.87999+0.0)x111.87999
+....\hbox(111.87999+0.0)x111.87999
.....\kern 0.0
-.....\hbox(0.0+0.0)x0.0
-......\hbox(0.0+0.0)x0.0
-.......\kern 0.0
-.......\hbox(0.0+0.0)x0.0
+.....\hbox(111.87999+0.0)x111.87999
+......\hbox(111.87999+0.0)x111.87999
+.......\kern 43.99774
+.......\hbox(62.2222+0.0)x0.0
........\pdfsave
........\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
-........\hbox(0.0+0.0)x0.0
-.........\hbox(0.0+0.0)x0.0
-..........\hbox(0.0+0.0)x0.0
-...........\kern 0.0
-...........\hbox(0.0+0.0)x0.0
-............\hbox(0.0+0.0)x0.0
-.............\kern 0.0
-.............\hbox(0.0+0.0)x0.0
+........\hbox(62.2222+0.0)x0.0
+.........\hbox(62.2222+0.0)x96.0
+..........\hbox(62.2222+0.0)x96.0
+...........\kern -31.1111
+...........\hbox(158.2222+0.0)x158.2222, shifted 48.0
+............\hbox(158.2222+0.0)x158.2222
+.............\kern 79.1111
+.............\hbox(111.87999+0.0)x0.0
..............\pdfsave
..............\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
-..............\hbox(0.0+0.0)x0.0
-...............\hbox(0.0+0.0)x0.0
-................\hbox(0.0+0.0)x0.0
-.................\kern -35.7089
-.................\hbox(79.70663+32.17336)x111.87999
+..............\hbox(111.87999+0.0)x0.0
+...............\hbox(111.87999+0.0)x111.87999
+................\hbox(111.87999+0.0)x111.87999
+.................\kern 0.0
+.................\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
..................\hbox(79.70663+32.17336)x111.87999
...................\kern 35.7089
...................\hbox(50.5+45.5)x0.0
@@ -713,16 +719,16 @@ TEST 2: Test 2: rotation+alignment
....................\pdfrestore
..............\pdfrestore
........\pdfrestore
-...\kern 0.0
-...\kern -0.5
-...\hbox(1.0+0.0)x1.0, shifted 0.5
+...\kern -111.87999
+...\kern 111.37999
+...\hbox(1.0+0.0)x1.0, shifted -67.38225
....\pdfcolorstack 0 push {0 g 0 G}
....\hbox(1.0+0.0)x1.0
.....\rule(1.0+0.0)x1.0
....\pdfcolorstack 0 pop
-..\kern 0.0
-..\kern -20.11115
-..\hbox(7.5+2.5)x18.11115, shifted 9.5
+..\kern -111.87999
+..\kern 91.76884
+..\hbox(7.5+2.5)x18.11115, shifted -58.38225
...\pdfcolorstack 0 push {0 g 0 G}
...\OT1/cmss/m/n/10 (
...\OT1/cmss/m/n/10 b
@@ -730,14 +736,14 @@ TEST 2: Test 2: rotation+alignment
...\OT1/cmss/m/n/10 l
...\OT1/cmss/m/n/10 )
...\pdfcolorstack 0 pop
-.\kern 0.0
-.\kern 30.0
-.\hbox(0.0+0.0)x0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\hbox(0.0+0.0)x0.0
-.....\kern -7.31462
-.....\hbox(52.82094+3.77908)x56.60002
+.\kern -111.87999
+.\kern 111.81221
+.\hbox(56.60002+0.0)x56.60002, shifted -41.35
+..\hbox(56.60002+0.0)x56.60002
+...\hbox(56.60002+0.0)x56.60002
+....\hbox(56.60002+0.0)x56.60002
+.....\kern 0.0
+.....\hbox(52.82094+3.77908)x56.60002, shifted -3.77908
......\hbox(52.82094+3.77908)x56.60002
.......\kern 7.31462
.......\hbox(10.34444+5.34444)x0.0
@@ -745,6 +751,7 @@ TEST 2: Test 2: rotation+alignment
........\pdfsetmatrix{0.70711 0.70711 -0.70711 0.70711}
........\hbox(10.34444+5.34444)x0.0
.........\hbox(10.34444+5.34444)x64.35565
+..........\pdfcolorstack 0 push {0 g 0 G}
..........\hbox(10.34444+5.34444)x64.35565
...........\hbox(15.68887+0.0)x64.35565, shifted 5.34444
............\vbox(15.68887+0.0)x64.35565
@@ -771,17 +778,18 @@ TEST 2: Test 2: rotation+alignment
...............\glue 3.0
..............\rule(*+*)x0.4
.............\rule(0.4+0.0)x*
+..........\pdfcolorstack 0 pop
........\pdfrestore
-...\kern 0.0
-...\kern -0.5
-...\hbox(1.0+0.0)x1.0, shifted 0.5
+...\kern -56.60002
+...\kern 29.56778
+...\hbox(1.0+0.0)x1.0, shifted -26.03224
....\pdfcolorstack 0 push {0 g 0 G}
....\hbox(1.0+0.0)x1.0
.....\rule(1.0+0.0)x1.0
....\pdfcolorstack 0 pop
-..\kern 0.0
-..\kern -13.41669
-..\hbox(7.5+2.5)x26.83339, shifted -0.5
+..\kern -56.60002
+..\kern 16.6511
+..\hbox(7.5+2.5)x26.83339, shifted -27.03224
...\pdfcolorstack 0 push {0 g 0 G}
...\OT1/cmss/m/n/10 (
...\OT1/cmss/m/n/10 B
diff --git a/l3experimental/xcoffins/testfiles/xcoffins003.uptex.tlg b/l3experimental/xcoffins/testfiles/xcoffins003.uptex.tlg
index 84e3859..44b2fd1 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins003.uptex.tlg
+++ b/l3experimental/xcoffins/testfiles/xcoffins003.uptex.tlg
@@ -6,6 +6,7 @@ TEST 1: Test 1: rotation
============================================================
> \box...=
\hbox(50.5+45.5)x62.2222
+.\special{color push gray 0}
.\hbox(0.0+0.0)x0.0
.\hbox(50.5+45.5)x62.2222
..\mathon
@@ -162,15 +163,16 @@ TEST 1: Test 1: rotation
...\rule(0.0+0.0)x62.2222
..\mathoff
.\hbox(0.0+0.0)x0.0
+.\special{color pop}
! OK.
<argument> \showbox \aaa
x\fbox {\usebox \aaa }\RotateCoffin \aaa {45}\showb...
l. ...}
> \box...=
-\hbox(0.0+0.0)x0.0
-.\hbox(0.0+0.0)x0.0
-..\kern -35.7089
-..\hbox(79.70663+32.17336)x111.87999
+\hbox(111.87999+0.0)x111.87999
+.\hbox(111.87999+0.0)x111.87999
+..\kern 0.0
+..\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
...\hbox(79.70663+32.17336)x111.87999
....\kern 35.7089
....\hbox(50.5+45.5)x62.2222
@@ -178,6 +180,7 @@ l. ...}
.....\special{x:rotate 45}
.....\hbox(50.5+45.5)x62.2222
......\hbox(50.5+45.5)x62.2222
+.......\special{color push gray 0}
.......\hbox(0.0+0.0)x0.0
.......\hbox(50.5+45.5)x62.2222
........\mathon
@@ -334,26 +337,27 @@ l. ...}
.........\rule(0.0+0.0)x62.2222
........\mathoff
.......\hbox(0.0+0.0)x0.0
+.......\special{color pop}
.....\special{x:grestore}
! OK.
<argument> ...RotateCoffin \aaa {45}\showbox \aaa
x\fbox {\usebox \aaa }\Rot...
l. ...}
> \box...=
-\hbox(0.0+0.0)x0.0
-.\hbox(0.0+0.0)x0.0
-..\kern 0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\kern 0.0
-....\hbox(0.0+0.0)x0.0
+\hbox(62.2222+0.0)x96.0
+.\hbox(62.2222+0.0)x96.0
+..\kern -31.1111
+..\hbox(158.2222+0.0)x158.2222, shifted 48.0
+...\hbox(158.2222+0.0)x158.2222
+....\kern 79.1111
+....\hbox(111.87999+0.0)x111.87999
.....\special{x:gsave}
.....\special{x:rotate 45}
-.....\hbox(0.0+0.0)x0.0
-......\hbox(0.0+0.0)x0.0
-.......\hbox(0.0+0.0)x0.0
-........\kern -35.7089
-........\hbox(79.70663+32.17336)x111.87999
+.....\hbox(111.87999+0.0)x111.87999
+......\hbox(111.87999+0.0)x111.87999
+.......\hbox(111.87999+0.0)x111.87999
+........\kern 0.0
+........\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
.........\hbox(79.70663+32.17336)x111.87999
..........\kern 35.7089
..........\hbox(50.5+45.5)x62.2222
@@ -361,6 +365,7 @@ l. ...}
...........\special{x:rotate 45}
...........\hbox(50.5+45.5)x62.2222
............\hbox(50.5+45.5)x62.2222
+.............\special{color push gray 0}
.............\hbox(0.0+0.0)x0.0
.............\hbox(50.5+45.5)x62.2222
..............\mathon
@@ -517,6 +522,7 @@ l. ...}
...............\rule(0.0+0.0)x62.2222
..............\mathoff
.............\hbox(0.0+0.0)x0.0
+.............\special{color pop}
...........\special{x:grestore}
.....\special{x:grestore}
! OK.
@@ -528,33 +534,33 @@ l. ...}
TEST 2: Test 2: rotation+alignment
============================================================
> \box...=
-\hbox(0.0+0.0)x30.0
-.\hbox(0.0+0.0)x0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\hbox(0.0+0.0)x0.0
+\hbox(111.87999+0.0)x168.41223
+.\hbox(111.87999+0.0)x111.87999
+..\hbox(111.87999+0.0)x111.87999
+...\hbox(111.87999+0.0)x111.87999
+....\hbox(111.87999+0.0)x111.87999
.....\kern 0.0
-.....\hbox(0.0+0.0)x0.0
-......\hbox(0.0+0.0)x0.0
-.......\kern 0.0
-.......\hbox(0.0+0.0)x0.0
+.....\hbox(111.87999+0.0)x111.87999
+......\hbox(111.87999+0.0)x111.87999
+.......\kern 43.99774
+.......\hbox(62.2222+0.0)x96.0
........\special{x:gsave}
........\special{x:rotate 45}
-........\hbox(0.0+0.0)x0.0
-.........\hbox(0.0+0.0)x0.0
-..........\hbox(0.0+0.0)x0.0
-...........\kern 0.0
-...........\hbox(0.0+0.0)x0.0
-............\hbox(0.0+0.0)x0.0
-.............\kern 0.0
-.............\hbox(0.0+0.0)x0.0
+........\hbox(62.2222+0.0)x96.0
+.........\hbox(62.2222+0.0)x96.0
+..........\hbox(62.2222+0.0)x96.0
+...........\kern -31.1111
+...........\hbox(158.2222+0.0)x158.2222, shifted 48.0
+............\hbox(158.2222+0.0)x158.2222
+.............\kern 79.1111
+.............\hbox(111.87999+0.0)x111.87999
..............\special{x:gsave}
..............\special{x:rotate 45}
-..............\hbox(0.0+0.0)x0.0
-...............\hbox(0.0+0.0)x0.0
-................\hbox(0.0+0.0)x0.0
-.................\kern -35.7089
-.................\hbox(79.70663+32.17336)x111.87999
+..............\hbox(111.87999+0.0)x111.87999
+...............\hbox(111.87999+0.0)x111.87999
+................\hbox(111.87999+0.0)x111.87999
+.................\kern 0.0
+.................\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
..................\hbox(79.70663+32.17336)x111.87999
...................\kern 35.7089
...................\hbox(50.5+45.5)x62.2222
@@ -721,16 +727,16 @@ TEST 2: Test 2: rotation+alignment
....................\special{x:grestore}
..............\special{x:grestore}
........\special{x:grestore}
-...\kern 0.0
-...\kern -0.5
-...\hbox(1.0+0.0)x1.0, shifted 0.5
+...\kern -111.87999
+...\kern 111.37999
+...\hbox(1.0+0.0)x1.0, shifted -67.38225
....\special{color push gray 0}
....\hbox(1.0+0.0)x1.0
.....\rule(1.0+0.0)x1.0
....\special{color pop}
-..\kern 0.0
-..\kern -20.11115
-..\hbox(7.5+2.5)x18.11115, shifted 9.5
+..\kern -111.87999
+..\kern 91.76884
+..\hbox(7.5+2.5)x18.11115, shifted -58.38225
...\special{color push gray 0}
...\OT1/cmss/m/n/10 (
...\OT1/cmss/m/n/10 b
@@ -738,14 +744,14 @@ TEST 2: Test 2: rotation+alignment
...\OT1/cmss/m/n/10 l
...\OT1/cmss/m/n/10 )
...\special{color pop}
-.\kern 0.0
-.\kern 30.0
-.\hbox(0.0+0.0)x0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\hbox(0.0+0.0)x0.0
-.....\kern -7.31462
-.....\hbox(52.82094+3.77908)x56.60002
+.\kern -111.87999
+.\kern 111.81221
+.\hbox(56.60002+0.0)x56.60002, shifted -41.35
+..\hbox(56.60002+0.0)x56.60002
+...\hbox(56.60002+0.0)x56.60002
+....\hbox(56.60002+0.0)x56.60002
+.....\kern 0.0
+.....\hbox(52.82094+3.77908)x56.60002, shifted -3.77908
......\hbox(52.82094+3.77908)x56.60002
.......\kern 7.31462
.......\hbox(10.34444+5.34444)x64.35565
@@ -753,6 +759,7 @@ TEST 2: Test 2: rotation+alignment
........\special{x:rotate 45}
........\hbox(10.34444+5.34444)x64.35565
.........\hbox(10.34444+5.34444)x64.35565
+..........\special{color push gray 0}
..........\hbox(10.34444+5.34444)x64.35565
...........\hbox(15.68887+0.0)x64.35565, shifted 5.34444
............\vbox(15.68887+0.0)x64.35565
@@ -779,17 +786,18 @@ TEST 2: Test 2: rotation+alignment
...............\glue 3.0
..............\rule(*+*)x0.4
.............\rule(0.4+0.0)x*
+..........\special{color pop}
........\special{x:grestore}
-...\kern 0.0
-...\kern -0.5
-...\hbox(1.0+0.0)x1.0, shifted 0.5
+...\kern -56.60002
+...\kern 29.56778
+...\hbox(1.0+0.0)x1.0, shifted -26.03224
....\special{color push gray 0}
....\hbox(1.0+0.0)x1.0
.....\rule(1.0+0.0)x1.0
....\special{color pop}
-..\kern 0.0
-..\kern -13.41669
-..\hbox(7.5+2.5)x26.83339, shifted -0.5
+..\kern -56.60002
+..\kern 16.6511
+..\hbox(7.5+2.5)x26.83339, shifted -27.03224
...\special{color push gray 0}
...\OT1/cmss/m/n/10 (
...\OT1/cmss/m/n/10 B
diff --git a/l3experimental/xcoffins/testfiles/xcoffins003.xetex.tlg b/l3experimental/xcoffins/testfiles/xcoffins003.xetex.tlg
index a882c6f..3f4986a 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins003.xetex.tlg
+++ b/l3experimental/xcoffins/testfiles/xcoffins003.xetex.tlg
@@ -6,6 +6,7 @@ TEST 1: Test 1: rotation
============================================================
> \box...=
\hbox(50.5+45.5)x62.2222
+.\special{color push gray 0}
.\hbox(50.5+45.5)x62.2222
..\mathon
..\vbox(50.5+45.5)x62.2222
@@ -160,15 +161,16 @@ TEST 1: Test 1: rotation
....\glue(\tabskip) 0.0
...\rule(0.0+0.0)x62.2222
..\mathoff
+.\special{color pop}
! OK.
<argument> \showbox \aaa
x\fbox {\usebox \aaa }\RotateCoffin \aaa {45}\showb...
l. ...}
> \box...=
-\hbox(0.0+0.0)x0.0
-.\hbox(0.0+0.0)x0.0
-..\kern -35.7089
-..\hbox(79.70663+32.17336)x111.87999
+\hbox(111.87999+0.0)x111.87999
+.\hbox(111.87999+0.0)x111.87999
+..\kern 0.0
+..\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
...\hbox(79.70663+32.17336)x111.87999
....\kern 35.7089
....\hbox(50.5+45.5)x62.2222
@@ -176,6 +178,7 @@ l. ...}
.....\special{x:rotate 45}
.....\hbox(50.5+45.5)x62.2222
......\hbox(50.5+45.5)x62.2222
+.......\special{color push gray 0}
.......\hbox(50.5+45.5)x62.2222
........\mathon
........\vbox(50.5+45.5)x62.2222
@@ -330,26 +333,27 @@ l. ...}
..........\glue(\tabskip) 0.0
.........\rule(0.0+0.0)x62.2222
........\mathoff
+.......\special{color pop}
.....\special{x:grestore}
! OK.
<argument> ...RotateCoffin \aaa {45}\showbox \aaa
x\fbox {\usebox \aaa }\Rot...
l. ...}
> \box...=
-\hbox(0.0+0.0)x0.0
-.\hbox(0.0+0.0)x0.0
-..\kern 0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\kern 0.0
-....\hbox(0.0+0.0)x0.0
+\hbox(62.2222+0.0)x96.0
+.\hbox(62.2222+0.0)x96.0
+..\kern -31.1111
+..\hbox(158.2222+0.0)x158.2222, shifted 48.0
+...\hbox(158.2222+0.0)x158.2222
+....\kern 79.1111
+....\hbox(111.87999+0.0)x111.87999
.....\special{x:gsave}
.....\special{x:rotate 45}
-.....\hbox(0.0+0.0)x0.0
-......\hbox(0.0+0.0)x0.0
-.......\hbox(0.0+0.0)x0.0
-........\kern -35.7089
-........\hbox(79.70663+32.17336)x111.87999
+.....\hbox(111.87999+0.0)x111.87999
+......\hbox(111.87999+0.0)x111.87999
+.......\hbox(111.87999+0.0)x111.87999
+........\kern 0.0
+........\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
.........\hbox(79.70663+32.17336)x111.87999
..........\kern 35.7089
..........\hbox(50.5+45.5)x62.2222
@@ -357,6 +361,7 @@ l. ...}
...........\special{x:rotate 45}
...........\hbox(50.5+45.5)x62.2222
............\hbox(50.5+45.5)x62.2222
+.............\special{color push gray 0}
.............\hbox(50.5+45.5)x62.2222
..............\mathon
..............\vbox(50.5+45.5)x62.2222
@@ -511,6 +516,7 @@ l. ...}
................\glue(\tabskip) 0.0
...............\rule(0.0+0.0)x62.2222
..............\mathoff
+.............\special{color pop}
...........\special{x:grestore}
.....\special{x:grestore}
! OK.
@@ -522,33 +528,33 @@ l. ...}
TEST 2: Test 2: rotation+alignment
============================================================
> \box...=
-\hbox(0.0+0.0)x30.0
-.\hbox(0.0+0.0)x0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\hbox(0.0+0.0)x0.0
+\hbox(111.87999+0.0)x168.41223
+.\hbox(111.87999+0.0)x111.87999
+..\hbox(111.87999+0.0)x111.87999
+...\hbox(111.87999+0.0)x111.87999
+....\hbox(111.87999+0.0)x111.87999
.....\kern 0.0
-.....\hbox(0.0+0.0)x0.0
-......\hbox(0.0+0.0)x0.0
-.......\kern 0.0
-.......\hbox(0.0+0.0)x0.0
+.....\hbox(111.87999+0.0)x111.87999
+......\hbox(111.87999+0.0)x111.87999
+.......\kern 43.99774
+.......\hbox(62.2222+0.0)x96.0
........\special{x:gsave}
........\special{x:rotate 45}
-........\hbox(0.0+0.0)x0.0
-.........\hbox(0.0+0.0)x0.0
-..........\hbox(0.0+0.0)x0.0
-...........\kern 0.0
-...........\hbox(0.0+0.0)x0.0
-............\hbox(0.0+0.0)x0.0
-.............\kern 0.0
-.............\hbox(0.0+0.0)x0.0
+........\hbox(62.2222+0.0)x96.0
+.........\hbox(62.2222+0.0)x96.0
+..........\hbox(62.2222+0.0)x96.0
+...........\kern -31.1111
+...........\hbox(158.2222+0.0)x158.2222, shifted 48.0
+............\hbox(158.2222+0.0)x158.2222
+.............\kern 79.1111
+.............\hbox(111.87999+0.0)x111.87999
..............\special{x:gsave}
..............\special{x:rotate 45}
-..............\hbox(0.0+0.0)x0.0
-...............\hbox(0.0+0.0)x0.0
-................\hbox(0.0+0.0)x0.0
-.................\kern -35.7089
-.................\hbox(79.70663+32.17336)x111.87999
+..............\hbox(111.87999+0.0)x111.87999
+...............\hbox(111.87999+0.0)x111.87999
+................\hbox(111.87999+0.0)x111.87999
+.................\kern 0.0
+.................\hbox(79.70663+32.17336)x111.87999, shifted -32.17336
..................\hbox(79.70663+32.17336)x111.87999
...................\kern 35.7089
...................\hbox(50.5+45.5)x62.2222
@@ -713,16 +719,16 @@ TEST 2: Test 2: rotation+alignment
....................\special{x:grestore}
..............\special{x:grestore}
........\special{x:grestore}
-...\kern 0.0
-...\kern -0.5
-...\hbox(1.0+0.0)x1.0, shifted 0.5
+...\kern -111.87999
+...\kern 111.37999
+...\hbox(1.0+0.0)x1.0, shifted -67.38225
....\special{color push gray 0}
....\hbox(1.0+0.0)x1.0
.....\rule(1.0+0.0)x1.0
....\special{color pop}
-..\kern 0.0
-..\kern -20.11115
-..\hbox(7.5+2.5)x18.11115, shifted 9.5
+..\kern -111.87999
+..\kern 91.76884
+..\hbox(7.5+2.5)x18.11115, shifted -58.38225
...\special{color push gray 0}
...\OT1/cmss/m/n/10 (
...\OT1/cmss/m/n/10 b
@@ -730,14 +736,14 @@ TEST 2: Test 2: rotation+alignment
...\OT1/cmss/m/n/10 l
...\OT1/cmss/m/n/10 )
...\special{color pop}
-.\kern 0.0
-.\kern 30.0
-.\hbox(0.0+0.0)x0.0
-..\hbox(0.0+0.0)x0.0
-...\hbox(0.0+0.0)x0.0
-....\hbox(0.0+0.0)x0.0
-.....\kern -7.31462
-.....\hbox(52.82094+3.77908)x56.60002
+.\kern -111.87999
+.\kern 111.81221
+.\hbox(56.60002+0.0)x56.60002, shifted -41.35
+..\hbox(56.60002+0.0)x56.60002
+...\hbox(56.60002+0.0)x56.60002
+....\hbox(56.60002+0.0)x56.60002
+.....\kern 0.0
+.....\hbox(52.82094+3.77908)x56.60002, shifted -3.77908
......\hbox(52.82094+3.77908)x56.60002
.......\kern 7.31462
.......\hbox(10.34444+5.34444)x64.35565
@@ -745,6 +751,7 @@ TEST 2: Test 2: rotation+alignment
........\special{x:rotate 45}
........\hbox(10.34444+5.34444)x64.35565
.........\hbox(10.34444+5.34444)x64.35565
+..........\special{color push gray 0}
..........\hbox(10.34444+5.34444)x64.35565
...........\hbox(15.68887+0.0)x64.35565, shifted 5.34444
............\vbox(15.68887+0.0)x64.35565
@@ -771,17 +778,18 @@ TEST 2: Test 2: rotation+alignment
...............\glue 3.0
..............\rule(*+*)x0.4
.............\rule(0.4+0.0)x*
+..........\special{color pop}
........\special{x:grestore}
-...\kern 0.0
-...\kern -0.5
-...\hbox(1.0+0.0)x1.0, shifted 0.5
+...\kern -56.60002
+...\kern 29.56778
+...\hbox(1.0+0.0)x1.0, shifted -26.03224
....\special{color push gray 0}
....\hbox(1.0+0.0)x1.0
.....\rule(1.0+0.0)x1.0
....\special{color pop}
-..\kern 0.0
-..\kern -13.41669
-..\hbox(7.5+2.5)x26.83339, shifted -0.5
+..\kern -56.60002
+..\kern 16.6511
+..\hbox(7.5+2.5)x26.83339, shifted -27.03224
...\special{color push gray 0}
...\OT1/cmss/m/n/10 (
...\OT1/cmss/m/n/10 B
More information about the latex3-commits
mailing list