In case you missed recent posts, I'm also going to be working on retaining the 
original embedded fonts, but I don't have any insights on this yet that aren't 
already in the mailing list archive.  I haven't yet spent the time to figure 
out how to extract the font.

Best, --josh

From: Chris Ahlers <[email protected]<mailto:[email protected]>>
Date: Wed, 15 Jun 2011 11:22:14 -0700
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [poppler] Font substitution in pdftohtml

Hi everyone,

I've noticed that with the pdftohtml util, embedded fonts in the PDF are 
automatically rendered as "Times" in the HTML/CSS. I'm trying to disable the 
font substitution, and have the fonts listed in the CSS match the original PDF 
fonts (I realize that these won't display properly unless the user have the 
correct fonts installed).

I'm looking through the code, but I don't see any obvious places in where the 
original font name is discarded and substituted with "Times". Could someone 
point me in the right direction so I can make these changes?

I'm generating complex documents with the -c flag.

Thanks,
-Chris
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to