<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 18, 2019 at 11:17 PM Ulrike Fischer <<a href="mailto:luatex@nililand.de">luatex@nililand.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am Tue, 18 Jun 2019 22:45:18 +0200 schrieb luigi scarso:<br>
<br>
>> Is there some documentation available how to access harfbuzz from Lua<br>
>> (jit) / FFI?<br>
>><br>
>> Patrick<br>
>><br>
>><br>
> Well, look at<br>
> luatexdir/luaharfbuzz<br>
> I have also used<br>
> <a href="https://github.com/khaledhosny/harf" rel="noreferrer" target="_blank">https://github.com/khaledhosny/harf</a><br>
> to check<br>
> %% test2-latex.tex<br>
> \documentclass{article}<br>
> \usepackage{fontspec}<br>
> \newfontfamily\deva[Script=Devanagari]{NotoSansDevanagari-Regular.ttf}<br>
<br>
After I understood that the format is currently only found if it is<br>
in the current folder I could test it. <br></blockquote><div><br></div><div>sure  </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Like with harftex you have to use harfload and activate the harf<br>
mode to get the right output. <br>
<br></blockquote><div><br></div><div>ok, so you want all ....</div></div><br clear="all"><div>\pdfvariable suppressoptionalinfo \numexpr1+32+64+128+512\relax<br>\pdfvariable compresslevel 0<br>\pdfvariable objcompresslevel 0<br><br>\documentclass{article}<br><br>\usepackage{harfload}<br>\usepackage{setspace}<br>\usepackage{fontspec}<br>\usepackage{graphicx}<br><br>\defaultfontfeatures{RawFeature={mode=harf}}<br><br>\newfontfamily\deva[Script=Devanagari]{NotoSansDevanagari-Regular.ttf}<br>\newfontfamily\beng[Script=Bengali]{NotoSansBengali-Regular.ttf}<br>\newfontfamily\guru[Script=Gurmukhi]{NotoSansGurmukhi-Regular.ttf}<br>\newfontfamily\gujr[Script=Gujarati]{NotoSansGujarati-Regular.ttf}<br>\newfontfamily\orya[Script=Oriya]{NotoSansOriya-Regular.ttf}<br>\newfontfamily\taml[Script=Tamil]{NotoSansTamil-Regular.ttf}<br>\newfontfamily\telu[Script=Telugu]{NotoSansTelugu-Regular.ttf}<br>\newfontfamily\knda[Script=Kannada]{NotoSansKannada-Regular.ttf}<br>\newfontfamily\mlym[Script=Malayalam]{NotoSansMalayalam-Regular.ttf}<br>\newfontfamily\Sinh[Script=Sinhala]{NotoSansSinhala-Regular.ttf}<br><br><br>\begin{document}<br>luatex with Harfbuzz:<br><br>{\deva क्रर्कि} % krarki<br>{\beng ক্রর্কি} % krarki<br>{\guru ਕ੍ਰਰ੍ਕਿ} % krarki<br>{\gujr ક્રર્કિ} % krarki<br>{\orya କ୍ରର୍କି} % krarki<br>{\taml கோ} % ko<br>{\telu క్రర్కి} % krarki <br>{\knda ಕ್ರರ್ಕಿ} % krarki<br>{\mlym ക്രര്കി} % krarki<br>{\Sinh කෙ} % ke<br><br>\vskip 1em <br><br>XeLaTeX:<br><br>\hbox{\hskip5pt\includegraphics[width=8.5cm]{b0miX.png}}<br><br>\end{document}<br></div><div><br></div><div>copy the image from </div><div><a href="https://i.stack.imgur.com/b0miX.png">https://i.stack.imgur.com/b0miX.png</a><br></div><div><br></div><div>(note \Sinh  vs \sinh)</div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">luigi<br></div></div>