From ebd30ecfd76a3bcac4745234f721af6c3359b68b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 3 Nov 2013 23:42:53 +0000 Subject: fontools git-svn-id: svn://tug.org/texlive/trunk@32050 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf | Bin 7034 -> 7034 bytes Master/texmf-dist/doc/man/man1/autoinst.1 | 33 +++++++----- Master/texmf-dist/doc/man/man1/autoinst.man1.pdf | Bin 30383 -> 30895 bytes Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf | Bin 7754 -> 7754 bytes Master/texmf-dist/doc/support/fontools/README | 4 +- Master/texmf-dist/scripts/fontools/autoinst | 62 +++++++++++++---------- 6 files changed, 55 insertions(+), 44 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf b/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf index 48eb67dfdb5..9d3f6980662 100644 Binary files a/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf and b/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf differ diff --git a/Master/texmf-dist/doc/man/man1/autoinst.1 b/Master/texmf-dist/doc/man/man1/autoinst.1 index a3062269cd7..12d17b13ae9 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 "2013-10-01" "fontools" "Marc Penninga" +.TH AUTOINST 1 "2013-10-31" "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 @@ -439,7 +439,7 @@ and TeXLive (\fIhttp://tug.org/texlive\fR) don't have this problem. .IX Header "COMMAND-LINE OPTIONS" \&\fBautoinst\fR tries hard to do The Right Thing (\s-1TM\s0) by default, so in many cases you won't need these options; -but many aspects of its operation can be changed if you want to. +but most aspects of its operation can be changed if you want to. .PP You may use either one or two dashes before options, and option names may be shortened to a unique prefix @@ -473,18 +473,6 @@ Install the font as a typewriter font, accessed via \f(CW\*(C`\ettfamily\*(C'\fR \&\f(CW\*(C`\etexttt\*(C'\fR. The generated style file redefines \f(CW\*(C`\efamilydefault\*(C'\fR, so including it will still make this font the default text font. -.IP "\fB\-lining\fR / \fB\-oldstyle\fR" 4 -.IX Item "-lining / -oldstyle" -.PD 0 -.IP "\fB\-tabular\fR / \fB\-proportional\fR" 4 -.IX Item "-tabular / -proportional" -.PD -Tell \fBautoinst\fR which figure style is the current font family's default -(i.e., which figures you get when you don't specify anything). -\&\fIThis is only needed for font families that don't provide OpenType -features for the default figure style!\fR -Even in that case, the default values (\fB\-lining\fR and \fB\-tabular\fR) are usually -correct. .IP "\fB\-smallcaps\fR / \fB\-nosmallcaps\fR" 4 .IX Item "-smallcaps / -nosmallcaps" Control the creation of small caps fonts. The default is @@ -513,6 +501,19 @@ Control the creation of ornament fonts. The default is \fB\-ornaments\fR. .IP "\fB\-verbose\fR" 4 .IX Item "-verbose" Verbose mode; print detailed info about what \fBautoinst\fR thinks it's doing. +.IP "\fB\-lining\fR / \fB\-oldstyle\fR" 4 +.IX Item "-lining / -oldstyle" +.PD 0 +.IP "\fB\-tabular\fR / \fB\-proportional\fR" 4 +.IX Item "-tabular / -proportional" +.PD +Tell \fBautoinst\fR which figure style is the current font family's default +(i.e., which figures you get when you don't specify any OpenType features). +.Sp +\&\fIDon't use these options unless you are certain you need them! +They are only needed for fonts that don't provide OpenType features +for their default figure style; and even in that case, +the default values (\f(BI\-lining\fI and \f(BI\-tabular\fI) are usually correct.\fR .IP "\fB\-figurekern\fR / \fB\-nofigurekern\fR" 4 .IX Item "-figurekern / -nofigurekern" Some fonts provide kerning pairs for tabular figures. @@ -619,6 +620,10 @@ but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of .SH "RECENT CHANGES" .IX Header "RECENT CHANGES" (See the source code for the rest of the story.) +.IP "\fI2013\-10\-31\fR" 12 +.IX Item "2013-10-31" +The previous change required Perl v5.14 or newer; +now it also works with older versions. .IP "\fI2013\-10\-01\fR" 12 .IX Item "2013-10-01" Added the \fI\-lining\fR, \fI\-oldstyle\fR, \fI\-tabular\fR and \fI\-proportional\fR diff --git a/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf b/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf index 53acbe1b935..b5be89aca3b 100644 Binary files a/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf and b/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf differ diff --git a/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf b/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf index 398b9fd7127..f66b17e45a6 100644 Binary files a/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf and b/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf differ diff --git a/Master/texmf-dist/doc/support/fontools/README b/Master/texmf-dist/doc/support/fontools/README index 26a653f682a..e42dac391b5 100644 --- a/Master/texmf-dist/doc/support/fontools/README +++ b/Master/texmf-dist/doc/support/fontools/README @@ -22,7 +22,7 @@ PREREQUISITES Perl - The Fontools are written in Perl; any recent version should work. + The Fontools are written in Perl; any version since v5.10.1 should work. Perl is usually installed on Linux and Unix systems; for Windows, try ActivePerl (http://www.activestate.com) or Strawberry Perl (http://strawberryperl.com). @@ -65,4 +65,4 @@ the terms of the GNU General Public Licence. See the file GPLv2.txt for the license conditions. - Marc Penninga, 2013/10/01 + Marc Penninga, 2013/10/31 diff --git a/Master/texmf-dist/scripts/fontools/autoinst b/Master/texmf-dist/scripts/fontools/autoinst index 1bc8826e6f5..521fcbc41cf 100755 --- a/Master/texmf-dist/scripts/fontools/autoinst +++ b/Master/texmf-dist/scripts/fontools/autoinst @@ -241,31 +241,31 @@ my %STYLE = ( my %STYLE_DEFAULTS = ( lnum => sub { - push $STYLE{TLF}{nice}, 'lnum'; - push $STYLE{LF}{nice}, 'lnum'; - push $STYLE{TOsF}{reqd}, 'onum'; - push $STYLE{OsF}{reqd}, 'onum'; + push @{$STYLE{TLF}{nice}}, 'lnum'; + push @{$STYLE{LF}{nice}}, 'lnum'; + push @{$STYLE{TOsF}{reqd}}, 'onum'; + push @{$STYLE{OsF}{reqd}}, 'onum'; }, onum => sub { - push $STYLE{TLF}{reqd}, 'lnum'; - push $STYLE{LF}{reqd}, 'lnum'; - push $STYLE{TOsF}{nice}, 'onum'; - push $STYLE{OsF}{nice}, 'onum'; + push @{$STYLE{TLF}{reqd}}, 'lnum'; + push @{$STYLE{LF}{reqd}}, 'lnum'; + push @{$STYLE{TOsF}{nice}}, 'onum'; + push @{$STYLE{OsF}{nice}}, 'onum'; }, tnum => sub { - push $STYLE{TLF}{nice}, 'tnum'; - push $STYLE{TOsF}{nice}, 'tnum'; - push $STYLE{LF}{reqd}, 'pnum'; - push $STYLE{OsF}{reqd}, 'pnum'; + push @{$STYLE{TLF}{nice}}, 'tnum'; + push @{$STYLE{TOsF}{nice}}, 'tnum'; + push @{$STYLE{LF}{reqd}}, 'pnum'; + push @{$STYLE{OsF}{reqd}}, 'pnum'; }, pnum => sub { - push $STYLE{TLF}{reqd}, 'tnum'; - push $STYLE{TOsF}{reqd}, 'tnum'; - push $STYLE{LF}{nice}, 'pnum'; - push $STYLE{OsF}{nice}, 'pnum'; + push @{$STYLE{TLF}{reqd}}, 'tnum'; + push @{$STYLE{TOsF}{reqd}}, 'tnum'; + push @{$STYLE{LF}{nice}}, 'pnum'; + push @{$STYLE{OsF}{nice}}, 'pnum'; }, ); @@ -1782,7 +1782,7 @@ and TeXLive (F) don't have this problem. B tries hard to do The Right Thing (TM) by default, so in many cases you won't need these options; -but many aspects of its operation can be changed if you want to. +but most aspects of its operation can be changed if you want to. You may use either one or two dashes before options, and option names may be shortened to a unique prefix @@ -1823,17 +1823,6 @@ C<\texttt>. The generated style file redefines C<\familydefault>, so including it will still make this font the default text font. -=item B<-lining> / B<-oldstyle> - -=item B<-tabular> / B<-proportional> - -Tell B which figure style is the current font family's default -(i.e., which figures you get when you don't specify anything). -I -Even in that case, the default values (B<-lining> and B<-tabular>) are usually -correct. - =item B<-smallcaps> / B<-nosmallcaps> Control the creation of small caps fonts. The default is @@ -1870,6 +1859,18 @@ Control the creation of ornament fonts. The default is B<-ornaments>. Verbose mode; print detailed info about what B thinks it's doing. +=item B<-lining> / B<-oldstyle> + +=item B<-tabular> / B<-proportional> + +Tell B which figure style is the current font family's default +(i.e., which figures you get when you don't specify any OpenType features). + +I<< Don't use these options unless you are certain you need them! +They are only needed for fonts that don't provide OpenType features +for their default figure style; and even in that case, +the default values (B<-lining> and B<-tabular>) are usually correct. >> + =item B<-figurekern> / B<-nofigurekern> Some fonts provide kerning pairs for tabular figures. @@ -2001,6 +2002,11 @@ GNU General Public License for more details. =over 12 +=item I<2013-10-31> + +The previous change required Perl v5.14 or newer; +now it also works with older versions. + =item I<2013-10-01> Added the I<-lining>, I<-oldstyle>, I<-tabular> and I<-proportional> -- cgit v1.2.3