-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into build/work000 r72603
- Loading branch information
Showing
108 changed files
with
24,174 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
2024-10-20 TANAKA Takuji <[email protected]> | ||
|
||
* dvipdfmx-lmr{0,1}.test, tests/UPJF-UTF16-{H,V}, | ||
tests/lm.map, tests/psfonts.map, | ||
tests/lmr0.tex, tests/lmr0-{al,up}.dvi, | ||
upjf_{full,omit}.{cnf,vf}, upjf1_{full,omit}.{vf,zvp0}, | ||
upjf2_full.{vf,zvp0}, upjv_{full,omit}.vf, Makefile.am: | ||
Add tests for upTeX and OFM. | ||
https://github.com/texjporg/tex-jp-build/issues/170 | ||
|
||
2024-10-19 TANAKA Takuji <[email protected]> | ||
|
||
* dvipdfmx-upjf{,2,3}.test, tests/upjf.tex, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#! /bin/sh -vx | ||
# $Id$ | ||
# Copyright 2024 Japanese TeX Development Community <[email protected]> | ||
# You may freely use, modify and/or distribute this file. | ||
|
||
KpsDir=${KpsDir:-../kpathsea} | ||
BinDir=${BinDir:-.} | ||
ExeExt=${ExeExt:-} | ||
_kpsewhich=$KpsDir/kpsewhich$ExeExt | ||
_xdvipdfmx=$BinDir/xdvipdfmx$ExeExt | ||
|
||
TEXMFCNF=$srcdir/../kpathsea | ||
TFMFONTS=".;$srcdir/tests;$srcdir/data;$srcdir/../web2c/tests" | ||
T1FONTS="$srcdir/tests;$srcdir/data;$srcdir/../web2c/tests" | ||
TEXFONTMAPS="$srcdir/tests;$srcdir/data" | ||
DVIPDFMXINPUTS="$srcdir/tests;$srcdir/data" | ||
TEXPICTS=$srcdir/tests | ||
TEXFONTS="./tmp100;$srcdir/tests;$srcdir/../web2c/tests" | ||
SOURCE_DATE_EPOCH=1588474800 | ||
export TEXMFCNF TFMFONTS T1FONTS TEXFONTMAPS DVIPDFMXINPUTS TEXPICTS TEXFONTS SOURCE_DATE_EPOCH | ||
|
||
failed= | ||
|
||
test -d tmp100 || mkdir -p tmp100 | ||
|
||
rm -f ./tmp100/eu3-lmr10*.ovf ./tmp100/eu3-lmr10*.ofm | ||
|
||
echo "*** dvipdfmx: test for lmr0-al-8bit.pdf" && echo \ | ||
&& cp $srcdir/../web2c/tests/eu3-lmr10.ovf ./tmp100/eu3-lmr10.ovf \ | ||
&& cp $srcdir/../web2c/tests/eu3-lmr10.ofm ./tmp100/eu3-lmr10.ofm \ | ||
&& $_xdvipdfmx --dvipdfmx -vv -o lmr0-al-8bit.pdf $srcdir/tests/lmr0-al.dvi \ | ||
&& echo && echo "dvipdfmx-lmr0-al-8bit tests OK" && echo \ | ||
|| failed="$failed dvipdfmx-lmr0-al-8bit" | ||
|
||
echo "*** dvipdfmx: test for lmr0-up-8bit.pdf" && echo \ | ||
&& cp $srcdir/tests/upjf_omit.vf ./tmp100/upjf.vf \ | ||
&& $_xdvipdfmx --dvipdfmx -vv -f upjf.map -o lmr0-up-8bit.pdf $srcdir/tests/lmr0-up.dvi \ | ||
&& echo && echo "dvipdfmx-lmr0-up-8bit tests OK" && echo \ | ||
|| failed="$failed dvipdfmx-lmr0-up-8bit" | ||
|
||
|
||
test -z "$failed" && exit 0 | ||
echo | ||
echo "failed tests:$failed" | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
#! /bin/sh -vx | ||
# $Id$ | ||
# Copyright 2024 Japanese TeX Development Community <[email protected]> | ||
# You may freely use, modify and/or distribute this file. | ||
|
||
KpsDir=${KpsDir:-../kpathsea} | ||
BinDir=${BinDir:-.} | ||
ExeExt=${ExeExt:-} | ||
_kpsewhich=$KpsDir/kpsewhich$ExeExt | ||
_xdvipdfmx=$BinDir/xdvipdfmx$ExeExt | ||
|
||
if type kpsewhich > /dev/null 2>&1; then | ||
otfpath=".//;"`kpsewhich -show-path='opentype fonts'` | ||
otfpath=`echo $otfpath | sed -e 's,!!,,g'` | ||
fi | ||
|
||
TEXMFCNF=$srcdir/../kpathsea | ||
TFMFONTS=".;$srcdir/tests;$srcdir/data;$srcdir/../web2c/tests" | ||
T1FONTS="$srcdir/tests;$srcdir/data;$srcdir/../web2c/tests" | ||
TEXFONTMAPS="$srcdir/tests;$srcdir/data" | ||
DVIPDFMXINPUTS="$srcdir/tests;$srcdir/data" | ||
TEXPICTS=$srcdir/tests | ||
TEXFONTS="./tmp101;$srcdir/tests;$srcdir/../web2c/tests" | ||
SOURCE_DATE_EPOCH=1588474800 | ||
export TEXMFCNF TFMFONTS T1FONTS TEXFONTMAPS DVIPDFMXINPUTS TEXPICTS TEXFONTS SOURCE_DATE_EPOCH | ||
|
||
if type kpsewhich > /dev/null 2>&1; then | ||
echo $otfpath | ||
else | ||
otfpath=".//;"`$_kpsewhich -show-path='opentype fonts'` | ||
echo $otfpath | ||
fi | ||
OPENTYPEFONTS=`$_kpsewhich "--cnf-line=OPENTYPEFONTS=$otfpath" -show-path='opentype fonts'` | ||
export OPENTYPEFONTS | ||
echo "OPENTYPEFONTS::" $OPENTYPEFONTS | ||
|
||
failed= | ||
|
||
test -d tmp101 || mkdir -p tmp101 | ||
|
||
rm -f ./tmp101/eu3-lmr10*.ovf ./tmp101/eu3-lmr10*.ofm | ||
|
||
##### following tests require Latin Modern OpenType fonts ##### | ||
|
||
$_kpsewhich lmroman10-regular.otf || exit 77 | ||
|
||
echo "*** dvipdfmx: test for lmr0-al-ucs.pdf" && echo \ | ||
&& cp $srcdir/../web2c/tests/eu3-lmr10.ovf ./tmp101/eu3-lmr10.ovf \ | ||
&& cp $srcdir/../web2c/tests/eu3-lmr10.ofm ./tmp101/eu3-lmr10.ofm \ | ||
&& cp $srcdir/tests/upjf_omit.vf ./tmp101/upjf.vf \ | ||
&& $_xdvipdfmx --dvipdfmx -vv -f lm.map -o lmr0-al-ucs.pdf $srcdir/tests/lmr0-al.dvi \ | ||
&& echo && echo "dvipdfmx-lmr0-al-ucs tests OK" && echo \ | ||
|| failed="$failed dvipdfmx-lmr0-al-ucs" | ||
|
||
##### following tests require HaranoAji fonts ##### | ||
|
||
$_kpsewhich HaranoAjiMincho-Regular.otf || exit 77 | ||
$_kpsewhich HaranoAjiGothic-Normal.otf || exit 77 | ||
|
||
echo "*** dvipdfmx: test for lmr0-up-ucs.pdf" && echo \ | ||
&& $_xdvipdfmx --dvipdfmx -vv -f lm.map -f upjf-hara.map -o lmr0-up-ucs.pdf $srcdir/tests/lmr0-up.dvi \ | ||
&& echo && echo "dvipdfmx-lmr0-up-ucs tests OK" && echo \ | ||
|| failed="$failed dvipdfmx-lmr0-up-ucs" | ||
|
||
|
||
test -z "$failed" && exit 0 | ||
echo | ||
echo "failed tests:$failed" | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
eu3-lmr10_ucs unicode lmroman10-regular.otf |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
%% plain Aleph or plain upTeX | ||
% You may freely use, modify and/or distribute this file. | ||
% | ||
\parindent=0pt | ||
|
||
\font\eulmr=eu3-lmr10 | ||
\font\eclmr=ec-lmr10 | ||
\font\lylmr=texnansi-lmr10 | ||
|
||
% for aleph | ||
\ifx\ocp\undefined\else | ||
\ocp\ORGin=inutf8 | ||
\InputTranslation currentfile \ORGin | ||
\fi | ||
|
||
% for {,e}uptex | ||
\ifx\kcatcode\undefined\else | ||
\kcatcode"C6=14 | ||
\kcatcode"110=14 | ||
\kcatcode"152=14 | ||
\kcatcode"237=14 | ||
\kcatcode"2039=14 | ||
\kcatcode"2423=14 | ||
\kcatcode"AB=14 | ||
\fi | ||
|
||
\catcode"C6=11 % Æ | ||
\catcode"E6=11 % æ | ||
\catcode"152=11 % Œ | ||
\catcode"153=11 % œ | ||
\catcode"131=11 % ı | ||
\catcode"132=11 % IJ | ||
\catcode"133=11 % ij | ||
\catcode"237=11 % ȷ | ||
\catcode"D0=11 % Ð | ||
\catcode"F0=11 % ð | ||
\catcode"110=11 % Đ | ||
\catcode"111=11 % đ | ||
\catcode"2018=12 % ‘ | ||
\catcode"2019=12 % ’ | ||
\catcode"201C=12 % “ | ||
\catcode"201D=12 % ” | ||
\catcode"2039=12 % ‹ | ||
\catcode"203A=12 % › | ||
\catcode"AB=12 % « | ||
\catcode"BB=12 % » | ||
\catcode"2423=12 % ␣ | ||
|
||
\eulmr | ||
|
||
Ææ Œœ IJij ıȷ | ||
|
||
dh:Ðð dj:Đđ | ||
|
||
ff fi fl ffi ffl ``'' `' !`! ?`? | ||
|
||
‹› «» ␣ | ||
|
||
{ | ||
\eclmr | ||
|
||
^^c6^^e6 ^^d7^^f7 ^^9c^^bc ^^19^^1a | ||
|
||
dh:^^d0^^f0 dj:^^d0^^9e | ||
|
||
ff fi fl ffi ffl ``'' `' !`! ?`? | ||
|
||
^^0e^^0f ^^13^^14 % | ||
\catcode"20=12 ^^20 | ||
} | ||
|
||
% for {,e}uptex | ||
\ifx\kcatcode\undefined\else | ||
\kcatcode"86=14 | ||
\kcatcode"A5=14 | ||
\kcatcode"192=14 | ||
\fi | ||
|
||
\catcode"A2=12 % ¢ | ||
\catcode"A5=12 % ¥ | ||
\catcode"A7=12 % § | ||
\catcode"D7=12 % × | ||
\catcode"F7=12 % ÷ | ||
\catcode"192=12 % ƒ | ||
\catcode"2020=12 % † | ||
\catcode"2021=12 % ‡ | ||
|
||
×÷§ ¢¥ƒ †‡ | ||
|
||
{ | ||
\lylmr | ||
|
||
^^d7^^f7^^a7 ^^a2^^a5^^83 ^^86^^87 | ||
} | ||
|
||
\ifx\kcatcode\undefined\else | ||
\font\upjf=upjf at 10pt | ||
\upjf | ||
|
||
\kcatcode"86=18 | ||
\kcatcode"A5=18 | ||
\kcatcode"2018=18 | ||
|
||
×÷§ “” ‘’ | ||
\fi | ||
|
||
\bye |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
cmr10 CMR10 <cmr10.pfb | ||
|
||
ec-lmr10 LMRoman10-Regular "enclmec ReEncodeFont" <lm-ec.enc <lmr10.pfb | ||
texnansi-lmr10 LMRoman10-Regular "enclmtexnansi ReEncodeFont" <lm-texnansi.enc <lmr10.pfb | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.