[poppler] ?==?utf-8?q? pfdtocairo altering bbox of embedded font
Ken Sands
kensands at gov-u.co.uk
Mon May 18 17:40:43 UTC 2020
Of course, wasn't obvious where was best, I'll do that now thanks.
--______________________________________________________________________________
Ken Sands
Development Manager - dsi billing services
07803 194347______________________________________________________________________________
On Monday, May 18, 2020 17:08 BST, Oliver Sander <oliver.sander at tu-dresden.de> wrote:
Hi Ken,
can you open an actual bug report at
https://gitlab.freedesktop.org/poppler/poppler
and attach the file? Helping is a lot easier with the problematic file.
Best,
Oliver
On 18.05.20 16:31, Ken Sands wrote:
> Hello all, I tried to run a pdf through pdftocairo in order to embed some non embedded fonts to ready a file for sending off to a printer.
> The fonts embedded just fine, however of the fonts that were already embedded one (helvetica) was assigned a new negative bbox.
>
> While that doesn't appear to cause any issues with appearance it does cause adobe reader to throw up a BLABLA_Helvetica contains a bad /BBox message box.
>
> I checked the original file and the font in there has FontBBox[ -951 -481 1446 1122]
>
> I checked the file after pdftocairo and it's /FontBBox [ 31049 -480 1445 1121 ]
>
> I edited the resulting file to [ -951 -480 1445 1121 ] and the error is gone, to be sure I diff checked the output and all 3 are visually identical.
>
> Looking at those numbers it seems to me there is a fairly simple int -> uint thing slipping through somewhere, and I'm happy to try to track it down but wish to narrow my search.
>
> So I duely googled for a few hours and I'm aware this could well be either cairo or a font library issue rather than poppler however I'm no wiser and hoped one of you could at least shuffle me in the most likely direction, thanks.
>
> --
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Ken
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20200518/d5990556/attachment-0001.htm>
More information about the poppler
mailing list