Pdf2Dom is a PDF parser that converts the documents to a HTML DOM representation. The obtained DOM tree may be then serialized to a HTML file or further processed. A command-line utility for converting the PDF documents to HTML is included in the distribution package. Pdf2Dom may be also used as an independent Java library with a standard DOM interface for your DOM-based applications or as an alternative parser for the CSSBox rendering engine in order to add the PDF processing capability to CSSBox. Pdf2Dom is based on the Apache PDFBox™ library.
Chrome/Firefox seems to have problems to encode some embedded fonts when opening the ouput file although Pdf2Dom does not log any error/information while processing the input file.
Expected Behavior
Chrome/Firefox are able to encode the embedded font files.
Current Behavior
Chrome/Firefox cant encode some font files. The logs state:
Chrome
Failed to decode downloaded font: data:application/x-font-woff;base64,###base64### Minted_FontList.html:1 OTS parsing error: CFF : Failed to parse table
Chrome/Firefox seems to have problems to encode some embedded fonts when opening the ouput file although Pdf2Dom does not log any error/information while processing the input file.
Expected Behavior
Chrome/Firefox are able to encode the embedded font files.
Current Behavior
Chrome/Firefox cant encode some font files. The logs state:
Chrome
Failed to decode downloaded font: data:application/x-font-woff;base64,###base64### Minted_FontList.html:1 OTS parsing error: CFF : Failed to parse table
Firefox
downloadable font: CFF : Failed to parse table (font-family: "NYDYER Theodore" style:normal weight:400 stretch:100 src index:0) source: data:application/x-font-woff;base64,###base64###
Steps to Reproduce