Type3Font

Vue de l’ensemble

‘Type3Font’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: `PdfFon’.

Type 3 (/Subtype /Type3) — ISO 32000-1:2008, §9.6.5.

Cette classe fournit 14 méthodes pour travailler avec des objets Type3Font dans les programmes Java. Les méthodologies disponibles comprennent: Type3Foot, decode , fromDictionary ; getBaseFon', 'getCharProc; ghetEncoding : ‘getFonteDescriptor . ’getMatrix. GetFontaine., geetMétrique,, goetFoote‘, 'goeteUnicode' et 2 autres méthods. Tous les membres publics sont accessibles à toute application Java après l’installation de l'Aspose.PDF FOSS pour le package Java . Propriété : baseFotes,compositet, ́encodant fontsdescriptorsd’diversionaire`mathrix, 3x et plus.

Propriétés

NameTypeAccessDescription
fontMatrixMatrixReadReturns the /FontMatrix mapping glyph space to text space (§9.6.5).
fontResourcesPdfDictionaryReadReturns the font’s own /Resources dictionary for its glyph streams,
or null — in which case the spec (§9.6.5, Note 2) says to fall back
to the resources of the content stream that painted the text.
baseFontStringReadReturns the base font name (/BaseFont).
encodingFontEncodingReadReturns the font encoding.
toUnicodeToUnicodeCMapReadReturns the ToUnicode CMap.
fontDescriptorFontDescriptorReadReturns the font descriptor.
compositebooleanReadReturns {@code true} when this is a Type0 composite font whose
content-stream encoding uses multi-byte character codes (e.g.
fontMetricsFontMetricsReadReturns the font metrics.
fontDictionaryPdfDictionaryReadReturns the underlying font dictionary.

méthodes

SignatureDescription
Type3Font(fontDict: PdfDictionary, parser: PDFParser)Creates a Type3Font from a font dictionary.
getWidth(charCode: int)double
getFontMatrix()MatrixReturns the /FontMatrix mapping glyph space to text space (§9.6.5).
getCharProc(charCode: int)PdfStreamReturns the glyph-description content stream for a character code:
/Encoding(/Differences) maps the code to a glyph name, which keys
into the /CharProcs dictionary (§9.6.5).
getFontResources()PdfDictionaryReturns the font’s own /Resources dictionary for its glyph streams,
or null — in which case the spec (§9.6.5, Note 2) says to fall back
to the resources of the content stream that painted the text.
decode(charCodes: byte[])StringDecodes raw character code bytes to a Unicode string.
getBaseFont()StringReturns the base font name (/BaseFont).
getEncoding()FontEncodingReturns the font encoding.
getToUnicode()ToUnicodeCMapReturns the ToUnicode CMap.
getFontDescriptor()FontDescriptorReturns the font descriptor.
isComposite()booleanReturns {@code true} when this is a Type0 composite font whose
content-stream encoding uses multi-byte character codes (e.g.
getFontMetrics()FontMetricsReturns the font metrics.
getFontDictionary()PdfDictionaryReturns the underlying font dictionary.
fromDictionary(fontDict: PdfDictionary, parser: PDFParser)PdfFontCreates the appropriate PdfFont subclass from a font dictionary.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français