diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/cjk/utils/subfonts/subfonts.pe')
-rw-r--r-- | Master/texmf-dist/source/latex/cjk/utils/subfonts/subfonts.pe | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/cjk/utils/subfonts/subfonts.pe b/Master/texmf-dist/source/latex/cjk/utils/subfonts/subfonts.pe index 962b61d83a7..ba01a97d19e 100644 --- a/Master/texmf-dist/source/latex/cjk/utils/subfonts/subfonts.pe +++ b/Master/texmf-dist/source/latex/cjk/utils/subfonts/subfonts.pe @@ -3,12 +3,13 @@ # # $1: The master font (e.g., `bsmi00lp.ttf'). # $2: The name stem for the subfonts (e.g., `bsmilp'). -# $3: The subfont definition file (e.g., `UBig5.sfd'). +# $3: The subfont definition file, mapping from Unicode to whatever +# (e.g., `UBig5.sfd', which maps to Big 5). # # A collection of useful subfont definition files for CJK fonts can be found # in the ttf2pk package. -# Copyright (C) 1994-2007 Werner Lemberg <wl@gnu.org> +# Copyright (C) 1994-2008 Werner Lemberg <wl@gnu.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,7 +27,7 @@ # MA 02110-1301 USA if (Strtol($version) < 20071105) - Print("Can't use FontForge version before 2007-11-05. Aborting."; + Print("Can't use FontForge version before 2007-11-05. Aborting."); Quit(1); endif; @@ -38,6 +39,12 @@ endif; Print("Loading ", $1, "..."); Open($1); +if ($cidfontname != "") + CIDFlatten(); +endif; + +Reencode("ucs4"); + copyright = $copyright \ + Chr(10) + Chr(10) \ + "Subfont version " \ |