summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/addliga
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-04-30 22:36:21 +0000
committerKarl Berry <karl@freefriends.org>2019-04-30 22:36:21 +0000
commitf6aba0a218c3b19afb4ff78799e8f0760e584397 (patch)
tree6baf0f609ff08a97fed80d0d4db9e527dc165d8c /Master/texmf-dist/tex/lualatex/addliga
parentabc8b781b896d259cce575495eb06d7a561ad720 (diff)
addliga (30apr19)
git-svn-id: svn://tug.org/texlive/trunk@50912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/addliga')
-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