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

hubaishan
  • 97
  • 4

1 Answers1

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

Ulrike Fischer
  • 327,261