Bug#919600: poppler-utils: pdftohtml produces corrupt CSS-classes

Jens Brandt brandt at docoloc.de
Thu Jan 17 18:22:35 GMT 2019


Package: poppler-utils
Version: 0.71.0-2
Severity: normal
Tags: upstream

In version 0.71.0 pdftohtml produces HTML with corrupted numbers in class-names (i.e. 01 in ft01) as well as in font-size:

<style type="text/css">
<!--
    p {margin: 0; padding: 0;}  .ft��{font-size:^Ppx;font-family:Helvetica;color:#000000;}
    .ft{font-size:djpx;font-family:Helvetica;color:#000000;}
    .ft^R^R{font-size:�jpx;font-family:Helvetica;color:#000000;}
    .ft^R^R{font-size:^Lkpx;font-family:Helvetica;color:#000000;}
    ...
-->
</style>

In prevoius version (i.e. 0.69.0), the produced HTML contains CSS-classes like this:

<style type="text/css">
<!--
	p {margin: 0; padding: 0;}	.ft00{font-size:8px;font-family:Helvetica;color:#000000;}
	.ft01{font-size:22px;font-family:Helvetica;color:#000000;}
	.ft02{font-size:13px;font-family:Helvetica;color:#000000;}
	.ft03{font-size:13px;font-family:Helvetica;color:#000000;}
    ...
-->
</style>

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages poppler-utils depends on:
ii  libc6         2.28-5
ii  libcairo2     1.16.0-2
ii  libfreetype6  2.9.1-3
ii  libgcc1       1:8.2.0-14
ii  liblcms2-2    2.9-3
pn  libpoppler82  <none>
ii  libstdc++6    8.2.0-14

poppler-utils recommends no packages.

poppler-utils suggests no packages.

-- no debconf information


More information about the Pkg-freedesktop-maintainers mailing list