From 534e976d37d731134462eff9899eeb76379a1967 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Mon, 6 Jun 2016 11:36:19 +0200
Subject: workaround for a bug (#349) in font loader

---
 arabluatex.dtx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'arabluatex.dtx')

diff --git a/arabluatex.dtx b/arabluatex.dtx
index 76ec531..eb4827c 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -130,9 +130,11 @@
 \usepackage[english]{babel}
 \usepackage{dox}
 \doxitem{Option}{option}{options}
-\def\actualchar{ =}
+\def\actualchar{ =} % there's a bug in doxitem; quick fix.
 \usepackage{fontspec,luatextra}
-\defaultfontfeatures{RawFeature={+liga;+onum;+hlig}}
+% 'Script=Default' below: luaoftload has trouble to shift from 'latn'
+% to 'arab'. This is being looked into.
+\defaultfontfeatures{RawFeature={+liga;+onum;+hlig}, Script=Default}
 \setmainfont{Libertinus Serif}
 \setsansfont{Libertinus Sans}
 \setmonofont[Scale=.9]{Libertinus Mono}
-- 
cgit v1.2.3

