|
From: | Andreas Haufler \(scireum\) |
Subject: | [Swftools-common] libpoppeler |
Date: | Mon, 5 Oct 2009 13:51:02 +0200 |
Hi Matthias, I was
debugging why sometimes an error like „ Illegal entry in bfchar block in ToUnicode CMap” occurs when reading valid PDFs. I think I
spotted the problem in CharCodeToUnicode.cc in line 245. There is a check that
the first token is exactly 2 digits long, however: 0022 is also valid… While
debugging, I learned that there is a fork of xpdf
called libpoppeler which is intended for programs using
xpdf as library. Since libpoppeler
is maintained and updated as xpdf is, pdf2swf would
benefit from using this library instead of managing an own “fork”
of xpdf. So I wonder if there are deep modifications
within the used xpdf sources or if they could
possibly be replaced by libpoppeler (?) Otherwise
it would be kind to integrate the current version of CharCodeToUnicode.cc from xpdf or libpoppeler to pdf2swf
since it seems to handle Unicode-stuff better when it comes to multi-char
mappings like ligatures (fl, fi, etc.). Then a patch
could be added to remove the bfchar warnings (this
problem persists in the current xpdf-version). Best regards Andy freundliche Grüße TTI GmbH - TGU scireum, Friedrichstr.
8, 70736 Fellbach TTI GmbH - Zentrale, Nobelstr. 15,
70569 Stuttgart Geschäftsführer: Prof. Dr.-Ing. Bernd
Bertsche, Elgar Rödler Amtsgericht Stuttgart, HRB 19455 |
[Prev in Thread] | Current Thread | [Next in Thread] |