[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Adapt language tag for Armenian (8d577bd)

Marcel Fabian Krüger tex at 2krueger.de
Tue May 3 16:30:46 CEST 2022


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/8d577bd606a812cad4a868dbb1ebdabdb2816928

>---------------------------------------------------------------

commit 8d577bd606a812cad4a868dbb1ebdabdb2816928
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Tue May 3 16:30:12 2022 +0200

    Adapt language tag for Armenian


>---------------------------------------------------------------

8d577bd606a812cad4a868dbb1ebdabdb2816928
 src/luaotfload-unicode.lua | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/luaotfload-unicode.lua b/src/luaotfload-unicode.lua
index d00648a..65f16c8 100644
--- a/src/luaotfload-unicode.lua
+++ b/src/luaotfload-unicode.lua
@@ -278,7 +278,10 @@ uppercase[0x00DF]['de-x-eszett'] = { _ = { 0x1E9E } }
 uppercase[0x00DF]['de-alt'] = uppercase[0x00DF]['de-x-eszett']
 
 -- Special handling for Eastern Armenian based on Unicode document L2/20-143.
-uppercase[0x0587]['hy-x-yiwn'] = { _ = { 0x0535, 0x054E } }
+uppercase[0x0587]['hy'] = { _ = { 0x0535, 0x054E } }
+-- Resore Unicode behavior. This entry is redundant, but we have to be aware of it
+-- if we later start to ignore unknown private use tags
+uppercase[0x0587]['hy-x-yiwn'] = { _ = uppercase[0x0587]._ }
 
 return {
   casefold = casefold,





More information about the latex3-commits mailing list.