Package com.itextpdf.pdfa
Class PdfADefaultFontStrategy
java.lang.Object
com.itextpdf.kernel.pdf.DefaultFontStrategy
com.itextpdf.pdfa.PdfADefaultFontStrategy
The class presents default font strategy for PDF/A documents which doesn't provide default font because all used fonts must be embedded.
-
Constructor Summary
ConstructorDescriptionPdfADefaultFontStrategy
(PdfDocument pdfDocument) Instantiates a newPdfADefaultFontStrategy
instance based on the document which will use that strategy. -
Method Summary
-
Constructor Details
-
PdfADefaultFontStrategy
Instantiates a newPdfADefaultFontStrategy
instance based on the document which will use that strategy.- Parameters:
-
pdfDocument
- the pdf document which will use that strategy
-
-
Method Details
-
getFont
Gets default font..- Overrides:
-
getFont
in classDefaultFontStrategy
- Returns:
-
the
PdfFont
instance
-