Skip to content

Instantly share code, notes, and snippets.

@h-kitagawa
Last active December 15, 2015 11:29
Show Gist options
  • Save h-kitagawa/5252841 to your computer and use it in GitHub Desktop.
Save h-kitagawa/5252841 to your computer and use it in GitHub Desktop.
OTF パッケージで gt/eb をよりきちんと扱うテスト
% example
otf-cjge-h Identity-H KozGoPro-Heavy.otf
otf-cjge-v Identity-V KozGoPro-Heavy.otf
otf-ujge-h UniJIS-UTF16-H KozGoPro-Heavy.otf
otf-ujge-v UniJIS-UTF16-V KozGoPro-Heavy.otf
otf-ujgen-h UniJIS2004-UTF16-H KozGoPro-Heavy.otf
otf-ujgen-v UniJIS2004-UTF16-V KozGoPro-Heavy.otf
hgothebn-h H KozGoPro-Heavy.otf
hgothebn-v V KozGoPro-Heavy.otf
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/makeotf japanese-otf/makeotf
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/makeotf 2011-11-03 01:06:03.000000000 +0900
+++ japanese-otf/makeotf 2013-03-27 16:53:55.303930890 +0900
@@ -54,6 +54,14 @@
#for extra fonts
ppltotf basepl/base-h.pl tfm/nmlgotheb-h.tfm
ppltotf basepl/base-v.pl tfm/nmlgotheb-v.tfm
+ppltotf basepl/base-h.pl tfm/expgotheb-h.tfm
+ppltotf basepl/base-v.pl tfm/expgotheb-v.tfm
+ppltotf basepl/base-v.pl tfm/rubygotheb-v.tfm
+ppltotf basepl/base-h.pl tfm/rubygotheb-h.tfm
+ppltotf basepl/base0-h.pl tfm/cidjge0-h.tfm
+ppltotf basepl/base2-h.pl tfm/cidjge2-h.tfm
+ppltotf basepl/base2-v.pl tfm/cidjge2-v.tfm
+ppltotf basepl/base3-v.pl tfm/cidjge3-v.tfm
ppltotf basepl/base-h.pl tfm/nmlminl-h.tfm
ppltotf basepl/base-v.pl tfm/nmlminl-v.tfm
ppltotf basepl/base-h.pl tfm/expminl-h.tfm
@@ -83,7 +91,7 @@
./mkjvf -cm -cp nmlmgothr-v hmgothr-v
#extra fonts
./mkjvf nmlgotheb-h hgotheb-h
-./mkjvf -cp nmlgotheb-v hgotheb-v
+./mkjvf -cm -cp nmlgotheb-v hgotheb-v
./mkjvf nmlminl-h hminl-h
./mkjvf -cm -cp nmlminl-v hminl-v
echo "making alt. kana ..."
@@ -111,6 +119,10 @@
./mkjvf -cm -cp -expert expminl-v hminl-v cidjminl
./mkjvf -ruby rubyminl-h hminl-h cidjminl
./mkjvf -cm -cp -ruby rubyminl-v hminl-v cidjminl
+./mkjvf -expert expgotheb-h hgotheb-h cidjgotheb
+./mkjvf -cm -cp -expert expgotheb-v hgotheb-v cidjgotheb
+./mkjvf -ruby rubygotheb-h hgotheb-h cidjgotheb
+./mkjvf -cm -cp -ruby rubygotheb-v hgotheb-v cidjgotheb
echo "making proportional kana tfm/vf"
perl script/mkpkana.pl
ppltotf -kanji=euc pl/phiraminw6-h.pl tfm/phiraminw6-h.tfm
@@ -171,6 +183,8 @@
ppltotf basepl/brsg-v.pl tfm/brsgexpmgothr-v.tfm
ppltotf basepl/brsg-h.pl tfm/brsgnmlgotheb-h.tfm
ppltotf basepl/brsg-v.pl tfm/brsgnmlgotheb-v.tfm
+ppltotf basepl/brsg-h.pl tfm/brsgexpgotheb-h.tfm
+ppltotf basepl/brsg-v.pl tfm/brsgexpgotheb-v.tfm
ppltotf basepl/brsg-h.pl tfm/brsgnmlminl-h.tfm
ppltotf basepl/brsg-v.pl tfm/brsgnmlminl-v.tfm
ppltotf basepl/brsg-h.pl tfm/brsgexpminl-h.tfm
@@ -186,7 +200,7 @@
./mkjvf -sage brsgnmlmgothr-h hmgothr-h
./mkjvf -sage -cm -cp brsgnmlmgothr-v hmgothr-v
./mkjvf -sage brsgnmlgotheb-h hgotheb-h
-./mkjvf -sage -cp brsgnmlgotheb-v hgotheb-v
+./mkjvf -sage -cm -cp brsgnmlgotheb-v hgotheb-v
./mkjvf -sage brsgnmlminl-h hminl-h
./mkjvf -sage -cm -cp brsgnmlminl-v hminl-v
./mkjvf -sage -expert brsgexpminr-h hminr-h cidjminr
@@ -199,6 +213,8 @@
./mkjvf -sage -cm -cp -expert brsgexpgothb-v hgothb-v cidjgothb
./mkjvf -sage -expert brsgexpmgothr-h hmgothr-h cidjmgothr
./mkjvf -sage -cm -cp -expert brsgexpmgothr-v hmgothr-v cidjmgothr
+./mkjvf -sage -expert brsgexpgotheb-h hgotheb-h cidjgotheb
+./mkjvf -sage -cm -cp -expert brsgexpgotheb-v hgotheb-v cidjgotheb
./mkjvf -sage -expert brsgexpminl-h hminl-h cidjminl
./mkjvf -sage -cm -cp -expert brsgexpminl-v hminl-v cidjminl
echo "making tfm/vf for UTF jp04 (wait a while)..."
@@ -228,6 +244,10 @@
ppltotf basepl/base-v.pl tfm/nmlminln-v.tfm
ppltotf basepl/base-h.pl tfm/expminln-h.tfm
ppltotf basepl/base-v.pl tfm/expminln-v.tfm
+ppltotf basepl/base-h.pl tfm/nmlgothebn-h.tfm
+ppltotf basepl/base-v.pl tfm/nmlgothebn-v.tfm
+ppltotf basepl/base-h.pl tfm/expgothebn-h.tfm
+ppltotf basepl/base-v.pl tfm/expgothebn-v.tfm
ppltotf basepl/brsg-h.pl tfm/brsgnmlminrn-h.tfm
ppltotf basepl/brsg-v.pl tfm/brsgnmlminrn-v.tfm
ppltotf basepl/brsg-h.pl tfm/brsgnmlgothrn-h.tfm
@@ -252,6 +272,10 @@
ppltotf basepl/brsg-v.pl tfm/brsgnmlminln-v.tfm
ppltotf basepl/brsg-h.pl tfm/brsgexpminln-h.tfm
ppltotf basepl/brsg-v.pl tfm/brsgexpminln-v.tfm
+ppltotf basepl/brsg-h.pl tfm/brsgnmlgothebn-h.tfm
+ppltotf basepl/brsg-v.pl tfm/brsgnmlgothebn-v.tfm
+ppltotf basepl/brsg-h.pl tfm/brsgexpgothebn-h.tfm
+ppltotf basepl/brsg-v.pl tfm/brsgexpgothebn-v.tfm
echo "making jvf for jp04 ..."
./mkjvf -jp04 nmlminrn-h hminrn-h
./mkjvf -jp04 -cm -cp nmlminrn-v hminrn-v
@@ -265,6 +289,8 @@
./mkjvf -jp04 -cm -cp nmlmgothrn-v hmgothrn-v
./mkjvf -jp04 nmlminln-h hminln-h
./mkjvf -jp04 -cm -cp nmlminln-v hminln-v
+./mkjvf -jp04 nmlgothebn-h hgothebn-h
+./mkjvf -jp04 -cm -cp nmlgothebn-v hgothebn-v
./mkjvf -jp04 -expert expminrn-h hminrn-h cidjminr
./mkjvf -jp04 -cm -cp -expert expminrn-v hminrn-v cidjminr
./mkjvf -jp04 -expert expgothrn-h hgothrn-h cidjgothr
@@ -275,6 +301,8 @@
./mkjvf -jp04 -cm -cp -expert expgothbn-v hgothbn-v cidjgothb
./mkjvf -jp04 -expert expmgothrn-h hmgothrn-h cidjmgothr
./mkjvf -jp04 -cm -cp -expert expmgothrn-v hmgothrn-v cidjmgothr
+./mkjvf -jp04 -expert expgothebn-h hgothebn-h cidjgotheb
+./mkjvf -jp04 -cm -cp -expert expgothebn-v hgothebn-v cidjgotheb
./mkjvf -jp04 -expert expminln-h hminln-h cidjminl
./mkjvf -jp04 -cm -cp -expert expminln-v hminln-v cidjminl
./mkjvf -jp04 -sage brsgnmlminrn-h hminrn-h
@@ -287,6 +315,8 @@
./mkjvf -jp04 -sage -cm -cp brsgnmlgothbn-v hgothbn-v
./mkjvf -jp04 -sage brsgnmlmgothrn-h hmgothrn-h
./mkjvf -jp04 -sage -cm -cp brsgnmlmgothrn-v hmgothrn-v
+./mkjvf -jp04 -sage brsgnmlgothebn-h hgothebn-h
+./mkjvf -jp04 -sage -cm -cp brsgnmlgothebn-v hgothebn-v
./mkjvf -jp04 -sage brsgnmlminln-h hminln-h
./mkjvf -jp04 -sage -cm -cp brsgnmlminln-v hminln-v
./mkjvf -jp04 -sage -expert brsgexpminrn-h hminrn-h cidjminr
@@ -299,6 +329,8 @@
./mkjvf -jp04 -sage -cm -cp -expert brsgexpgothbn-v hgothbn-v cidjgothb
./mkjvf -jp04 -sage -expert brsgexpmgothrn-h hmgothrn-h cidjmgothr
./mkjvf -jp04 -sage -cm -cp -expert brsgexpmgothrn-v hmgothrn-v cidjmgothr
+./mkjvf -jp04 -sage -expert brsgexpgothebn-h hgothebn-h cidjgotheb
+./mkjvf -jp04 -sage -cm -cp -expert brsgexpgothebn-v hgothebn-v cidjgotheb
./mkjvf -jp04 -sage -expert brsgexpminln-h hminln-h cidjminl
./mkjvf -jp04 -sage -cm -cp -expert brsgexpminln-v hminln-v cidjminl
echo "finishing ..."
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/mkjvf japanese-otf/mkjvf
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/mkjvf 2011-11-03 01:06:03.000000000 +0900
+++ japanese-otf/mkjvf 2013-03-27 16:56:49.955925421 +0900
@@ -381,6 +381,8 @@
$face="cidjmb";
}elsif($kana_font eq "cidjgothb"){
$face="cidjgb";
+ }elsif($kana_font eq "cidjgotheb"){
+ $face="cidjge";
}elsif($kana_font eq "cidjmgothr"){
$face="cidjmgr";
}elsif($kana_font eq "cidjminl"){
@@ -398,6 +400,8 @@
$face="cidjmb";
}elsif($kanji_font =~ /hgothb/){
$face="cidjgb";
+ }elsif($kanji_font =~ /hgotheb/){
+ $face="cidjge";
}elsif($kanji_font =~ /hmgothr/){
$face="cidjmgr";
}elsif($kanji_font =~ /hminl/){
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mkaltutfvf.pl japanese-otf/script/mkaltutfvf.pl
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mkaltutfvf.pl 2011-11-03 01:06:03.000000000 +0900
+++ japanese-otf/script/mkaltutfvf.pl 2013-03-27 17:07:22.455905618 +0900
@@ -24,6 +24,7 @@
for ($k=0; $k<=1; $k++){#face
if ($k==0) {$face="mr";}elsif ($k==1){$face="gr";}elsif ($k==2){$face="mb";}
elsif ($k==3){$face="gb";}elsif ($k==4){$face="mgr";}elsif ($k==5){$face="ml";}
+ elsif ($k==6){$face="ge";}
for ($i=0; $i<=1; $i++){#direction
if ($i==0) {$dir="h";}elsif ($i==1){$dir="v";}
for ($first_hex=0x0; $first_hex <= 0xf; $first_hex++){
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mkcidofm.pl japanese-otf/script/mkcidofm.pl
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mkcidofm.pl 2011-11-03 01:06:03.000000000 +0900
+++ japanese-otf/script/mkcidofm.pl 2013-03-27 17:17:27.983886659 +0900
@@ -1,7 +1,7 @@
opendir(OPLD, "opl") || mkdir("opl",0755) || die "cannot mkdir opl";
opendir(OFMD, "ofm") || mkdir("ofm",0755) || die "cannot mkdir ofm";
$font_at=1.0;
-@font_base_name=("cjmr", "cjgr", "cjmb", "cjgb", "cjmgr", "cjml");
+@font_base_name=("cjmr", "cjgr", "cjmb", "cjgb", "cjmgr", "cjml", "cjge");
for ($d=0; $d<=1; $d++){
if ($d==0){$dir="h";}elsif($d==1){$dir="v";}
foreach $base_name(@font_base_name){
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mkcidvf.pl japanese-otf/script/mkcidvf.pl
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mkcidvf.pl 2011-11-03 01:06:03.000000000 +0900
+++ japanese-otf/script/mkcidvf.pl 2013-03-27 17:05:54.451908373 +0900
@@ -4,9 +4,10 @@
&makevf;
sub makevf {
- for ($k=0; $k<=5; $k++){#face
+ for ($k=0; $k<=6; $k++){#face
if ($k==0) {$face="mr";}elsif ($k==1){$face="gr";}elsif ($k==2){$face="mb";}
elsif ($k==3){$face="gb";}elsif ($k==4){$face="mgr";}elsif ($k==5){$face="ml";}
+ elsif ($k==6){$face="ge";}
for ($i=0; $i<=1; $i++){#direction
if ($i==0) {$dir="h";}elsif ($i==1){$dir="v";}
$cidcode=0;
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mkjp04tfmvf.pl japanese-otf/script/mkjp04tfmvf.pl
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mkjp04tfmvf.pl 2011-11-03 01:06:03.000000000 +0900
+++ japanese-otf/script/mkjp04tfmvf.pl 2013-03-27 17:08:45.179903028 +0900
@@ -11,9 +11,10 @@
&makejvf;
sub make_utf_tfm {
- for ($k=0; $k<=5; $k++){#face
+ for ($k=0; $k<=6; $k++){#face
if ($k==0) {$face="mr";}elsif ($k==1){$face="gr";}elsif ($k==2){$face="mb";}
elsif ($k==3){$face="gb";}elsif ($k==4){$face="mgr";}elsif ($k==5){$face="ml";}
+ elsif ($k==6){$face="ge";}
for ($l=0; $l<=0; $l++){#language
if ($l==0) {$lang="j";} elsif ($l==1) {$lang="k";}
elsif ($l==2) {$lang="c";} elsif ($l==3){$lang="t";}
@@ -43,9 +44,10 @@
}
sub makejvf {
- for ($k=0; $k<=5; $k++){#face
+ for ($k=0; $k<=6; $k++){#face
if ($k==0) {$face="mr";}elsif ($k==1){$face="gr";}elsif ($k==2){$face="mb";}
elsif ($k==3){$face="gb";}elsif ($k==4){$face="mgr";}elsif ($k==5){$face="ml";}
+ elsif ($k==6){$face="ge";}
for ($l=0; $l<=0; $l++){#language
if ($l==0) {$lang="j";} elsif ($l==1) {$lang="k";}
elsif ($l==2) {$lang="c";} elsif ($l==3){$lang="t";}
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mktfm.pl japanese-otf/script/mktfm.pl
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mktfm.pl 2011-11-03 01:06:03.000000000 +0900
+++ japanese-otf/script/mktfm.pl 2013-03-27 17:20:44.823880496 +0900
@@ -13,9 +13,10 @@
&make_multi_cid_tfm;
sub make_utf_tfm {
- for ($k=0; $k<=5; $k++){#face
+ for ($k=0; $k<=6; $k++){#face
if ($k==0) {$face="mr";}elsif ($k==1){$face="gr";}elsif ($k==2){$face="mb";}
elsif ($k==3){$face="gb";}elsif ($k==4){$face="mgr";}elsif ($k==5){$face="ml";}
+ elsif ($k==6){$face="ge";}
for ($l=0; $l<=0; $l++){#language
if ($l==0) {$lang="j";} elsif ($l==1) {$lang="k";}
elsif ($l==2) {$lang="c";} elsif ($l==3){$lang="t";}
@@ -45,9 +46,10 @@
}
sub make_cid_tfm {
- for ($k=0; $k<=5; $k++){#face
+ for ($k=0; $k<=6; $k++){#face
if ($k==0) {$face="mr";}elsif ($k==1){$face="gr";}elsif ($k==2){$face="mb";}
elsif ($k==3){$face="gb";}elsif ($k==4){$face="mgr";}elsif ($k==5){$face="ml";}
+ elsif ($k==6){$face="ge";}
for ($l=0; $l<=0; $l++){#language
if ($l==0) {$lang="j";} elsif ($l==1) {$lang="k";}
elsif ($l==2) {$lang="c";} elsif ($l==3){$lang="t";}
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mkutfvf.pl japanese-otf/script/mkutfvf.pl
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf/script/mkutfvf.pl 2011-11-03 01:06:03.000000000 +0900
+++ japanese-otf/script/mkutfvf.pl 2013-03-27 17:05:25.435909282 +0900
@@ -6,9 +6,10 @@
&makemlvf;
sub makejvf {
- for ($k=0; $k<=5; $k++){#face
+ for ($k=0; $k<=6; $k++){#face
if ($k==0) {$face="mr";}elsif ($k==1){$face="gr";}elsif ($k==2){$face="mb";}
elsif ($k==3){$face="gb";}elsif ($k==4){$face="mgr";}elsif ($k==5){$face="ml";}
+ elsif ($k==6){$face="ge";}
for ($l=0; $l<=0; $l++){#language
if ($l==0) {$lang="j";} elsif ($l==1) {$lang="k";}
elsif ($l==2) {$lang="c";} elsif ($l==3){$lang="t";}
@@ -33,6 +34,7 @@
for ($k=0; $k<=1; $k++){#face
if ($k==0) {$face="mr";}elsif ($k==1){$face="gr";}elsif ($k==2){$face="mb";}
elsif ($k==3){$face="gb";}elsif ($k==4){$face="mgr";}elsif ($k==5){$face="ml";}
+ elsif ($k==6){$face="ge";}
for ($l=1; $l<=$multi; $l++){#language
if ($l==0) {$lang="j";} elsif ($l==1) {$lang="k";}
elsif ($l==2) {$lang="c";} elsif ($l==3){$lang="t";}
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf-uptex/script/mktfm_sp.pl japanese-otf-uptex/script/mktfm_sp.pl
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf-uptex/script/mktfm_sp.pl 2012-02-21 00:32:33.000000000 +0900
+++ japanese-otf-uptex/script/mktfm_sp.pl 2013-03-27 17:41:18.483841871 +0900
@@ -24,7 +24,7 @@
opendir(TFM, "tfm") || mkdir("tfm",0755) || die "cannot mkdir tfm";
-my @face = qw/mr gr mb gb mgr ml/;
+my @face = qw/mr gr mb gb mgr ml ge/;
my @lang = qw/j t c k/;
my @dir = qw/h v/;
my %font_id = qw/1b g 1d h 1e i 1f j
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf-uptex/script/mkutfvf_sp.pl japanese-otf-uptex/script/mkutfvf_sp.pl
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf-uptex/script/mkutfvf_sp.pl 2012-02-21 00:32:33.000000000 +0900
+++ japanese-otf-uptex/script/mkutfvf_sp.pl 2013-03-27 17:41:09.147842163 +0900
@@ -24,7 +24,7 @@
opendir(OVP, "ovp") || mkdir("ovp",0755) || die "cannot mkdir ovp";
opendir(VF, "vf") || mkdir("vf",0755) || die "cannot mkdir vf";
-my @face = qw/mr gr mb gb mgr ml/;
+my @face = qw/mr gr mb gb mgr ml ge/;
my @lang = qw/j t c k/; ## priority: j > t > c > k
my %lang_id; foreach $_ (0..$#lang) { $lang_id{$lang[$_]}=$_; }
my @dir = qw/h v/;
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf-uptex/umakeotf japanese-otf-uptex/umakeotf
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf-uptex/umakeotf 2012-04-24 08:52:46.000000000 +0900
+++ japanese-otf-uptex/umakeotf 2013-03-27 17:37:19.275849360 +0900
@@ -1,8 +1,8 @@
#!/bin/sh
#OVP2OVF='omfonts -ovp2ovf'
-#OVP2OVF='wovp2ovf'
-#export OVP2OVF
+OVP2OVF='wovp2ovf'
+export OVP2OVF
if test ! -d tfm; then
mkdir tfm
@@ -42,6 +42,10 @@
#for extra fonts
uppltotf -kanji=uptex basepl/ubase-h.pl tfm/upnmlgotheb-h.tfm
uppltotf -kanji=uptex basepl/ubase-v.pl tfm/upnmlgotheb-v.tfm
+uppltotf -kanji=uptex basepl/ubase-h.pl tfm/upexpgotheb-h.tfm
+uppltotf -kanji=uptex basepl/ubase-v.pl tfm/upexpgotheb-v.tfm
+uppltotf -kanji=uptex basepl/ubase-v.pl tfm/uprubygotheb-v.tfm
+uppltotf -kanji=uptex basepl/ubase-h.pl tfm/uprubygotheb-h.tfm
uppltotf -kanji=uptex basepl/ubase-h.pl tfm/upnmlminl-h.tfm
uppltotf -kanji=uptex basepl/ubase-v.pl tfm/upnmlminl-v.tfm
uppltotf -kanji=uptex basepl/ubase-h.pl tfm/upexpminl-h.tfm
@@ -62,7 +66,7 @@
./umkjvf -ucs -sp 1 -cm -cp upnmlmgothr-v uphmgothr-v
#extra fonts
./umkjvf -ucs -sp 1 -cq upnmlgotheb-h uphgotheb-h
-./umkjvf -ucs -sp 1 -cp upnmlgotheb-v uphgotheb-v
+./umkjvf -ucs -sp 1 -cm -cp upnmlgotheb-v uphgotheb-v
./umkjvf -ucs -sp 1 -cq upnmlminl-h uphminl-h
./umkjvf -ucs -sp 1 -cm -cp upnmlminl-v uphminl-v
echo "making alt. kana ..."
@@ -90,6 +94,10 @@
./umkjvf -ucs -sp 1 -cm -cp -expert upexpminl-v uphminl-v cidjminl
./umkjvf -ucs -sp 1 -cq -ruby uprubyminl-h uphminl-h cidjminl
./umkjvf -ucs -sp 1 -cm -cp -ruby uprubyminl-v uphminl-v cidjminl
+./umkjvf -ucs -sp 1 -cq -expert upexpgotheb-h uphgotheb-h cidjgotheb
+./umkjvf -ucs -sp 1 -cm -cp -expert upexpgotheb-v uphgotheb-v cidjgotheb
+./umkjvf -ucs -sp 1 -cq -ruby uprubygotheb-h uphgotheb-h cidjgotheb
+./umkjvf -ucs -sp 1 -cm -cp -ruby uprubygotheb-v uphgotheb-v cidjgotheb
echo "making tfm for supplementary plane ..."
perl script/mktfm_sp.pl
echo "making vf for supplementary plane ..."
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf-uptex/umakeotf_brsg japanese-otf-uptex/umakeotf_brsg
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf-uptex/umakeotf_brsg 2012-04-24 08:52:46.000000000 +0900
+++ japanese-otf-uptex/umakeotf_brsg 2013-03-27 17:36:30.655850882 +0900
@@ -1,8 +1,8 @@
#!/bin/sh
#OVP2OVF='omfonts -ovp2ovf'
-#OVP2OVF='wovp2ovf'
-#export OVP2OVF
+OVP2OVF='wovp2ovf'
+export OVP2OVF
if test ! -d tfm; then
mkdir tfm
@@ -31,6 +31,8 @@
uppltotf -kanji=uptex basepl/ubrsg-v.pl tfm/upbrsgexpmgothr-v.tfm
uppltotf -kanji=uptex basepl/ubrsg-h.pl tfm/upbrsgnmlgotheb-h.tfm
uppltotf -kanji=uptex basepl/ubrsg-v.pl tfm/upbrsgnmlgotheb-v.tfm
+uppltotf -kanji=uptex basepl/ubrsg-h.pl tfm/upbrsgexpgotheb-h.tfm
+uppltotf -kanji=uptex basepl/ubrsg-v.pl tfm/upbrsgexpgotheb-v.tfm
uppltotf -kanji=uptex basepl/ubrsg-h.pl tfm/upbrsgnmlminl-h.tfm
uppltotf -kanji=uptex basepl/ubrsg-v.pl tfm/upbrsgnmlminl-v.tfm
uppltotf -kanji=uptex basepl/ubrsg-h.pl tfm/upbrsgexpminl-h.tfm
@@ -46,7 +48,7 @@
./umkjvf -ucs -sp 1 -sage -cq upbrsgnmlmgothr-h uphmgothr-h
./umkjvf -ucs -sp 1 -sage -cm -cp upbrsgnmlmgothr-v uphmgothr-v
./umkjvf -ucs -sp 1 -sage -cq upbrsgnmlgotheb-h uphgotheb-h
-./umkjvf -ucs -sp 1 -sage -cp upbrsgnmlgotheb-v uphgotheb-v
+./umkjvf -ucs -sp 1 -sage -cm -cp upbrsgnmlgotheb-v uphgotheb-v
./umkjvf -ucs -sp 1 -sage -cq upbrsgnmlminl-h uphminl-h
./umkjvf -ucs -sp 1 -sage -cm -cp upbrsgnmlminl-v uphminl-v
./umkjvf -ucs -sp 1 -sage -cq -expert upbrsgexpminr-h uphminr-h cidjminr
@@ -59,6 +61,8 @@
./umkjvf -ucs -sp 1 -sage -cm -cp -expert upbrsgexpgothb-v uphgothb-v cidjgothb
./umkjvf -ucs -sp 1 -sage -cq -expert upbrsgexpmgothr-h uphmgothr-h cidjmgothr
./umkjvf -ucs -sp 1 -sage -cm -cp -expert upbrsgexpmgothr-v uphmgothr-v cidjmgothr
+./umkjvf -ucs -sp 1 -sage -cq -expert upbrsgexpgotheb-h uphgotheb-h cidjgotheb
+./umkjvf -ucs -sp 1 -sage -cm -cp -expert upbrsgexpgotheb-v uphgotheb-v cidjgotheb
./umkjvf -ucs -sp 1 -sage -cq -expert upbrsgexpminl-h uphminl-h cidjminl
./umkjvf -ucs -sp 1 -sage -cm -cp -expert upbrsgexpminl-v uphminl-v cidjminl
diff -udr /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf-uptex/umkjvf japanese-otf-uptex/umkjvf
--- /opt/texlive/2012/texmf-dist/source/fonts/japanese-otf-uptex/umkjvf 2012-04-24 08:52:46.000000000 +0900
+++ japanese-otf-uptex/umkjvf 2013-03-27 17:35:31.923852721 +0900
@@ -554,6 +554,8 @@
$face="cidjmgr";
}elsif($kana_font eq "cidjminl"){
$face="cidjml";
+ }elsif($kana_font eq "cidjgotheb"){
+ $face="cidjge";
}elsif($kana_font eq "cidmin"){
$face="cidm";
}elsif($kana_font eq "cidgoth"){
@@ -567,6 +569,8 @@
$face="cidjmb";
}elsif($kanji_font =~ /hgothb/){
$face="cidjgb";
+ }elsif($kanji_font =~ /hgotheb/){
+ $face="cidjge";
}elsif($kanji_font =~ /hmgothr/){
$face="cidjmgr";
}elsif($kanji_font =~ /hminl/){
--- otf.sty.orig 2013-03-27 17:52:54.255820086 +0900
+++ otf.sty 2013-03-27 17:54:49.887816466 +0900
@@ -429,6 +429,8 @@
\Declare@FontShape{cidjg}{m}{012345}{cidjgr}
\Declare@FontShape{utfjg}{bx}{0123456789abcdefjklmnopqrstuvz}{utfjgb\nlck@sfx@}
\Declare@FontShape{cidjg}{bx}{012345}{cidjgb}
+ \Declare@FontShape{utfjg}{eb}{0123456789abcdefjklmnopqrstuvz}{utfjge\nlck@sfx@}
+ \Declare@FontShape{cidjg}{eb}{012345}{cidjge}
\DeclareKanjiFamily{\otf@JYn}{utfjmg}{}
\DeclareKanjiFamily{\otf@JTn}{utfjmg}{}
\DeclareKanjiFamily{\otf@JYn}{cidjmg}{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment