-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Hi Helge,

On Thu, Jun 04, 2009 at 10:08:40PM +0200, Helge Kreutzmann wrote:
>On Sun, May 22, 2005 at 03:05:04PM +0200, Helge Kreutzmann wrote:
>> I stumbled over "dumphint". Given that it has not man page (which it
>> should, c.f. Debian Policy), I wanted to write a man page. However, on
>> every pdf-file I tried (created by a variety of different programms)
>> it fails to work.

>> When I reverse the last two arguments, i.e.,
>> gs -q -dNODISPLAY -dSAFER -dDELAYSAFER -- /tmp/ifer-l.pdf "dumphint.ps"
>> then gs suceeds:
>> he...@thirtyto:~$ echo $?
>> 0
>> 
>> However, there is no output (file, stdout) at all. Running under strace, 
>> I see that *all* files are opened O_RDONLY, hence nothing will be
>> written. 
>
>Same again.

Looking at upstream SVN, that script was recently (january 4th 2009) 
changed to use full path to dumphint.ps:

exec "$GS_EXECUTABLE" -q -dNODISPLAY $OPTIONS -- "`dirname $0`/dumphint.ps" "$1"


Perhaps that helps?

Either try manually, or grab the current package in experimental.



>> So either dumphint needs to be documented (if you give me some
>> information, I can write you a man page) and possibly fixed (as the
>> current syntax as suggested by the help output simply does not work)
>> or if nothing else requires
>> it, it should be removed. If it only has some internal use, then it
>> should IMHO not be in a user visible namespace (i.e., not in the
>> default path).

It would be wonderful if you would help write that manpage.

Seems its purpose is documented in the ps file:

% Linearized PDF hints generated by Acrobat suite seem to deviate from
% the published specification.
%
% /P (page offset hint table) key in hint stream is not generated by
% Adobe products. The key is no longer required in PDF 1.5.
%
% Per-page items 4 and 5 of the page offset hint table start from 1st
% page rather than 2nd page as the spec claims.
%
% All array entries start from the new byte boundary.



Kind regards,

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREDAAYFAkooWMwACgkQn7DbMsAkQLjO2ACgiyLpk4GF5+Agb+lJwW0G/bq2
K68AnRcM4O2AZ5qq9YOZH2Pr/OVnIVlj
=Oqk1
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to