This creates the databases required by Omega/CHISE.
EOF
-#my $cmapdir="/usr/local/share/texmf/dvipdfm/CMap-AcrobatReader5.0";
-#my $db_home="./omegadb";
+#my $cmapdir="/usr/local/share/texmf/dvipdfm/CMap";
+#my $db_home="$HOME/.chise";
if(@ARGV==2){
$cmapdir=shift;
$db_home=shift;
use BerkeleyDB;
my $kageaddr="kage2.fonts.jp:80"; # Specify port number!
-my $t1asm = "/sw/bin/t1asm"; # point to 't1asm' executable.
+my $t1asm = "/usr/local/bin/t1asm"; # point to 't1asm' executable.
die "Cannot execute $t1asm. Abort.\n" unless -x $t1asm;
-my $pfaedit="/Users/izumi/work/fonteditor/pfaedit/pfaedit/pfaedit"; # point to 'pfaedit' executable.
+my $pfaedit="/usr/local/bin/pfaedit"; # point to 'pfaedit' executable.
die "Cannot execute $pfaedit. Abort.\n" unless -x $pfaedit;
my $cleanup_script="svg2t1.pfe"; # Set the name of pfaedit script.
-my $dbpath="/Users/izumi/.chise/glyph.db"; # Set to your DB path.
+my $dbpath="$HOME/.chise/glyph.db"; # Set to your DB path.
# Open Glyph Database
my $db = new BerkeleyDB::Hash
-Filename => $dbpath, -Flags => DB_CREATE
binmode(STDOUT, ':encoding(utf8)');
}
-#$omegadb_home="/home/ttomabec/.chise";
-$omegadb_home="/Users/izumi/.chise";
+$omegadb_home="$HOME/.chise";
&GetOptions("in=s"=>\$opt_in_cs,
"i=s"=>\$opt_in_cs,