[dev-context] \textrule and Bidi

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Mon Dec 16 22:26:58 CET 2019


in RTL text direction the middle and bottom alternatives of \textrule 
extend into the right margin.







A fix for this is to use \naturalvpack instead of \vpack.

%%%% pack-mrl.mkiv
-  \noindent\vpack % was \dontleavehmode
+  \noindent\naturalvpack % was \dontleavehmode
            \s!depth \directtextrulesparameter\c!rulethickness
            \s!width \availablehsize}}}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: textrule.pdf
Type: application/pdf
Size: 3903 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-context/attachments/20191216/28189cf9/attachment.pdf>

More information about the dev-context mailing list