Generating PDF/A-1b with Apache FOP 0.95 - How to embbed full fonts

I am struggeling with generation PDF/A-1b compliant document using Apache FOP 0.95. Generation wiht fop goes fine without exceptions but when I validate it in Adobe Acrobat XI using preflight tool I get following error. PDF document is not compliant with PDF/A-1bCIDset in subset font is incompleteI already know that I must to embedd all fonts not just subset but I can not figure out how to do it.Here is my config file<!-- Strict user configuration --><strict-configuration>true</strict-configuration><!-- Strict FO validation...Read more

Mime type for WOFF fonts?

What mime type should WOFF fonts be served as?I am serving truetype (ttf) fonts as font/truetype and opentype (otf) as font/opentype, but I cannot find the correct format for WOFF fonts.I have tried font/woff, font/webopen, and font/webopentype, but Chrome still complains:"Resource interpreted as font but transferred with MIME type application/octet-stream."Anybody know?...Read more

font embed restriction in PDF

I'm stuck in a problem, the font I want to use can't save in pdf, STHeiti and STXihei they are both the default Chinese fonts in Mac os.illustrator give me this error, I don't know how to change the font to make this work,I know a software in windows named Font Creator that looks promising, But I don't know exactly how to use it...Read more

webfonts - Web fonts mime type warning

I'm using the free web fonts service via webfonts.fonts.com which are being served by their server and i'm getting the following warning in my Chrome/Safari browser console: "Resource interpreted as Font but transferred with MIME type application/octet-stream."This is the JS link fonts.com specify to place in the header:<script type="text/javascript" src="http://fast.fonts.com/jsapi/f3d92ff3-2575-4cb8-a4b8-9b4c5d0376fb.js"></script>This is the CSS i'm using:h1 { margin-bottom: 10px;font: 35px/35px 'Helvetica W01 Blk', Arial, Helveti...Read more

pdfbox - How to get a pdf embedded fonts using PDFBOX0.8.0

My code: FileInputStream pdfFile = new FileInputStream("C:/work/pdf2tiff/test.PDF"); PDDocument pdDocument = PDDocument.load(pdfFile, true); PDDocumentCatalog catalog = pdDocument.getDocumentCatalog(); List pages = catalog.getAllPages(); if (pages != null && pages.size() > 0) { for (int i = 0; i < pages.size(); i++) { PDPage page = (PDPage) pages.get(i); Map fonts = page.getResources().getFonts(); System.out.println("fonts=" + fonts);I got o...Read more