summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex')
-rw-r--r--Master/texmf-dist/tex/lualatex/addliga/addliga.sty22
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lualatex/addliga/addliga.sty b/Master/texmf-dist/tex/lualatex/addliga/addliga.sty
new file mode 100644
index 00000000000..e9a3d0892db
--- /dev/null
+++ b/Master/texmf-dist/tex/lualatex/addliga/addliga.sty
@@ -0,0 +1,22 @@
+% !TEX TS-program = lualatex
+% addliga.sty
+% Version 1.0
+% Adds ligatures to TrueType fonts in LuaLaTeX
+% Written 2019 by Daniel Benjamin Miller <dbmiller@dbmiller.org>
+% Contributed to the Public Domain
+% No Rights Reserved
+\ProvidesPackage{addliga}[2019/04/30 addliga 1.0]
+\directlua{
+ fonts.handlers.otf.addfeature{
+ name = "liga",
+ type = "ligature",
+ data = {
+ ['ff']={"f","f"},
+ ['fi']={"f","i"},
+ ['ffi']={"f","f","i"},
+ ['fl']={"f","l"},
+ ['ffl']={"f","f","l"},
+ },
+ }
+}
+\endinput \ No newline at end of file