[luatex] luatex and harfbuzz 2.5.1

Ulrike Fischer luatex at nililand.de
Tue Jun 18 23:16:37 CEST 2019


Am Tue, 18 Jun 2019 22:45:18 +0200 schrieb luigi scarso:

>> Is there some documentation available how to access harfbuzz from Lua
>> (jit) / FFI?
>>
>> Patrick
>>
>>
> Well, look at
> luatexdir/luaharfbuzz
> I have also used
> https://github.com/khaledhosny/harf
> to check
> %% test2-latex.tex
> \documentclass{article}
> \usepackage{fontspec}
> \newfontfamily\deva[Script=Devanagari]{NotoSansDevanagari-Regular.ttf}

After I understood that the format is currently only found if it is
in the current folder I could test it. 

Like with harftex you have to use harfload and activate the harf
mode to get the right output. 

So something like this:

\documentclass{article}
\usepackage{harfload}
\usepackage{fontspec}

\newfontfamily\deva[Script=Devanagari,RawFeature={mode=harf}]{NotoSansDevanagari-Regular.ttf}



-- 
Ulrike Fischer 
https://www.troubleshooting-tex.de/



More information about the luatex mailing list