diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-05-04 07:35:14 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-05-04 07:35:14 +0000 |
commit | 196d52388aa9f7f3e3a4978af7a9891629e4c0d5 (patch) | |
tree | ae37527b6f8b32636a3015f2471be81d17211f8c /Build/source/texk/ttfdump | |
parent | b22a023852dee18b65836a4de378f2144b90856b (diff) |
Do not assume GNU getopt() command line reordering
git-svn-id: svn://tug.org/texlive/trunk@22299 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ttfdump')
-rw-r--r-- | Build/source/texk/ttfdump/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/ttfdump/docs/ttfdump.1 | 21 | ||||
-rwxr-xr-x | Build/source/texk/ttfdump/tests/ttfdump.test | 4 |
3 files changed, 23 insertions, 7 deletions
diff --git a/Build/source/texk/ttfdump/ChangeLog b/Build/source/texk/ttfdump/ChangeLog index 234d4d4fd5f..94c2f22f157 100644 --- a/Build/source/texk/ttfdump/ChangeLog +++ b/Build/source/texk/ttfdump/ChangeLog @@ -1,3 +1,8 @@ +2011-05-04 Peter Breitenlohner <peb@mppmu.mpg.de> + + docs/ttfdump.1, tests/ttfdump.test: Assume a posixly correct + getopt() without non-options followed by options. + 2011-04-25 Peter Breitenlohner <peb@mppmu.mpg.de> * tests/ttfdump.test (new): Shell script for a test case. diff --git a/Build/source/texk/ttfdump/docs/ttfdump.1 b/Build/source/texk/ttfdump/docs/ttfdump.1 index e3916ecb211..5d19e112197 100644 --- a/Build/source/texk/ttfdump/docs/ttfdump.1 +++ b/Build/source/texk/ttfdump/docs/ttfdump.1 @@ -1,8 +1,19 @@ -.TH TTFDUMP 1 "18 Feb 1997" "ILX Project" +.TH TTFDUMP 1 "4 May 2011" "ILX Project" .SH NAME ttfdump \- Dumping the contents of a TrueType Font file .SH SYNOPSIS -\fBttfdump\fR [-h] [-t \fItablename\fP] [-g \fIglyphnumber\fP] [-c \fIcollection\fP] [-i] \fIttfile\fR [-o \fIdumpfile\fR] +.B ttfdump +.RB [ \-h ] +.RB [ \-t +.IR tablename ] +.RB [ \-g +.IR glyphnumber ] +.RB [\ -c +.IR collection ] +.RB [\ -o +.IR dumpfile ] +.RB [ \-i ] +.I ttfile .SH DESCRIPTION \fBttfdump\fP dumps the contents of a TrueType font file in ASCII form. A TrueType font file is consist of various tables. Those table are divided into @@ -94,11 +105,11 @@ otherwise dump all glyphs in \fIttfile\fP. \fB-c\fI collection\fR Select a TrueType font in a TrueType Collection. .TP -\fB-i\fI ttfile\fR -TrueType font file to be dumped. -.TP \fB-o\fI dumpfile\fR Output of the dump. If this option is not specified, dump to stdout. +.TP +\fB-i\fI ttfile\fR +TrueType font file to be dumped. .RE .SH EXAMPLE To dump all information in the TrueType font file times.ttf: diff --git a/Build/source/texk/ttfdump/tests/ttfdump.test b/Build/source/texk/ttfdump/tests/ttfdump.test index a4f70940795..7fda4340d36 100755 --- a/Build/source/texk/ttfdump/tests/ttfdump.test +++ b/Build/source/texk/ttfdump/tests/ttfdump.test @@ -6,9 +6,9 @@ rm -rf FonetikaDaniaIwonaeRegular.ttf ttfdump.glyf ttfdump.head cp $srcdir/tests/FonetikaDaniaIwonaeRegular.ttf . -./ttfdump -t head FonetikaDaniaIwonaeRegular.ttf -o ttfdump.head || exit 1 +./ttfdump -t head -o ttfdump.head FonetikaDaniaIwonaeRegular.ttf || exit 1 diff $srcdir/tests/ttfdump.head ttfdump.head || exit 1 -./ttfdump -t glyf -g 1 FonetikaDaniaIwonaeRegular.ttf -o ttfdump.glyf || exit 1 +./ttfdump -t glyf -g 1 -o ttfdump.glyf FonetikaDaniaIwonaeRegular.ttf || exit 1 diff $srcdir/tests/ttfdump.glyf ttfdump.glyf || exit 1 |