1

I tried to write Arabic in plain Luatex but all letters in isolted mode

\input luaotfload.sty
\font\amiri={file:amiri-regular.ttf:mode=harf;script=arabic} at 12pt
\pagedir TRT \bodydir TRT \textdir TRT \pardir TRT
\amiri
 بسم الله الرحمن الرحيم

\bye
2
  • 1
    You need luahbtex for mode =harf. Did you use it? Oct 7, 2021 at 5:57
  • @UlrikeFischer no I thinked there is no differ between luatex ver 1.14 and luahbtex. but as you told I was wrong. After compiling with lauhbtex it is OK.
    – hubaishan
    Oct 7, 2021 at 6:07

1 Answer 1

2

For mode=harf (Harfbuzz) you need as engine luahbtex. So your log should start like this:

This is LuaHBTeX, Version 1.13.2 (TeX Live 2021/W32TeX) ...

In texlive you get it with calling luahbtex

Then your example will give this:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .