[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix typo (438ad13)
Marcel Fabian Krüger
tex at 2krueger.de
Sun Nov 10 00:10:49 CET 2019
Repository : https://github.com/latex3/luaotfload
On branch : dev
Link : https://github.com/latex3/luaotfload/commit/438ad1395192a6af0b1fe9c1648fdbeb56324d5c
>---------------------------------------------------------------
commit 438ad1395192a6af0b1fe9c1648fdbeb56324d5c
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Nov 10 00:00:52 2019 +0100
Fix typo
>---------------------------------------------------------------
438ad1395192a6af0b1fe9c1648fdbeb56324d5c
doc/scripts-demo.tex | 6 +++---
src/luaotfload-scripts.lua | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/scripts-demo.tex b/doc/scripts-demo.tex
index 4bbe060..63a60e5 100644
--- a/doc/scripts-demo.tex
+++ b/doc/scripts-demo.tex
@@ -1,8 +1,8 @@
\documentclass{standalone}
-\font\burmesefont={file:NotoSerifMyanmar-Regular.ttf:mode=harf;script=mymr;}
-\font\devafont={file:NotoSansDevanagari-Regular.ttf:mode=harf;script=deva;}
-\font\banglafont={file:NotoSansBengali-Regular.ttf:mode=harf;script=beng;}
+\font\burmesefont={file:NotoSerifMyanmar-Regular.ttf:mode=harf;script=mym2;}
+\font\devafont={file:NotoSansDevanagari-Regular.ttf:mode=harf;script=dev2;}
+\font\banglafont={file:NotoSansBengali-Regular.ttf:mode=harf;script=bng2;}
\font\tibetanfont={file:NotoSerifTibetan-Regular.ttf:mode=harf;script=tibt;}
\standaloneenv{tabular}
\begin{document}
diff --git a/src/luaotfload-scripts.lua b/src/luaotfload-scripts.lua
index 16e5df0..2cb2e0b 100644
--- a/src/luaotfload-scripts.lua
+++ b/src/luaotfload-scripts.lua
@@ -79,7 +79,7 @@ local function to_harfbuzz(script, language)
if script_to_ot(otscript) == script then
return otscript, language
end
- return otscript, "x-hbot" .. script .. "-hbsc" .. language
+ return otscript, "x-hbot" .. language .. "-hbsc" .. script
end
return {
More information about the latex3-commits
mailing list