[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Adapt name for Armenian tailoring to be consistent with l3text (f206156)

Marcel Fabian Krüger tex at 2krueger.de
Sun May 1 22:29:06 CEST 2022


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

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

commit f206156f213dbbb798653ed11f443a116d1cefb1
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sun May 1 22:29:06 2022 +0200

    Adapt name for Armenian tailoring to be consistent with l3text


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

f206156f213dbbb798653ed11f443a116d1cefb1
 doc/luaotfload-main.tex    | 22 +++++++++++-----------
 src/luaotfload-case.lua    |  2 +-
 src/luaotfload-unicode.lua |  3 +--
 3 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/doc/luaotfload-main.tex b/doc/luaotfload-main.tex
index b56bd54..48b300e 100644
--- a/doc/luaotfload-main.tex
+++ b/doc/luaotfload-main.tex
@@ -1362,24 +1362,24 @@ obviously, \inlinecode{random}.
    By default the casemapping is automatically tailored based on the active
    \texttt{language} font feature. This automatic tailoring can be overwritten
    by passing a two letter language tag to the \texttt{upper} or \texttt{lower}
-   feature. In addition to ordinary language tags, the tags \texttt{el-xiota}
-   and \texttt{de-xeszett} can be used. \texttt{el-xiota} adapts the greek
-   rules for uppercasing to keep iota subscripts as combining characters which
-   sufficiently well behaving fonts can render in appropriate ways while the
-   default for greek is to convert these into capital iotas. \texttt{de-xeszett}
-   adapts uppercasing for german to use the capital eszett instead of
-   uppercasing the eszett to double capital s.
+   feature. In addition to ordinary language tags, the tags \texttt{el-x-iota},
+   \texttt{hy-x-yiwn} and \texttt{de-x-eszett} can be used. \texttt{el-x-iota}
+   adapts the greek rules for uppercasing to keep iota subscripts as combining
+   characters which sufficiently well behaving fonts can render in appropriate
+   ways while the default for greek is to convert these into capital iotas.
+   \texttt{de-x-eszett} adapts uppercasing for german to use the capital eszett
+   instead of uppercasing the eszett to double capital s.
 
    \beginlisting
    \font\test={kpse:LinLibertine_R.otf:mode=node;+upper;}
    \test Grüße
-   \font\test={kpse:LinLibertine_R.otf:mode=node;upper=de-xeszett;}
+   \font\test={kpse:LinLibertine_R.otf:mode=node;upper=de-x-eszett;}
    \test Grüße
    \endlisting
 
    {\Large
      \font\test={kpse:LinLibertine\string_R.otf:mode=node;+upper;}\test Grüße
-     \font\test={kpse:LinLibertine\string_R.otf:mode=node;upper=de-xeszett;}\test Grüße
+     \font\test={kpse:LinLibertine\string_R.otf:mode=node;upper=de-x-eszett;}\test Grüße
    }
 
    \beginlisting
@@ -1387,7 +1387,7 @@ obviously, \inlinecode{random}.
    No specified language: {\test εἰσενέγκῄς ἡμᾶς}\par
    \font\test={kpse:LinLibertine_R.otf:mode=node;script=grek;language=ell;+upper;}
    Greek uppercasing: {\test εἰσενέγκῄς ἡμᾶς}\par
-   \font\test={kpse:LinLibertine_R.otf:mode=node;script=grek;language=ell;+upper=el-xiota;}
+   \font\test={kpse:LinLibertine_R.otf:mode=node;script=grek;language=ell;+upper=el-x-iota;}
    Greek variant: {\test εἰσενέγκῄς ἡμᾶς}\par
    \endlisting
 
@@ -1396,7 +1396,7 @@ obviously, \inlinecode{random}.
      No specified language: {\test εἰσενέγκῄς ἡμᾶς}\par
      \font\test={kpse:LinLibertine\string_R.otf:mode=node;script=grek;language=ell;+upper;}
      Greek uppercasing: {\test εἰσενέγκῄς ἡμᾶς}\par
-     \font\test={kpse:LinLibertine\string_R.otf:mode=node;script=grek;language=ell;+upper=el-xiota;}
+     \font\test={kpse:LinLibertine\string_R.otf:mode=node;script=grek;language=ell;+upper=el-x-iota;}
      Greek variant: {\test εἰσενέγκῄς ἡμᾶς}\par
    }
 
diff --git a/src/luaotfload-case.lua b/src/luaotfload-case.lua
index 828f8d4..578e6be 100644
--- a/src/luaotfload-case.lua
+++ b/src/luaotfload-case.lua
@@ -35,7 +35,7 @@ local disc = node.id'disc'
 -- * Final_Sigma is never language dependent
 -- * Other contexts are always language dependent
 -- * The only languages with special mappings are Lithuanian (lt/"LTH "/lit), Turkish (tr/"TRK "/tur), and Azeri/Azerbaijani (az/"AZE "/aze)
---   (Additionally we add special mappings for de-x-eszett, el, el-x-iota, hy which are not present in SpecialCasing.txt)
+--   (Additionally we add special mappings for de-x-eszett, el, el-x-iota, hy-x-yiwn which are not present in SpecialCasing.txt)
 ]]
 
 local UPPER_MASK = 0x3FF
diff --git a/src/luaotfload-unicode.lua b/src/luaotfload-unicode.lua
index ae239a3..d00648a 100644
--- a/src/luaotfload-unicode.lua
+++ b/src/luaotfload-unicode.lua
@@ -278,8 +278,7 @@ 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.
--- TODO: Coordinate variant name with l3text
-uppercase[0x0587]['hy'] = { _ = { 0x0535, 0x054E } }
+uppercase[0x0587]['hy-x-yiwn'] = { _ = { 0x0535, 0x054E } }
 
 return {
   casefold = casefold,





More information about the latex3-commits mailing list.