diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-23 21:49:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-23 21:49:50 +0000 |
commit | 09aef51981d5f356b77306646b3a48b74e8c3266 (patch) | |
tree | 7838adde71706c5b0c87351ff10e9c68b608eddc /Master | |
parent | 2a515537c6712d370817def3a427835e0d9624a7 (diff) |
fontools (22oct19)
git-svn-id: svn://tug.org/texlive/trunk@52508 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/man/man1/afm2afm.1 | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf | bin | 26950 -> 26949 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/autoinst.1 | 20 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/autoinst.man1.pdf | bin | 69885 -> 69613 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/ot2kpx.1 | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf | bin | 27247 -> 27247 bytes | |||
-rwxr-xr-x | Master/texmf-dist/doc/support/fontools/splitttc | 4 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/fontools/afm2afm | 4 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/fontools/autoinst | 38 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/fontools/ot2kpx | 4 |
10 files changed, 41 insertions, 37 deletions
diff --git a/Master/texmf-dist/doc/man/man1/afm2afm.1 b/Master/texmf-dist/doc/man/man1/afm2afm.1 index f1a41a1f8ff..086c4e9b207 100644 --- a/Master/texmf-dist/doc/man/man1/afm2afm.1 +++ b/Master/texmf-dist/doc/man/man1/afm2afm.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "AFM2AFM 1" -.TH AFM2AFM 1 "2019-10-01" "fontools" "Marc Penninga" +.TH AFM2AFM 1 "2019-10-21" "fontools" "Marc Penninga" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -223,7 +223,7 @@ but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of See the \s-1GNU\s0 General Public License for more details. .SH "VERSION" .IX Header "VERSION" -This document describes \fBafm2afm\fR version 20191001. +This document describes \fBafm2afm\fR version 20191021. .SH "RECENT CHANGES" .IX Header "RECENT CHANGES" (See the source code for the rest of the story.) diff --git a/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf b/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf Binary files differindex e66892ceda6..98380d31952 100644 --- a/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf diff --git a/Master/texmf-dist/doc/man/man1/autoinst.1 b/Master/texmf-dist/doc/man/man1/autoinst.1 index 7b2e3821f4e..e225916f69f 100644 --- a/Master/texmf-dist/doc/man/man1/autoinst.1 +++ b/Master/texmf-dist/doc/man/man1/autoinst.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "AUTOINST 1" -.TH AUTOINST 1 "2019-10-01" "fontools" "Marc Penninga" +.TH AUTOINST 1 "2019-10-21" "fontools" "Marc Penninga" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -380,12 +380,9 @@ or whose generation was turned off by the user. Also these commands are built on top of \fIfontaxes\fR, so if that package cannot be found, you're limited to using the lower-level commands from standard \s-1NFSS\s0 (\f(CW\*(C`\efontfamily\*(C'\fR, \f(CW\*(C`\efontseries\*(C'\fR, \f(CW\*(C`\efontshape\*(C'\fR etc.). -.SS "On the choice of text encoding" -.IX Subsection "On the choice of text encoding" -By default, \fBautoinst\fR generates text fonts with \s-1OT1, T1\s0 and \s-1LY1\s0 -encodings, and the generated style files use \s-1LY1\s0 as the default text encoding. -\&\s-1LY1\s0 has been chosen over T1 because it has some empty slots to accommodate -the additional ligatures found in many OpenType fonts. +.PP +By default, \fBautoinst\fR generates text fonts with \s-1OT1, LY1\s0 and T1 +encodings, and the generated style files use T1 as the default text encoding. Other encodings can be chosen using the \fI\-encoding\fR option (see \*(L"COMMAND-LINE \s-1OPTIONS\*(R"\s0 below). .SS "\s-1NFSS\s0 codes" @@ -486,11 +483,11 @@ Add more details to the log file. Repeat this option for even more info. .IX Item "-encoding=encoding[,encoding]" Generate the specified encoding(s) for the text fonts. Multiple encodings may be specified as a comma-separated list: -\&\f(CW\*(C`\-encoding=OT1,T1,LY1\*(C'\fR (without spaces!). +\&\f(CW\*(C`\-encoding=OT1,LY1,T1\*(C'\fR (without spaces!). The style file passes these to \fIfontenc\fR in the specified order, so the \fIlast\fR one will become the default text encoding of your document. .Sp -The default choice of encodings is \*(L"\s-1OT1,T1,LY1\*(R".\s0 +The default choice of encodings is \*(L"\s-1OT1,LY1,T1\*(R".\s0 For each encoding, a file \fI<encoding>.enc\fR (in all \fIlowercase\fR!) should be somewhere where \fIotftotfm\fR can find it. Suitable encoding files for \s-1OT1, T1/TS1, LY1, LGR, T2A/B/C\s0 and T3/TS3 come with \fBautoinst\fR. @@ -737,10 +734,13 @@ but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of \&\s-1GNU\s0 General Public License for more details. .SH "VERSION" .IX Header "VERSION" -This document describes \fBautoinst\fR version 20191001. +This document describes \fBautoinst\fR version 20191021. .SH "RECENT CHANGES" .IX Header "RECENT CHANGES" (See the source for the full story, all the way back to 2005.) +.IP "\fI2019\-10\-21\fR" 12 +.IX Item "2019-10-21" +The generated \fIsty\fR files now use T1 encoding by default. .IP "\fI2019\-10\-01\fR" 12 .IX Item "2019-10-01" Handle \fI\-target\fR directories with spaces in their path names. diff --git a/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf b/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf Binary files differindex 9ce98cd2552..7082e2113a6 100644 --- a/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf diff --git a/Master/texmf-dist/doc/man/man1/ot2kpx.1 b/Master/texmf-dist/doc/man/man1/ot2kpx.1 index a69223b3bfa..e3bc560d950 100644 --- a/Master/texmf-dist/doc/man/man1/ot2kpx.1 +++ b/Master/texmf-dist/doc/man/man1/ot2kpx.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "OT2KPX 1" -.TH OT2KPX 1 "2019-10-01" "fontools" "Marc Penninga" +.TH OT2KPX 1 "2019-10-21" "fontools" "Marc Penninga" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -228,7 +228,7 @@ but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of See the \s-1GNU\s0 General Public License for more details. .SH "VERSION" .IX Header "VERSION" -This document describes \fBot2kpx\fR version 20191001. +This document describes \fBot2kpx\fR version 20191021. .SH "RECENT CHANGES" .IX Header "RECENT CHANGES" (See the source code for the rest of the story.) diff --git a/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf b/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf Binary files differindex cd2132b451d..549116d015d 100644 --- a/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf diff --git a/Master/texmf-dist/doc/support/fontools/splitttc b/Master/texmf-dist/doc/support/fontools/splitttc index 8b470980026..14ab6ab8a7c 100755 --- a/Master/texmf-dist/doc/support/fontools/splitttc +++ b/Master/texmf-dist/doc/support/fontools/splitttc @@ -37,7 +37,7 @@ use File::Basename; use Getopt::Long; use Pod::Usage; -my $VERSION = "20191001"; +my $VERSION = "20191021"; parse_commandline(); @@ -245,7 +245,7 @@ See the GNU General Public License for more details. =head1 VERSION -This document describes B<splitttc> version 20191001. +This document describes B<splitttc> version 20191021. =head1 RECENT CHANGES diff --git a/Master/texmf-dist/scripts/fontools/afm2afm b/Master/texmf-dist/scripts/fontools/afm2afm index 6b745936263..85b2fbda94a 100755 --- a/Master/texmf-dist/scripts/fontools/afm2afm +++ b/Master/texmf-dist/scripts/fontools/afm2afm @@ -37,7 +37,7 @@ use File::Basename; use Getopt::Long; use Pod::Usage; -my $VERSION = "20191001"; +my $VERSION = "20191021"; parse_commandline(); @@ -421,7 +421,7 @@ See the GNU General Public License for more details. =head1 VERSION -This document describes B<afm2afm> version 20191001. +This document describes B<afm2afm> version 20191021. =head1 RECENT CHANGES diff --git a/Master/texmf-dist/scripts/fontools/autoinst b/Master/texmf-dist/scripts/fontools/autoinst index b265e43e319..4d67fe07ab2 100755 --- a/Master/texmf-dist/scripts/fontools/autoinst +++ b/Master/texmf-dist/scripts/fontools/autoinst @@ -40,8 +40,9 @@ use Getopt::Long (); use IPC::Open3 (); use Pod::Usage (); use POSIX (); +use Scalar::Util (); -my $VERSION = '20191001'; +my $VERSION = '20191021'; my ($d, $m, $y) = (localtime time)[3 .. 5]; my $TODAY = sprintf "%04d/%02d/%02d", $y + 1900, $m + 1, $d; @@ -938,7 +939,11 @@ sub make_commands { waitpid($pid, 0); if ($?) { - my $msg = "$command\n" . do { local $/; <$child_err> } . "\n"; + $child_out = Scalar::Util::openhandle($child_out); + my $out = $child_out ? do { local $/; <$child_out> } : ""; + $child_err = Scalar::Util::openhandle($child_err); + my $err = $child_err ? do { local $/; <$child_err> } : ""; + my $msg = "\n$command\n\n$out\n$err\n"; warn $msg; print {$ARGV{logfile}} $msg; $oops = 1; @@ -948,8 +953,8 @@ sub make_commands { $| = 0; if ($oops) { warn <<"END_OTFTOTFM_WARNING"; -[ERROR] One or more calls to 'otftotfm' failed; - please see the error messages in the log file. +[ERROR] One or more calls to 'otftotfm' returned a non-zero status code; + please check the messages above and in the log file. END_OTFTOTFM_WARNING } } @@ -1052,7 +1057,7 @@ my $USAGE =<<'END_USAGE'; Usage: autoinst [options] font[s] Possible options: - -encoding=ENC[,ENC]* Specify text encoding(s) (default: OT1,T1,LY1) + -encoding=ENC[,ENC]* Specify text encoding(s) (default: OT1,LY1,T1) -(no)lining Toggle creation of lining digits -(no)oldstyle Toggle creation of oldstyle digits @@ -1108,7 +1113,7 @@ END_USAGE # Default values for the command-line arguments %ARGV = ( - encoding => 'OT1,T1,LY1', + encoding => 'OT1,LY1,T1', textcomp => '2', # 0 = no, 1 = yes, 2 = ('T1' ? yes : no) lining => '1', # 0 = no, 1 = yes oldstyle => '1', # 0 = no, 1 = yes @@ -1331,7 +1336,7 @@ END_WARNING_DUMPING_FILES "$ARGV{target}" I'll do my best to work around this. Fingers crossed! - If you do experience any problems, try to re-run autoinst + If you do experience any problems, try re-running autoinst with a target directory without spaces in its name. END_WARNING_SPACES_IN_PATHS } @@ -2410,13 +2415,8 @@ Also these commands are built on top of F<fontaxes>, so if that package cannot be found, you're limited to using the lower-level commands from standard NFSS (C<\fontfamily>, C<\fontseries>, C<\fontshape> etc.). - -=head2 On the choice of text encoding - -By default, B<autoinst> generates text fonts with OT1, T1 and LY1 -encodings, and the generated style files use LY1 as the default text encoding. -LY1 has been chosen over T1 because it has some empty slots to accommodate -the additional ligatures found in many OpenType fonts. +By default, B<autoinst> generates text fonts with OT1, LY1 and T1 +encodings, and the generated style files use T1 as the default text encoding. Other encodings can be chosen using the I<-encoding> option (see L</"COMMAND-LINE OPTIONS"> below). @@ -2528,11 +2528,11 @@ Add more details to the log file. Repeat this option for even more info. Generate the specified encoding(s) for the text fonts. Multiple encodings may be specified as a comma-separated list: -C<-encoding=OT1,T1,LY1> (without spaces!). +C<-encoding=OT1,LY1,T1> (without spaces!). The style file passes these to F<fontenc> in the specified order, so the I<last> one will become the default text encoding of your document. -The default choice of encodings is "OT1,T1,LY1". +The default choice of encodings is "OT1,LY1,T1". For each encoding, a file F<< <encoding>.enc >> (in all I<lowercase>!) should be somewhere where F<otftotfm> can find it. Suitable encoding files for OT1, T1/TS1, LY1, LGR, T2A/B/C and T3/TS3 come with B<autoinst>. @@ -2811,7 +2811,7 @@ GNU General Public License for more details. =head1 VERSION -This document describes B<autoinst> version 20191001. +This document describes B<autoinst> version 20191021. =head1 RECENT CHANGES @@ -2820,6 +2820,10 @@ This document describes B<autoinst> version 20191001. =over 12 +=item I<2019-10-21> + +The generated F<sty> files now use T1 encoding by default. + =item I<2019-10-01> Handle I<-target> directories with spaces in their path names. diff --git a/Master/texmf-dist/scripts/fontools/ot2kpx b/Master/texmf-dist/scripts/fontools/ot2kpx index f45c0110780..615e3131566 100755 --- a/Master/texmf-dist/scripts/fontools/ot2kpx +++ b/Master/texmf-dist/scripts/fontools/ot2kpx @@ -38,7 +38,7 @@ use Getopt::Long (); use List::Util @List::Util::EXPORT_OK; use Pod::Usage; -my $VERSION = "20191001"; +my $VERSION = "20191021"; our ($NUM_GLYPHS, $UNITS_PER_EM, %kern); @@ -858,7 +858,7 @@ See the GNU General Public License for more details. =head1 VERSION -This document describes B<ot2kpx> version 20191001. +This document describes B<ot2kpx> version 20191021. =head1 RECENT CHANGES |