StandardFonts
Vue de l’ensemble
‘StandardFonts’ est une classe dans Aspose.PDF FOSS pour Java.
Registre des 14 phontres PDF standard (ISO 32000-1:2008, §9.6.2.2).
Cette classe fournit 3 méthodes pour travailler avec les objets StandardFonts dans les programmes Java. Les méthodologies disponibles comprennent: ‘getEncoding’, ‘getWidths’, `isStandard’. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.PDF FOSS pour le package Java .
méthodes
| Signature | Description |
|---|---|
isStandard(fontName: String) → boolean | Returns whether the given font name is one of the Standard 14 fonts. |
getWidths(fontName: String) → int[] | Returns the 256-entry width table for the given standard font. |
getEncoding(fontName: String) → FontEncoding | Returns the default encoding for the given standard font. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise