From c576300c15a26509a2018e5af14365e13b795b5b Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Sat, 9 Aug 2014 01:32:45 +0000 Subject: japanese-otf-uptex 0.16 git-svn-id: svn://tug.org/texlive/trunk@34881 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/fonts/japanese-otf-uptex/00otf-uptex.txt | 45 ++++++- .../doc/fonts/japanese-otf-uptex/COPYRIGHT | 2 +- .../texmf-dist/doc/fonts/japanese-otf-uptex/README | 7 +- .../fonts/japanese-otf-uptex/test/uplatex/Makefile | 23 +++- .../test/uplatex/upkanatest1.tex | 145 +++++++++++++++++++++ .../test/uplatex/upkanatest2.tex | 75 +++++++++++ 6 files changed, 290 insertions(+), 7 deletions(-) create mode 100644 Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/upkanatest1.tex create mode 100644 Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/upkanatest2.tex (limited to 'Master/texmf-dist/doc/fonts') diff --git a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/00otf-uptex.txt b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/00otf-uptex.txt index 2f63da171b5..216d6a801fc 100644 --- a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/00otf-uptex.txt +++ b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/00otf-uptex.txt @@ -1,5 +1,5 @@ [ Title ] -otfbeta-uptex (japanese-otf-uptex) Ver.0.13 2013/11/23 +otfbeta-uptex (japanese-otf-uptex) Ver.0.16 2014/07/26 [ Abstract ] @@ -14,6 +14,7 @@ It requires upTeX-0.20 or later. umakeotf : script to make vf, tfm umakeotf_brsg : script to make vf, tfm for burasage option umakeotf_jis04 : script to make vf, tfm for jis2004 option +umakeotf_prop : script to make vf, tfm for proportional kana umkjvf : mkjvf with unicode support basepl/ubase-h.pl : unicode version of base-h.pl @@ -29,6 +30,9 @@ script/sp_list_j.txt : a list of characters on supplementary planes in UniJIS-UT script/sp_list_c.txt : a list of characters on supplementary planes in UniCNS-UTF32. script/sp_list_t.txt : a list of characters on supplementary planes in UniGB-UTF32. script/sp_list_k.txt : a list of characters on supplementary planes in UniKS-UTF32. +script/CheckDVICode.pm : perl module checking category of characters. +script/umkpkana.pl : perl script making pl, ovp for proportional kana +script/umkvpkana.pl : perl script making pl, ovp for proportional kana sty/otf.sty : basic style file sty/mlutf.sty : style file for multi option @@ -43,7 +47,6 @@ COPYRIGHT : copyright notice of this package. [ Status ] Beta version. -Proportional kana is not supported yet. [ About jis2004 option ] @@ -64,6 +67,15 @@ you can get same result by mapping conventional fonts to Adobe standard CMap "UniJIS2004-UTF16-{H,V}". +[ About proportional kana ] +otfbeta-uptex (japanese-otf-uptex) Ver.0.14 or later supports +proportional kana at deluxe option and \propshape with limitation: +* The following Kana letters are not proportional: + 〃〆ヿゟゔゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿヷヸヹヺ (in UTF-8) +* Halfwidth katakana letters are not supported: + アイウエオカキクケコ ... (in UTF-8) + + [ History ] 2007.12.09 Ver0.00 Initial version. @@ -228,4 +240,33 @@ to Adobe standard CMap "UniJIS2004-UTF16-{H,V}". Revise. test/uplatex/otfscale.tex, test/uplatex/Makefile:: Add new test. +2014.03.22 Ver0.14 + umkjvf, sty/otf.sty, sty/mlutf.sty, otfbeta_uptex-0.14.patch :: + Increment version number. + script/umk{,v}pkana.pl :: + Add proportional kana support. + umakeotf_prop :: + Add. The script generates vf and tfm for proportional kana on uplatex. + The vf and tfm consume about 6.4 Mbytes in total. + umkjvf, script/CheckDVICode.pm, script/MakeSPList.pm :: + Move some subroutines in the new module and tune up. + test/uplatex/upkanatest{1,2}.tex, test/uplatex/Makefile :: + Add new tests. + COPYRIGHT :: + Update year. +2014.03.28 Ver0.15 + sty/otf.sty, sty/mlutf.sty :: + Increment version number. + sty/otf.sty :: + Apply again update of otf.sty [2012/04/11 v1.7b5 psitau] in otfbeta (v1.7b5 2012/4/11). + patch/*.patch:: + Revise. +2014.07.26 Ver0.16 + ## Thank Dora TeX san for helpful reports. + sty/otf.sty, sty/mlutf.sty :: + Increment version number. + sty/otf.sty :: + Bug fix for ExtraBold (eb). + patch/*.patch:: + Revise. diff --git a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/COPYRIGHT b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/COPYRIGHT index 91fee2d6f66..8aa789a509c 100644 --- a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/COPYRIGHT +++ b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/COPYRIGHT @@ -1,5 +1,5 @@ Copyright (C) 2003--2010 SAITO Shuzaburo and INOUE Koichi -Copyright (C) 2007--2013 TANAKA Takuji +Copyright (C) 2007--2014 TANAKA Takuji All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/README b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/README index 0a73d782d41..7f64f4a4231 100644 --- a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/README +++ b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/README @@ -3,7 +3,7 @@ README From 00otf-uptex.txt: [ Title ] -otfbeta-uptex (japanese-otf-uptex) Ver.0.13 2013/11/23 +otfbeta-uptex (japanese-otf-uptex) Ver.0.16 2014/07/26 [ Abstract ] @@ -21,11 +21,12 @@ For copyright and licensing, please see COPYRIGHT The original source has been downloaded from http://homepage3.nifty.com/ttk/comp/tex/uptex.html as - http://homepage3.nifty.com/ttk/comp/tex/otfbeta-uptex-0.13.tar.xz + http://homepage3.nifty.com/ttk/comp/tex/otfbeta-uptex-0.16.tar.xz After that the scripts run and the generated tfm and vf files included. The scripts were run with the env variable OVP2OVF=wovp2ovf Norbert Preining -2013-11-23 +TANAKA Takuji +2014-08-08 diff --git a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/Makefile b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/Makefile index ef8933cf9a5..c34e7aa0673 100644 --- a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/Makefile +++ b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/Makefile @@ -6,7 +6,7 @@ DVIPS = dvips DVIPDFMX = dvipdfmx PDVITYPE = pdvitype -all: otf sp art bsrg jis04 scale +all: otf sp art bsrg jis04 scale prop otf: uplatex-otf platex-otf sp: uplatex-sp platex-sp @@ -14,6 +14,7 @@ art: uplatex-article platex-article brsg: uplatex-brsg platex-brsg jis04: uplatex-jis04 platex-jis04 scale: uplatex-scale platex-scale +prop: uplatex-prop platex-prop uplatex-otf: for opt in default deluxe expert bold noreplace; do \ @@ -145,5 +146,25 @@ platex-scale: $(DVIPDFMX) otfscale-$$scl-js-platex.dvi ; \ done +uplatex-prop: + for test in 1 2; do \ + $(UPLATEX) "\def\class{ujarticle}\input" upkanatest$$test.tex ; \ + mv upkanatest$$test.dvi upkanatest$$test-h-uplatex.dvi ; \ + $(DVIPDFMX) upkanatest$$test-h-uplatex.dvi ; \ + $(UPLATEX) "\def\class{utarticle}\input" upkanatest$$test.tex ; \ + mv upkanatest$$test.dvi upkanatest$$test-v-uplatex.dvi ; \ + $(DVIPDFMX) -l upkanatest$$test-v-uplatex.dvi ; \ + done + +platex-prop: + for test in 1 2; do \ + $(PLATEX) "\def\class{jarticle}\input" upkanatest$$test.tex ; \ + mv upkanatest$$test.dvi upkanatest$$test-h-platex.dvi ; \ + $(DVIPDFMX) upkanatest$$test-h-platex.dvi ; \ + $(PLATEX) "\def\class{tarticle}\input" upkanatest$$test.tex ; \ + mv upkanatest$$test.dvi upkanatest$$test-v-platex.dvi ; \ + $(DVIPDFMX) -l upkanatest$$test-v-platex.dvi ; \ + done + clean: rm *.aux *.log *.dvi *.pdf diff --git a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/upkanatest1.tex b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/upkanatest1.tex new file mode 100644 index 00000000000..79ed58fed6f --- /dev/null +++ b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/upkanatest1.tex @@ -0,0 +1,145 @@ +% -*- coding: utf-8 -*- +\newif\ifuptexmode\uptexmodefalse +\ifnum\jis"2121="3000 \uptexmodetrue\fi + +\makeatletter + +\def\@opt@{deluxe} +\ifx\class\@undefined + \ifuptexmode + \def\class{ujarticle} + \else + \def\class{jarticle} + \fi +\fi + +\ifuptexmode + \edef\@opt@{uplatex,\@opt@} +\fi +\documentclass[a4paper,titlepage, draft]{\class} +\usepackage[\@opt@]{otf} + +\makeatother + +\pagestyle{empty} +%\AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}} +\textwidth=115mm +\textheight=210mm +\begin{document} + +クラス:\texttt{\class} + +\vspace{\baselineskip} +\huge +\kanjiskip 0pt plus 1sp minus 1sp +\xkanjiskip 0.25zw plus 1sp minus 1sp +{\propshape +\noindent ヽヾゝゞーぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ + +\bfseries +\noindent ヽヾゝゞーぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ +} + +{\gtfamily\mdseries\propshape +\noindent ヽヾゝゞーぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ + +\bfseries\propshape +\noindent ヽヾゝゞーぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ +} + +{\mgfamily\propshape +\noindent ヽヾゝゞーぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ} + +{\gtfamily\ebseries +\noindent ヽヾゝゞーぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ +} + +\ifuptexmode +以下はProportionalではありません。 + +{\propshape +\noindent 〃〆ヿゟゔゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿヷヸヹヺ +𨳝櫛𥡴𨻶杓巽屠兔冕冤𡨚𤏐爨🄀 +🄐🄑🄒🄓🄔🄕🄖🄗🄘🄙🄚🄛🄜🄝🄞🄟🄠🄡🄢🄣 +🄤🄥🄦🄧🄨🄩🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝 +🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩🄰🄱🄲🄳🄴🄵🄶🄷 +🄸🄹🄺🄻🄼🄽🄾🄿🅀🅁🅂🅃🅄🅅🅆🅇🅈🅉🈂🈷 +🅰🅱🅲🅳🅴🅵🅶🅷🅸🅹🅺🅻🅼🅽🅾🅿🆀🆁🆂🆃 +🆄🆅🆆🆇🆈🆉眞𠤎𦥑𫟘沿芽槪割𦈢𠮷𩵋卿𫞎憲 +𠩤浩𫝆𫝷滋𠮟勺爵周将𠀋城𩙿真𠆢𫝑成𧾷𣳾炭 +𥫗彫潮𡈽冬𤴔姬𫞉諭輸𥙿𦚰𠘨𠂊𠦄卉寃拔𦦙𣏌 +杞𪧦𫞽絣𠔿𦉪𠂰𨦇𨸗𫠚𤋮桒𣲾𠘑嶲你𣘺𣏾𢘉 + +\bfseries +\noindent 〃〆ヿゟゔゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿヷヸヹヺ +𨳝櫛𥡴𨻶杓巽屠兔冕冤𡨚𤏐爨🄀 +🄐🄑🄒🄓🄔🄕🄖🄗🄘🄙🄚🄛🄜🄝🄞🄟🄠🄡🄢🄣 +🄤🄥🄦🄧🄨🄩🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝 +🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩🄰🄱🄲🄳🄴🄵🄶🄷 +🄸🄹🄺🄻🄼🄽🄾🄿🅀🅁🅂🅃🅄🅅🅆🅇🅈🅉🈂🈷 +🅰🅱🅲🅳🅴🅵🅶🅷🅸🅹🅺🅻🅼🅽🅾🅿🆀🆁🆂🆃 +🆄🆅🆆🆇🆈🆉眞𠤎𦥑𫟘沿芽槪割𦈢𠮷𩵋卿𫞎憲 +𠩤浩𫝆𫝷滋𠮟勺爵周将𠀋城𩙿真𠆢𫝑成𧾷𣳾炭 +𥫗彫潮𡈽冬𤴔姬𫞉諭輸𥙿𦚰𠘨𠂊𠦄卉寃拔𦦙𣏌 +杞𪧦𫞽絣𠔿𦉪𠂰𨦇𨸗𫠚𤋮桒𣲾𠘑嶲你𣘺𣏾𢘉 +} + +{\gtfamily\mdseries\propshape +\noindent 〃〆ヿゟゔゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿヷヸヹヺ +𨳝櫛𥡴𨻶杓巽屠兔冕冤𡨚𤏐爨🄀 +🄐🄑🄒🄓🄔🄕🄖🄗🄘🄙🄚🄛🄜🄝🄞🄟🄠🄡🄢🄣 +🄤🄥🄦🄧🄨🄩🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝 +🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩🄰🄱🄲🄳🄴🄵🄶🄷 +🄸🄹🄺🄻🄼🄽🄾🄿🅀🅁🅂🅃🅄🅅🅆🅇🅈🅉🈂🈷 +🅰🅱🅲🅳🅴🅵🅶🅷🅸🅹🅺🅻🅼🅽🅾🅿🆀🆁🆂🆃 +🆄🆅🆆🆇🆈🆉眞𠤎𦥑𫟘沿芽槪割𦈢𠮷𩵋卿𫞎憲 +𠩤浩𫝆𫝷滋𠮟勺爵周将𠀋城𩙿真𠆢𫝑成𧾷𣳾炭 +𥫗彫潮𡈽冬𤴔姬𫞉諭輸𥙿𦚰𠘨𠂊𠦄卉寃拔𦦙𣏌 +杞𪧦𫞽絣𠔿𦉪𠂰𨦇𨸗𫠚𤋮桒𣲾𠘑嶲你𣘺𣏾𢘉 + +\bfseries\propshape +\noindent 〃〆ヿゟゔゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿヷヸヹヺ +𨳝櫛𥡴𨻶杓巽屠兔冕冤𡨚𤏐爨🄀 +🄐🄑🄒🄓🄔🄕🄖🄗🄘🄙🄚🄛🄜🄝🄞🄟🄠🄡🄢🄣 +🄤🄥🄦🄧🄨🄩🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝 +🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩🄰🄱🄲🄳🄴🄵🄶🄷 +🄸🄹🄺🄻🄼🄽🄾🄿🅀🅁🅂🅃🅄🅅🅆🅇🅈🅉🈂🈷 +🅰🅱🅲🅳🅴🅵🅶🅷🅸🅹🅺🅻🅼🅽🅾🅿🆀🆁🆂🆃 +🆄🆅🆆🆇🆈🆉眞𠤎𦥑𫟘沿芽槪割𦈢𠮷𩵋卿𫞎憲 +𠩤浩𫝆𫝷滋𠮟勺爵周将𠀋城𩙿真𠆢𫝑成𧾷𣳾炭 +𥫗彫潮𡈽冬𤴔姬𫞉諭輸𥙿𦚰𠘨𠂊𠦄卉寃拔𦦙𣏌 +杞𪧦𫞽絣𠔿𦉪𠂰𨦇𨸗𫠚𤋮桒𣲾𠘑嶲你𣘺𣏾𢘉 +} + +{\mgfamily\propshape +\noindent 〃〆ヿゟゔゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿヷヸヹヺ +𨳝櫛𥡴𨻶杓巽屠兔冕冤𡨚𤏐爨🄀 +🄐🄑🄒🄓🄔🄕🄖🄗🄘🄙🄚🄛🄜🄝🄞🄟🄠🄡🄢🄣 +🄤🄥🄦🄧🄨🄩🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝 +🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩🄰🄱🄲🄳🄴🄵🄶🄷 +🄸🄹🄺🄻🄼🄽🄾🄿🅀🅁🅂🅃🅄🅅🅆🅇🅈🅉🈂🈷 +🅰🅱🅲🅳🅴🅵🅶🅷🅸🅹🅺🅻🅼🅽🅾🅿🆀🆁🆂🆃 +🆄🆅🆆🆇🆈🆉眞𠤎𦥑𫟘沿芽槪割𦈢𠮷𩵋卿𫞎憲 +𠩤浩𫝆𫝷滋𠮟勺爵周将𠀋城𩙿真𠆢𫝑成𧾷𣳾炭 +𥫗彫潮𡈽冬𤴔姬𫞉諭輸𥙿𦚰𠘨𠂊𠦄卉寃拔𦦙𣏌 +杞𪧦𫞽絣𠔿𦉪𠂰𨦇𨸗𫠚𤋮桒𣲾𠘑嶲你𣘺𣏾𢘉 +} + +{\gtfamily\ebseries +\noindent 〃〆ヿゟゔゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿヷヸヹヺ +𨳝櫛𥡴𨻶杓巽屠兔冕冤𡨚𤏐爨🄀 +🄐🄑🄒🄓🄔🄕🄖🄗🄘🄙🄚🄛🄜🄝🄞🄟🄠🄡🄢🄣 +🄤🄥🄦🄧🄨🄩🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝 +🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩🄰🄱🄲🄳🄴🄵🄶🄷 +🄸🄹🄺🄻🄼🄽🄾🄿🅀🅁🅂🅃🅄🅅🅆🅇🅈🅉🈂🈷 +🅰🅱🅲🅳🅴🅵🅶🅷🅸🅹🅺🅻🅼🅽🅾🅿🆀🆁🆂🆃 +🆄🆅🆆🆇🆈🆉眞𠤎𦥑𫟘沿芽槪割𦈢𠮷𩵋卿𫞎憲 +𠩤浩𫝆𫝷滋𠮟勺爵周将𠀋城𩙿真𠆢𫝑成𧾷𣳾炭 +𥫗彫潮𡈽冬𤴔姬𫞉諭輸𥙿𦚰𠘨𠂊𠦄卉寃拔𦦙𣏌 +杞𪧦𫞽絣𠔿𦉪𠂰𨦇𨸗𫠚𤋮桒𣲾𠘑嶲你𣘺𣏾𢘉 +} +\fi + + +\end{document} + diff --git a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/upkanatest2.tex b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/upkanatest2.tex new file mode 100644 index 00000000000..a0b9bfcb6e8 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/upkanatest2.tex @@ -0,0 +1,75 @@ +% -*- coding: utf-8 -*- +\newif\ifuptexmode\uptexmodefalse +\ifnum\jis"2121="3000 \uptexmodetrue\fi + +\makeatletter + +\def\@opt@{deluxe} +\ifx\class\@undefined + \ifuptexmode + \def\class{ujarticle} + \else + \def\class{jarticle} + \fi +\fi + +\ifuptexmode + \edef\@opt@{uplatex,\@opt@} +\fi +\documentclass[a4paper,draft,twocolumn]{\class} +\usepackage[\@opt@]{otf} + +\makeatother +\pagestyle{empty} +%\AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}} +\parindent=0zw +\textwidth=25zw +\textheight=200mm +\columnsep=1zw +\makeatletter +\long\def\test{ひらかな「ひらかな」ひらかな「ひら」「かな」\par +漢字漢字「漢字漢字」漢字漢字「漢字」「漢字」\par +ひらかな「ひらかな」漢字漢字「漢字」ひらかな\par +次は“引用符”の‘テスト’です,ね.\par +行末の区点は全角ドリに。なります。 +□□□□□□□□□□□□ +□□□□、□□□、□□□。\par +行末の読点は半角ドリに、なります。\par +□□□□□□□□□□□□ +□□□□、□□□、□□□、□□□。□□□。\par +疑問符の後に空白は入るでしょうか?入った!オッケイです.\par +\hbox to 2.5zw{漢:字} +\setbox1=\hbox{あ} +\dimen1=\wd1 \advance\dimen1 by .5zw +\advance\dimen1 by \wd1 +\hbox to \dimen1{あ:あ} +\dimen1=\wd1 \advance\dimen1 by 1.75zw +\hbox to \dimen1{漢:あ} +%\hbox to \dimen1{漢\hfil あ} +\hbox to 7zw{漢字「漢字」漢字} +\setbox1=\hbox{ひら} +\dimen1=\wd1 \multiply\dimen1 by 3 +\advance\dimen1 by 1zw +\hbox to \dimen1{ひら「ひら」ひら} +} +\makeatother +\begin{document} + +クラス:\texttt{\class} + +\vspace{\baselineskip} +%\kanjiskip 0pt plus 1sp minus 1sp +\begingroup +\propshape +{\bfseries プロポーショナル組の例} + +\test +\endgroup +\newpage +\phantom{クラス} + +\vspace{\baselineskip} +{\bfseries べた組みの例} + +\test +\end{document} -- cgit v1.2.3