Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
PDF Font subset vs. full font (2.5.2)
crowt999
All,
When PDFs are rendered, the fonts are embedded into the document as a "subset" (See attached). Does anyone know if there is a way for the engine to embed the full font ? (second attached pic, created using Adobe).
Another question, is there any way to NOT embed the fonts at all into the PDF. I've tried the setting setEmbededFont(false), but the fonts are still embedded in the result PDF...
Any help would be greatly appreciated...
Dean
Find more posts tagged with
Comments
mwilliams
What script did you use to setEmbeddedFont to false?
crowt999
We have the runtime wrapped in a Java server - and when there is a PDF to render, we have the following code:
if (request.hasPDFType()) {
logger.info("Starting PDF report generation");
PDFRenderOption pdfOptions = new PDFRenderOption();
pdfOptions.setEmbededFont(true);
pdfOptions.setOutputFormat(RenderOption.OUTPUT_FORMAT_PDF);
options = pdfOptions;
byte[] pdfByte = createReport(currentDesign, params, request.getContent(), options);
logger.info("Completed PDF report generation");
response.putElem(ReportRequest.OUTPUT_TYPE_PDF, pdfByte);
}