[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1104462: (fwd) Bug#1104462: ttfdump undocumentedly clobbers file specified by argv[2]



Control: tags -1 + wontfix

On 01.05.25 Norbert Preining (norbert@preining.info) wrote:

Hello Norbert,

as far as I understand the discussion in tex-k, there will nothing
change except (maybe) updating the manual page. Looking at the TL svn
repo ttfdump 0.5.6 was released, but nothing changed except some
copyright statements. I tag that bug wontfix for now.

Let me know, if my impression is wrong.

Hilmar

> bug report in Debian, but that might be a good idea to warn if excessive
> arguments are given, or the dump output (second file argument) is
> already present.
> 
> Also, the man page does not list that
> 	ttfdump -o OUTPUT TTF
> is the same as
> 	ttfdump TTF OUTPUT
> 
> It is a bit confusing I admit.
> 
> Best regards
> 
> Norbert
> 
> ----- Forwarded message from Simon Tatham <anakin@pobox.com> -----
> > I had four TrueType font files, and I wanted to dump all four of them
> > and grep out some information about their metrics, so I did this, on the
> > reasonable assumption that trying to dump more than one font file at a
> > time would either concatenate the dumps of all of them, or complain
> > about bad command-line syntax, and in the latter case I could do it
> > again the long way round:
> > 
> > $ ttfdump *.ttf | grep stuff
> > 
> > This produced no output and no error message, and turned out to have
> > overwritten the second of my four font files with the full textual dump
> > of the first. Apparently, if ttfdump receives more than one positional
> > argument, the second one is treated as an output file, and as far as I
> > can see the third and fourth are completely ignored.
> [...]
> ----- End forwarded message -----
> 
> --
> PREINING Norbert                              https://www.preining.info
> arXiv / Cornell University   +   IFMGA Guide   +   TU Wien  +  TeX Live
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
> 

Attachment: signature.asc
Description: PGP signature


Reply to: