Bug#595900: libpdf-api2-perl: Using TTF creates corrupt PDF

Damyan Ivanov dmn at debian.org
Tue Sep 7 10:23:13 UTC 2010


tags 595900 unreproducible
thanks

-=| Jeffrey Ratcliffe, Tue, Sep 07, 2010 at 07:34:37AM +0200 |=-
> Package: libpdf-api2-perl
> Version: 0.73-1
> Severity: normal
> 
> Attached are two test scripts, one using a core font one using TTF.
> 
> The core example runs without errors and the text in the resulting 
> PDF can be extracted by pdftotext.

Ack.

> The TTF example produces multiple errors on running and evince 
> prints errors on opening the PDF, although it displays the text. 
> pdftotext fails to extract the text.

On my system (libpdf-api2-perl 0.73-1, same as yours) there are no 
errors when running and evince opens the pdf just fine. Inspecting the 
file with hexdump shows that in the later case the font is embedded in 
the PDF.

texttopdf still can't extract it, but I am not so sure the problem is 
in PDF::API2. kpdf shows the file fine too (no warnings)

(BTW, the diagnostic output about pdftotext results is better written 
with 'diag', instead of 'print' in order not to interfere with test 
output)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20100907/4f3d7d18/attachment.pgp>


More information about the pkg-perl-maintainers mailing list