[latex3-commits] [latex2e-public] r1362 - TU composites for i and j fontspec issue 256

noreply at latex-project.org noreply at latex-project.org
Wed Jan 25 10:28:15 CET 2017


Author: carlisle
Date: 2017-01-25 10:28:14 +0100 (Wed, 25 Jan 2017)
New Revision: 1362

Added:
   trunk/base/testfiles-TU/tu-ijcomposites01.luatex.tlg
   trunk/base/testfiles-TU/tu-ijcomposites01.lvt
   trunk/base/testfiles-TU/tu-ijcomposites01.xetex.tlg
Modified:
   trunk/base/changes.txt
   trunk/base/ltoutenc.dtx
Log:
TU composites for i and j fontspec issue 256

Modified: trunk/base/changes.txt
===================================================================
--- trunk/base/changes.txt	2017-01-25 07:09:26 UTC (rev 1361)
+++ trunk/base/changes.txt	2017-01-25 09:28:14 UTC (rev 1362)
@@ -9,6 +9,11 @@
 #########################
 
 
+2017-01-25  David Carlisle  <latex-bugs at latex-project.org>
+
+	* ltoutenc.dtx: add composites for i and j duplicating those for
+	\i and \j
+
 2017-01-24  David Carlisle  <latex-bugs at latex-project.org>
 
 	* ltoutenc.dtx: the TeX ligature syntax for xetex and luatex was

Modified: trunk/base/ltoutenc.dtx
===================================================================
--- trunk/base/ltoutenc.dtx	2017-01-25 07:09:26 UTC (rev 1361)
+++ trunk/base/ltoutenc.dtx	2017-01-25 09:28:14 UTC (rev 1362)
@@ -2643,6 +2643,7 @@
 % \changes{v2.0b}{2017/01/23}{Added TU specific commands in ASCII range pr/4500}
 % \changes{v2.0c}{2017/01/24}{TeX ligature syntax for xetex and luatex reversed}
 % \changes{v2.0c}{2017/01/24}{Make \cs{textasteriskcentered} U+2217 not U+204E}
+% \changes{v2.0c}{2017/01/24}{Declare TU composites for i and j}
 %
 % The TU encoding was originally introduced in the contributed
 % package \texttt{fontspec} as a Unicode encoding for XeTeX and
@@ -2928,9 +2929,13 @@
 \DeclareTextComposite{\^}             \UnicodeEncodingName{e}{"00EA}
 \DeclareTextComposite{\"}             \UnicodeEncodingName{e}{"00EB}
 \DeclareTextComposite{\`}             \UnicodeEncodingName\i {"00EC}
+\DeclareTextComposite{\`}             \UnicodeEncodingName{i}{"00EC}
 \DeclareTextComposite{\'}             \UnicodeEncodingName\i {"00ED}
+\DeclareTextComposite{\'}             \UnicodeEncodingName{i}{"00ED}
 \DeclareTextComposite{\^}             \UnicodeEncodingName\i {"00EE}
+\DeclareTextComposite{\^}             \UnicodeEncodingName{i}{"00EE}
 \DeclareTextComposite{\"}             \UnicodeEncodingName\i {"00EF}
+\DeclareTextComposite{\"}             \UnicodeEncodingName{i}{"00EF}
 \DeclareTextComposite{\~}             \UnicodeEncodingName{n}{"00F1}
 \DeclareTextComposite{\`}             \UnicodeEncodingName{o}{"00F2}
 \DeclareTextComposite{\'}             \UnicodeEncodingName{o}{"00F3}
@@ -2981,15 +2986,20 @@
 \DeclareTextComposite{\^}             \UnicodeEncodingName{h}{"0125}
 \DeclareTextComposite{\~}             \UnicodeEncodingName{I}{"0128}
 \DeclareTextComposite{\~}             \UnicodeEncodingName\i {"0129}
+\DeclareTextComposite{\~}             \UnicodeEncodingName{i}{"0129}
 \DeclareTextComposite{\=}             \UnicodeEncodingName{I}{"012A}
 \DeclareTextComposite{\=}             \UnicodeEncodingName\i {"012B}
+\DeclareTextComposite{\=}             \UnicodeEncodingName{i}{"012B}
 \DeclareTextComposite{\u}             \UnicodeEncodingName{I}{"012C}
 \DeclareTextComposite{\u}             \UnicodeEncodingName\i {"012D}
+\DeclareTextComposite{\u}             \UnicodeEncodingName{i}{"012D}
 \DeclareTextComposite{\k}             \UnicodeEncodingName{I}{"012E}
 \DeclareTextComposite{\k}             \UnicodeEncodingName\i {"012F}
+\DeclareTextComposite{\k}             \UnicodeEncodingName{i}{"012F}
 \DeclareTextComposite{\.}             \UnicodeEncodingName{I}{"0130}
 \DeclareTextComposite{\^}             \UnicodeEncodingName{J}{"0134}
 \DeclareTextComposite{\^}             \UnicodeEncodingName\j {"0135}
+\DeclareTextComposite{\^}             \UnicodeEncodingName{j}{"0135}
 \DeclareTextComposite{\c}             \UnicodeEncodingName{K}{"0136}
 \DeclareTextComposite{\c}             \UnicodeEncodingName{k}{"0137}
 \DeclareTextComposite{\'}             \UnicodeEncodingName{L}{"0139}
@@ -3055,6 +3065,7 @@
 \DeclareTextComposite{\v}             \UnicodeEncodingName{a}{"01CE}
 \DeclareTextComposite{\v}             \UnicodeEncodingName{I}{"01CF}
 \DeclareTextComposite{\v}             \UnicodeEncodingName\i {"01D0}
+\DeclareTextComposite{\v}             \UnicodeEncodingName{i}{"01D0}
 \DeclareTextComposite{\v}             \UnicodeEncodingName{O}{"01D1}
 \DeclareTextComposite{\v}             \UnicodeEncodingName{o}{"01D2}
 \DeclareTextComposite{\v}             \UnicodeEncodingName{U}{"01D3}
@@ -3068,6 +3079,7 @@
 \DeclareTextComposite{\k}             \UnicodeEncodingName{O}{"01EA}
 \DeclareTextComposite{\k}             \UnicodeEncodingName{o}{"01EB}
 \DeclareTextComposite{\v}             \UnicodeEncodingName\j {"01F0}
+\DeclareTextComposite{\v}             \UnicodeEncodingName{j}{"01F0}
 \DeclareTextComposite{\'}             \UnicodeEncodingName{G}{"01F4}
 \DeclareTextComposite{\'}             \UnicodeEncodingName{g}{"01F5}
 \DeclareTextComposite{\textcommabelow}\UnicodeEncodingName{S}{"0218}

Added: trunk/base/testfiles-TU/tu-ijcomposites01.luatex.tlg
===================================================================
--- trunk/base/testfiles-TU/tu-ijcomposites01.luatex.tlg	                        (rev 0)
+++ trunk/base/testfiles-TU/tu-ijcomposites01.luatex.tlg	2017-01-25 09:28:14 UTC (rev 1362)
@@ -0,0 +1,26 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+> \box0=
+\hbox(6.98+2.11)x22.79999, direction TLT
+.\TU/lmr/m/n/10 ^^ef
+.\TU/lmr/m/n/10 ^^ee
+.\TU/lmr/m/n/10 ^^ed
+.\TU/lmr/m/n/10 ^^ec
+.\TU/lmr/m/n/10 ĩ
+.\TU/lmr/m/n/10 į
+.\TU/lmr/m/n/10 ĵ
+.\TU/lmr/m/n/10 ǰ
+! OK.
+l. ...\showbox0
+> \box2=
+\hbox(6.98+2.11)x22.79999, direction TLT
+.\TU/lmr/m/n/10 ^^ef
+.\TU/lmr/m/n/10 ^^ee
+.\TU/lmr/m/n/10 ^^ed
+.\TU/lmr/m/n/10 ^^ec
+.\TU/lmr/m/n/10 ĩ
+.\TU/lmr/m/n/10 į
+.\TU/lmr/m/n/10 ĵ
+.\TU/lmr/m/n/10 ǰ
+! OK.
+l. ...\showbox2

Added: trunk/base/testfiles-TU/tu-ijcomposites01.lvt
===================================================================
--- trunk/base/testfiles-TU/tu-ijcomposites01.lvt	                        (rev 0)
+++ trunk/base/testfiles-TU/tu-ijcomposites01.lvt	2017-01-25 09:28:14 UTC (rev 1362)
@@ -0,0 +1,22 @@
+\documentclass{article}
+\input{test2e}
+
+% composites declared with i not just \i (fontspec issue #256)
+\begin{document}
+
+\expandafter\show\the\font
+
+% these should be in the current font
+\setbox0=\hbox{%
+\"i\^i\'i\`i\~i\k i\^j\v j%
+}
+\setbox2=\hbox{%
+\"\i\^\i\'\i\`\i\~\i\k\i\^\j\v\j%
+}
+
+\START
+
+\showbox0
+\showbox2
+
+\END
\ No newline at end of file

Added: trunk/base/testfiles-TU/tu-ijcomposites01.xetex.tlg
===================================================================
--- trunk/base/testfiles-TU/tu-ijcomposites01.xetex.tlg	                        (rev 0)
+++ trunk/base/testfiles-TU/tu-ijcomposites01.xetex.tlg	2017-01-25 09:28:14 UTC (rev 1362)
@@ -0,0 +1,12 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+> \box0=
+\hbox(6.98+2.10999)x22.8
+.\TU/lmr/m/n/10 ^^ef^^ee^^ed^^ecĩįĵǰ
+! OK.
+l. ...\showbox0
+> \box2=
+\hbox(6.98+2.10999)x22.8
+.\TU/lmr/m/n/10 ^^ef^^ee^^ed^^ecĩįĵǰ
+! OK.
+l. ...\showbox2



More information about the latex3-commits mailing list