Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

Complex font types PDF is not being converted #460

Closed
cryptooman opened this issue Dec 14, 2014 · 8 comments
Closed

Complex font types PDF is not being converted #460

cryptooman opened this issue Dec 14, 2014 · 8 comments

Comments

@cryptooman
Copy link

When converting PDF TypesettingSample.pdf the result is blank page.
The PDF can be taken from here: ... unavailable ...

-- Regards, Dmitry

@cryptooman cryptooman changed the title Comples font types PDF is not being converted Complex font types PDF is not being converted Dec 15, 2014
@coolwanglu
Copy link
Owner

I can no longer access the URL. Can you upload it again?

@cryptooman
Copy link
Author

URL no longer available. Please get PDF from https://www.dropbox.com/s/v0lr1u9vsplagme/TypesettingSample.pdf?dl=0

@coolwanglu
Copy link
Owner

I tested with you PDF file.

The first page uses a CID Type0 OpenType font, which was not supported by pdf2htmlEX before. And I've just fixed in the incoming branch.

For the rest 2 pages, unfortunately seems that the font files used cannot be supported by poppler. You may not be able to view the files correctly with a PDF viewer using poppler. You may report a bug to poppler if you like :)

Thanks for reporting, can I use the PDF file as a test case for pdf2htmlEX?

@coolwanglu
Copy link
Owner

Remarks on poppler, there's a warning Syntax Warning: Mismatch between font type and embedded font file, so it could be something wrong in the PDF file instead.

@cryptooman
Copy link
Author

Thanks for quick reply. I've got it. Yes, of course you can use PDF.

@coolwanglu
Copy link
Owner

Thanks!

coolwanglu added a commit that referenced this issue May 3, 2015
@WAKSAB
Copy link

WAKSAB commented Jun 6, 2018

Poker

@cryptooman
Copy link
Author

cryptooman commented Jun 20, 2018

Found one more issue with converted results markup:

screenshot_20180726_162220

PDF source file:
pdf-with-markup-errors.pdf

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants