Unnecessary including Helvetica font on PDFs

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
naoliv
Posts: 110
Joined: 2007-12-10T18:54:27-07:00
Location: Brazil

Unnecessary including Helvetica font on PDFs

Post by naoliv »

Hi!

From this bug report on Debian:
When converting from a png to a pdf, /usr/bin/convert seems to add a
type 1 Helvetica font to the pdf, even though there is no text in the
PDF at all. At best, this is unnecessary, generated cruft.
I can confirm this with version 6.4.1-3.

Thank you!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Unnecessary including Helvetica font on PDFs

Post by magick »

Not really a bug but we will look toward removing the font object if it is not used in a future release of ImageMagick.
naoliv
Posts: 110
Joined: 2007-12-10T18:54:27-07:00
Location: Brazil

Re: Unnecessary including Helvetica font on PDFs

Post by naoliv »

Hi!

The problem is that the user needs a PDF without fonts (or with the fonts embedded on it), as some publishers need it (like http://www.lulu.com/en/help/index.php?f ... ints_right). Using a PDF without the fonts embedded he is unable to use lulu services, for example.

Is it a workaround to not include the font or a way to embed it, please?

Thank you!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Unnecessary including Helvetica font on PDFs

Post by magick »

There is no workaround other than patching coders/pdf.c. We will post a patch when time permits. Currently its considered a low priority (the embedded font has been in ImageMagick for 10+ years now and this is the first complaint).
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Unnecessary including Helvetica font on PDFs

Post by broucaries »

Any news of this bug?

Regards

Bastien
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Unnecessary including Helvetica font on PDFs

Post by magick »

Current releases of ImageMagick does not include a font object unless a label is specified on the command line.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Unnecessary including Helvetica font on PDFs

Post by broucaries »

Thank you I have not found the information in changelog :-( grepping for 11367, and therefore could not tag version. Will set fixed upstream.

Regards

Bastien
Post Reply