public class PdfFontFactory extends Object
| Constructor and Description |
|---|
PdfFontFactory(PdfObjectReader currentPdfFile) |
| Modifier and Type | Method and Description |
|---|---|
PdfFont |
createFont(boolean fallbackToArial,
PdfObject pdfObject,
String font_id,
ObjectStore objectStoreStreamRef,
boolean renderPage,
ErrorTracker errorTracker,
boolean isHTML) |
String |
getFontsInFile() |
String |
getFontSub(String rawFont) |
String |
getMapFont() |
String |
getnonEmbeddedCIDFonts() |
boolean |
hasEmbeddedFonts() |
boolean |
hasNonEmbeddedCIDFonts() |
static boolean |
isFontEmbedded(PdfObject pdfObject)
check for embedded font file to see if font embedded
|
void |
resetfontsInFile() |
String |
useLiberationFont(String testFont,
String family,
String path) |
public PdfFontFactory(PdfObjectReader currentPdfFile)
public PdfFont createFont(boolean fallbackToArial, PdfObject pdfObject, String font_id, ObjectStore objectStoreStreamRef, boolean renderPage, ErrorTracker errorTracker, boolean isHTML) throws PdfException
PdfExceptionpublic String getFontSub(String rawFont) throws PdfException
PdfExceptionpublic static boolean isFontEmbedded(PdfObject pdfObject)
public String getnonEmbeddedCIDFonts()
public String getFontsInFile()
public void resetfontsInFile()
public boolean hasEmbeddedFonts()
public boolean hasNonEmbeddedCIDFonts()
public String getMapFont()
Copyright © 2017. All rights reserved.