Debian Codegraph @

texmf-dist/tex/lualatex/addliga/addliga.sty

raw
1 % !TEX TS-program = lualatex
2 % addliga.sty
3 % Version 1.0
4 % Adds ligatures to TrueType fonts in LuaLaTeX
5 % Written 2019 by Daniel Benjamin Miller <[email protected]>
6 % Contributed to the Public Domain
7 % No Rights Reserved
8 \ProvidesPackage{addliga}[2019/04/30 addliga 1.0]
9 \directlua{
10 fonts.handlers.otf.addfeature{
11 name = "liga",
12 type = "ligature",
13 data = {
14 ['ff']={"f","f"},
15 ['fi']={"f","i"},
16 ['ffi']={"f","f","i"},
17 ['fl']={"f","l"},
18 ['ffl']={"f","f","l"},
19 },
20 }
21 }
22 \endinput