Hello!
I'm having a problem with linked fonts in PDFs (those fonts are not 
embeded but just referenced to with a name and some fontmetrics and the 
reader must look up the fonts in the OS and provide them).
I'm using the PdfParser.cpp to read the Objects from a PDF and keep them 
in memory with the PdfMemDocument Class.
If i then render the pdfpages with XPdf and display the rendered images 
the text written in the referenced fonts is not visible at all. If i 
then create a new pdf file from my PdfMemDocument it will substitute the 
missing signs by dots.

Any ideas on how i could be able to check if the font is just 
referenced? How can i get the fontmetrics and the name from that 
referenced font?
If i get the name and the metrics I could call the WinAPI and Windows 
would give me a font which matches the most to what i want.
(I know that this whole problem is kind of dumb, because referencing 
fonts takes away the "portable" form pdf... but well a customer wants it 
:-( )

Thanks in advance!
Dennis


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to