/** Creates a new instance of DocumentFont */ DocumentFont(PdfDictionary font) { this.refFont = null; this.font = font; init(); } /** Creates a new instance of DocumentFont */
/** Creates a new instance of DocumentFont */ DocumentFont(PdfDictionary font) { this.refFont = null; this.font = font; init(); } /** Creates a new instance of DocumentFont */
/** Creates a new instance of DocumentFont */ DocumentFont(PRIndirectReference refFont) { this.refFont = refFont; font = (PdfDictionary)PdfReader.getPdfObject(refFont); init(); } /** Creates a new instance of DocumentFont */
/** Creates a new instance of DocumentFont */ DocumentFont(PRIndirectReference refFont) { this.refFont = refFont; font = (PdfDictionary)PdfReader.getPdfObject(refFont); init(); } /** Creates a new instance of DocumentFont */
/** Creates a new instance of DocumentFont */ DocumentFont(PRIndirectReference refFont, PdfDictionary drEncoding) { this.refFont = refFont; font = (PdfDictionary)PdfReader.getPdfObject(refFont); if (font.get(PdfName.ENCODING) == null && drEncoding != null) { for (PdfName key : drEncoding.getKeys()) { font.put(PdfName.ENCODING, drEncoding.get(key)); } } init(); }
/** Creates a new instance of DocumentFont */ DocumentFont(PRIndirectReference refFont, PdfDictionary drEncoding) { this.refFont = refFont; font = (PdfDictionary)PdfReader.getPdfObject(refFont); if (font.get(PdfName.ENCODING) == null && drEncoding != null) { for (PdfName key : drEncoding.getKeys()) { font.put(PdfName.ENCODING, drEncoding.get(key)); } } init(); }