Package com.ironsoftware.ironpdf.font
Class FontTypes
java.lang.Object
com.ironsoftware.ironpdf.internal.staticapi.Utils_CustomEnumeration
com.ironsoftware.ironpdf.font.FontTypes
- All Implemented Interfaces:
Comparable<Utils_CustomEnumeration>
Supported PDF Fonts
-
Method Summary
Modifier and TypeMethodDescriptionstatic FontTypescreateCustomFont(String Name, String FontFilePath) Create custom font types.static FontTypesfromString(String FontNameOrFilePath) Gets FontTypes from font name or font file path.static FontTypesgetArial()Gets arial.static FontTypesGets arial bold.static FontTypesGets arial bold italic.static FontTypesGets arial italic.static FontTypesGets courier.static FontTypesGets courier bold.static FontTypesGets courier bold oblique.static FontTypesGets courier new.static FontTypesGets courier new bold.static FontTypesGets courier new bold italic.static FontTypesGets courier new italic.static FontTypesGets courier oblique.Gets custom font file path.static FontTypesGets helvetica.static FontTypesGets helvetica bold.static FontTypesGets helvetica bold oblique.static FontTypesGets helvetica oblique.static FontTypesGets symbol.static FontTypesGets times new roman.static FontTypesGets times new roman bold.static FontTypesGets times new roman bold italic.static FontTypesGets times new roman italic.static FontTypesGets zapf dingbats.
-
Method Details
-
createCustomFont
Create custom font types.- Parameters:
Name- the nameFontFilePath- the font file (.ttf, .otf, etc.) path- Returns:
- the font types
-
fromString
Gets FontTypes from font name or font file path.- Parameters:
FontNameOrFilePath- the font name or file path- Returns:
- the font types
-
getArial
Gets arial.- Returns:
- the arial
-
getArialBold
Gets arial bold.- Returns:
- the arial bold
-
getArialBoldItalic
Gets arial bold italic.- Returns:
- the arial bold italic
-
getArialItalic
Gets arial italic.- Returns:
- the arial italic
-
getCourier
Gets courier.- Returns:
- the courier
-
getCourierBoldOblique
Gets courier bold oblique.- Returns:
- the courier bold oblique
-
getCourierOblique
Gets courier oblique.- Returns:
- the courier oblique
-
getCourierBold
Gets courier bold.- Returns:
- the courier bold
-
getCourierNew
Gets courier new.- Returns:
- the courier new
-
getCourierNewBold
Gets courier new bold.- Returns:
- the courier new bold
-
getCourierNewBoldItalic
Gets courier new bold italic.- Returns:
- the courier new bold italic
-
getCourierNewItalic
Gets courier new italic.- Returns:
- the courier new italic
-
getHelvetica
Gets helvetica.- Returns:
- the helvetica
-
getHelveticaBold
Gets helvetica bold.- Returns:
- the helvetica bold
-
getHelveticaBoldOblique
Gets helvetica bold oblique.- Returns:
- the helvetica bold oblique
-
getHelveticaOblique
Gets helvetica oblique.- Returns:
- the helvetica oblique
-
getSymbol
Gets symbol.- Returns:
- the symbol
-
getTimesNewRoman
Gets times new roman.- Returns:
- the times new roman
-
getTimesNewRomanBold
Gets times new roman bold.- Returns:
- the times new roman bold
-
getTimesNewRomanBoldItalic
Gets times new roman bold italic.- Returns:
- the times new roman bold italic
-
getTimesNewRomanItalic
Gets times new roman italic.- Returns:
- the times new roman italic
-
getZapfDingbats
Gets zapf dingbats.- Returns:
- the zapf dingbats
-
getCustomFontFilePath
Gets custom font file path. Only available when FontTypes object was created bycreateCustomFont(String, String)- Returns:
- the custom font file path
-