diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2023-01-24 16:49:02 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2023-01-24 16:49:02 +0000 |
commit | 80c93c8f00f58020c56174ee314ad783b1bd44af (patch) | |
tree | ec219ff9452437c6b22801195a23098106b491dc /Build/source/texk/web2c/luatexdir/tex | |
parent | 89aa8fb4ad7c472e9442873a3b4d2ad19666ee97 (diff) |
fix for r2l multiline link etc rectangles (H.Hagen)
git-svn-id: svn://tug.org/texlive/trunk@65617 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/texnodes.h | 7 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/textoken.c | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/texnodes.h b/Build/source/texk/web2c/luatexdir/tex/texnodes.h index a5549deb963..b65efe7b8bc 100644 --- a/Build/source/texk/web2c/luatexdir/tex/texnodes.h +++ b/Build/source/texk/web2c/luatexdir/tex/texnodes.h @@ -876,9 +876,9 @@ typedef enum { # define pdf_obj_objnum(a) vinfo((a) + 2) -# define pdf_annot_node_size 8 -# define pdf_dest_node_size 8 -# define pdf_thread_node_size 8 +# define pdf_annot_node_size 9 /* all need the same size, rect margin related ! */ +# define pdf_dest_node_size 9 +# define pdf_thread_node_size 9 /* when a whatsit node representing annotation is created, words |1..3| are @@ -895,6 +895,7 @@ typedef enum { # define pdf_ann_top(a) varmem[(a) + 3].cint # define pdf_ann_right(a) varmem[(a) + 4].cint # define pdf_ann_bottom(a) varmem[(a) + 5].cint +# define pdf_ann_margin(a) varmem[(a) + 8].cint /* so all need to have the same size */ # define pdf_literal_data(a) vlink((a)+2) # define pdf_literal_mode(a) type((a)+2) diff --git a/Build/source/texk/web2c/luatexdir/tex/textoken.c b/Build/source/texk/web2c/luatexdir/tex/textoken.c index b6f8bbb8c7c..4abe6377b55 100644 --- a/Build/source/texk/web2c/luatexdir/tex/textoken.c +++ b/Build/source/texk/web2c/luatexdir/tex/textoken.c @@ -2619,10 +2619,11 @@ static int do_variable_pdf(halfword c) else if (scan_keyword("pkfixeddpi")) { do_variable_backend_int(c_pdf_pk_fixed_dpi); } else if (scan_keyword("suppressoptionalinfo")) { do_variable_backend_int(c_pdf_suppress_optional_info); } else if (scan_keyword("omitcidset")) { do_variable_backend_int(c_pdf_omit_cidset); } + else if (scan_keyword("recompress")) { do_variable_backend_int(c_pdf_recompress); } else if (scan_keyword("omitcharset")) { do_variable_backend_int(c_pdf_omit_charset); } else if (scan_keyword("omitinfodict")) { do_variable_backend_int(c_pdf_omit_infodict); } else if (scan_keyword("omitmediabox")) { do_variable_backend_int(c_pdf_omit_mediabox); } - else if (scan_keyword("recompress")) { do_variable_backend_int(c_pdf_recompress); } + else if (scan_keyword("linking")) { do_variable_backend_int(c_pdf_linking); } else if (scan_keyword("horigin")) { do_variable_backend_dimen(d_pdf_h_origin); } else if (scan_keyword("vorigin")) { do_variable_backend_dimen(d_pdf_v_origin); } |