abenori / jlreq

Other
125 stars 18 forks source link

PDF in Tate mode, text order is incorrect #82

Closed asnahu closed 3 years ago

asnahu commented 3 years ago
image

text ordering is not like in yoko mode. how to solve this problem? thanks!

abenori commented 3 years ago

It seems fine with my computer. Could you tell me the issue more?

jlreq
asnahu commented 3 years ago

`% !TEX ts-program = LuaLatex % !TEX encoding = UTF-8

\documentclass[ lualatex, a6paper, book, tate, 12pt, ]{jlreq} \usepackage{luatexja-fontspec} \usepackage{luaotfload} \usepackage[right=.3in, left=.3in, top=.3in, bottom=.3in]{geometry} \parindent=2em \setmainjfont { KozMinPr6N-Medium }

\begin{document}

丁元英回答道:「大師考問晚輩自在情理之中,晚輩就斗胆妄言了。所謂真經,就是能够逹到寂空涅槃的究竟法門,可悟不可修。修為成佛,在求。悟為明性,在知。修行以行制性,悟道以性施行,覺者由心生律,修者以律制心。不落惡果者有信無證,住因住果、住念住心,如是生滅。不昧因果者無住而住,無欲無不欲,無戒無不戒,如是涅碦。」

\end{document} `

this is the test code.

abenori commented 3 years ago

I commented out \setmainjfont { KozMinPr6N-Medium } because I do not have the font. It again seems fine.

jlreq
asnahu commented 3 years ago

I commented out \setmainjfont { KozMinPr6N-Medium } because I do not have the font. It again seems fine.

jlreq

I removed \setmainjfont from code, still got the problem.

lualatex version in my computer is: This is LuaTeX, Version 1.10.0 (TeX Live 2019).

abenori commented 3 years ago

Mine is This is LuaHBTeX, Version 1.12.0 (TeX Live 2020/W32TeX)

I'm doubting that it depends on the viewer. Can you check this with Acrobat Reader?

asnahu commented 3 years ago

Found the core of the problem now. It comes from pdf viewer. thanks!