[latex3-commits] [git/LaTeX3-latex3-latex3] master: Some tweaks to low-level draw text boxes (f8beb90)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Feb 23 13:10:40 CET 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/f8beb90e713d69a9e13694cbd95eaf5b4c3652ff
>---------------------------------------------------------------
commit f8beb90e713d69a9e13694cbd95eaf5b4c3652ff
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Feb 23 12:10:40 2018 +0000
Some tweaks to low-level draw text boxes
I suspect there is more to do here!
>---------------------------------------------------------------
f8beb90e713d69a9e13694cbd95eaf5b4c3652ff
l3kernel/l3drivers.dtx | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index 8b5aa7d..e0e8c75 100644
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -2131,16 +2131,14 @@
% \begin{macrocode}
\cs_new_protected:Npn \driver_draw_hbox:Nnnnnnn #1#2#3#4#5#6#7
{
- \hbox_set:Nn \l_@@_tmp_box
+ \hbox_set_to_wd:Nnn \l_@@_tmp_box { 0pt }
{
- \tex_kern:D \__dim_eval:n {#6}
- \@@_scope_begin:
- \driver_draw_transformcm:nnnnnn {#2} {#3} {#4} {#5}
- { 0pt } { 0pt }
+ \tex_kern:D \dim_eval:n {#6}
+ \driver_draw_scope_begin:
+ \driver_draw_transformcm:nnnnnn {#2} {#3} {#4} {#5} { 0pt } { 0pt }
\box_move_up:nn {#7} { \box_use:N #1 }
- \@@_scope_end:
+ \driver_draw_scope_end:
}
- \box_set_wd:Nn \l_@@_tmp_box { 0pt }
\box_set_ht:Nn \l_@@_tmp_box { 0pt }
\box_set_dp:Nn \l_@@_tmp_box { 0pt }
\box_use:N \l_@@_tmp_box
More information about the latex3-commits
mailing list