summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/euptexdir/tests/eup-ofm.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/euptexdir/tests/eup-ofm.tex')
-rw-r--r--Build/source/texk/web2c/euptexdir/tests/eup-ofm.tex106
1 files changed, 106 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/euptexdir/tests/eup-ofm.tex b/Build/source/texk/web2c/euptexdir/tests/eup-ofm.tex
new file mode 100644
index 00000000000..7a21256b924
--- /dev/null
+++ b/Build/source/texk/web2c/euptexdir/tests/eup-ofm.tex
@@ -0,0 +1,106 @@
+% Copyright 2024 Japanese TeX Development Community <issue@texjp.org>
+% You may freely use, modify and/or distribute this file.
+%
+\ifx\fmtname\undefined
+ \input basic
+ \def\fmtname{basic}
+ \expandafter\dump
+\fi
+%==================
+\begingroup % Just there to minimize tracing output
+ \tracingmacros=2
+ \tracingonline=1
+%----
+\message{cmtt10}
+\font\cmtt=cmtt10
+\cmtt
+\char"21\char"22\char"23\char"24\char"25
+
+\char"30\char"31\char"32\char"33 \char"41\char"42\char"43 \char"64\char"65\char"66
+
+0123 ABC def
+
+
+\message{uctt10x}
+\font\uctt=uctt10x
+\uctt
+\char"21\char"22\char"23\char"24\char"25
+
+\char"30\char"31\char"32\char"33 \char"41\char"42\char"43 \char"64\char"65\char"66
+
+0123 ABC def
+
+
+\kcatcode"C6=14 % latin_ucs: not cjk in ucs code
+\catcode"C6=11 \catcode"D8=11 \catcode"DF=11
+\catcode"E6=11 \catcode"F8=11
+
+\char"C6\Uchar"D8\Ucharcat"DF"B^^e6^^^^00f8
+
+ÆØßæø
+
+\setbox0\hbox{【Æ】}
+\showbox0
+
+\kcatcode"A1=15 % not_cjk: not cjk in legacy encoding
+\kcatcode"C6=15
+\kcatcode"1A1=15
+\kcatcode"2DA=15
+\catcode"2DA=11
+
+\char"C6\Uchar"A1^^c6\Ucharcat"BF"B^^^^02da
+
+ơ% U+01A1 :: UTF-8 0xC6 0xA1
+ƿ% U+01BF :: UTF-8 0xC6 0xBF
+
+\setbox0\hbox{【ơ】}
+\showbox0
+
+\def\AAA{ơ ^^c6^^a1 ^^^^02da}\AAA
+\edef\mAAA{\meaning\AAA}\mAAA
+
+\kcatcode"A1=14
+\kcatcode"C6=14
+\kcatcode"123=14
+\catcode"123=11 \catcode"131=11 \catcode"152=11
+\catcode"153=11
+\kcatcode"2DA=14
+\catcode"2DA=11
+
+\char"123\char"131\Uchar"152^^^^0153^^^^02da
+
+ģıŒœ˚
+
+\def\AAA{Œ ^^^^0152 ^^c6^^a1 ^^^^02da}\AAA
+\edef\mAAA{\meaning\AAA}\mAAA
+
+\kcatcode`Γ=14 % Γ: U+0393
+\catcode"393=11 \catcode"394=11 \catcode"398=11
+\catcode"39B=11 \catcode"39E=11
+
+\char"393\Uchar"394\char`Θ\Ucharcat"39B"B^^^^039e
+
+ΓΔΘΛΞ
+
+\kcatcode"2010=14
+\catcode"2010=11 \catcode"2018=11 \catcode"2019=11
+
+\char"2010\Uchar"2018^^^^2019
+
+‐‘’
+
+\lccode"C6="E6
+\uccode"E6="C6
+\lccode`Œ=`œ
+\uccode`œ=`Œ
+
+\uppercase{[aeoe æœ]}
+\lowercase{[AEOE ƌ]}
+
+\message{We}\iffontchar\font"2010\else\message{do not}\fi\message{have "2010.}
+\message{We}\iffontchar\font"2014\else\message{do not}\fi\message{have "2014.}
+
+%----
+\setbox0=\vbox{} % no dvi output
+\endgroup
+\end