|
iText 9.8.0 API
|
Stores naming and style information read from a font program. More...
Public Member Functions |
|
| virtual String[][] | GetNames (int id) |
| Extracts the names of the font in all the languages available. More... |
|
| virtual String[][] | GetFullName () |
| Gets the full font names. More... |
|
| virtual String | GetFontName () |
| Gets the PostScript font name. More... |
|
| virtual String | GetCidFontName () |
| Gets the CID font name. More... |
|
| virtual String[][] | GetFamilyName () |
| Gets the font family names. More... |
|
| virtual String[][] | GetFamilyName2 () |
| Get extra family names. More... |
|
| virtual String | GetStyle () |
| Gets the font style name. More... |
|
| virtual String | GetSubfamily () |
| Gets the first available subfamily name. More... |
|
| virtual int | GetFontWeight () |
| Gets the normalized font weight. More... |
|
| virtual String | GetFontStretch () |
| Gets font stretch in css notation (font-stretch property). More... |
|
| virtual bool | AllowEmbedding () |
| Checks whether the font's embedding permissions allow embedding. More... |
|
| virtual bool | IsBold () |
| Checks the bold bit in the Macintosh style flags. More... |
|
| virtual bool | IsItalic () |
| Checks the italic bit in the Macintosh style flags. More... |
|
| virtual bool | IsUnderline () |
| Checks the underline bit in the Macintosh style flags. More... |
|
| virtual bool | IsOutline () |
| Checks the outline bit in the Macintosh style flags. More... |
|
| virtual bool | IsShadow () |
| Checks the shadow bit in the Macintosh style flags. More... |
|
| virtual bool | IsCondensed () |
| Checks the condensed bit in the Macintosh style flags. More... |
|
| virtual bool | IsExtended () |
| Checks the extended bit in the Macintosh style flags. More... |
|
| override String | ToString () |
Package Functions |
|
| virtual void | SetFontWeight (int weight) |
| Sets font weight. More... |
|
| virtual void | SetFontStretch (String fontStretch) |
| Sets font stretch in css notation (font-stretch property). More... |
|
| virtual void | SetAllNames (IDictionary< int, IList< String[]>> allNames) |
| Sets the names grouped by OpenType name ID. More... |
|
| virtual void | SetFullName (String[][] fullName) |
| Sets the full-name records. More... |
|
| virtual void | SetFullName (String fullName) |
| Sets a single full name. More... |
|
| virtual void | SetFontName (String psFontName) |
| Sets the PostScript font name. More... |
|
| virtual void | SetCidFontName (String cidFontName) |
| Sets the CID font name. More... |
|
| virtual void | SetFamilyName (String[][] familyName) |
| Sets the font family-name records. More... |
|
| virtual void | SetFamilyName2 (String[][] familyName2) |
| Set extra family name used for better fonts match. More... |
|
| virtual void | SetFamilyName (String familyName) |
| Sets a single font family name. More... |
|
| virtual void | SetStyle (String style) |
| Sets the font style string. More... |
|
| virtual void | SetSubfamily (String subfamily) |
| Sets a single subfamily name. More... |
|
| virtual void | SetSubfamily (String[][] subfamily) |
| Sets the subfamily name records. More... |
|
| virtual void | SetMacStyle (int macStyle) |
| Sets Open Type head.macStyle. More... |
|
| virtual int | GetMacStyle () |
Gets the raw head.macStyle bit field. More... |
|
| virtual void | SetAllowEmbedding (bool allowEmbedding) |
| Sets the embedding permission. More... |
|
Package Attributes |
|
| IDictionary< int, IList< String[]> > | allNames |
| Name records grouped by OpenType name ID. More... |
|
Stores naming and style information read from a font program.
|
inlinevirtual |
Checks whether the font's embedding permissions allow embedding.
true when embedding is permitted
|
inlinevirtual |
Gets the CID font name.
null when unavailable
|
inlinevirtual |
Gets the font family names.
null when unavailable
|
inlinevirtual |
Get extra family names.
null when unavailable
|
inlinevirtual |
Gets the PostScript font name.
null when unavailable
|
inlinevirtual |
Gets font stretch in css notation (font-stretch property).
|
inlinevirtual |
Gets the normalized font weight.
|
inlinevirtual |
Gets the full font names.
null when unavailable
|
inlinepackagevirtual |
Gets the raw head.macStyle bit field.
|
inlinevirtual |
Extracts the names of the font in all the languages available.
| id | the name id to retrieve in OpenType notation |
String[][] if any names exists, otherwise null.
|
inlinevirtual |
Gets the font style name.
|
inlinevirtual |
Gets the first available subfamily name.
|
inlinevirtual |
Checks the bold bit in the Macintosh style flags.
true when bold is declared
|
inlinevirtual |
Checks the condensed bit in the Macintosh style flags.
true when condensed is declared
|
inlinevirtual |
Checks the extended bit in the Macintosh style flags.
true when extended is declared
|
inlinevirtual |
Checks the italic bit in the Macintosh style flags.
true when italic is declared
|
inlinevirtual |
Checks the outline bit in the Macintosh style flags.
true when outline is declared
|
inlinevirtual |
Checks the shadow bit in the Macintosh style flags.
true when shadow is declared
|
inlinevirtual |
Checks the underline bit in the Macintosh style flags.
true when underline is declared
|
inlinepackagevirtual |
Sets the names grouped by OpenType name ID.
| allNames | names grouped by OpenType name ID |
|
inlinepackagevirtual |
Sets the embedding permission.
| allowEmbedding |
true when embedding is permitted
|
inlinepackagevirtual |
Sets the CID font name.
| cidFontName | OpenType name ID 20 value |
|
inlinepackagevirtual |
Sets a single font family name.
| familyName | preferred family name |
|
inlinepackagevirtual |
Sets the font family-name records.
| familyName | records in platform, encoding, language, name order |
|
inlinepackagevirtual |
Set extra family name used for better fonts match.
| familyName2 | family name to set. |
|
inlinepackagevirtual |
Sets the PostScript font name.
| psFontName | PostScript name |
|
inlinepackagevirtual |
Sets font stretch in css notation (font-stretch property).
| fontStretch |
|
inlinepackagevirtual |
Sets font weight.
| weight | integer form 100 to 900. See iText.IO.Font.Constants.FontWeights. |
|
inlinepackagevirtual |
Sets a single full name.
| fullName | font full name |
|
inlinepackagevirtual |
Sets the full-name records.
| fullName | records in platform, encoding, language, name order |
|
inlinepackagevirtual |
Sets Open Type head.macStyle.
Sets Open Type head.macStyle.
iText.IO.Font.Constants.FontMacStyleFlags
| macStyle | macStyle flag |
|
inlinepackagevirtual |
Sets the font style string.
| style | style name |
|
inlinepackagevirtual |
Sets a single subfamily name.
| subfamily | style subfamily name |
|
inlinepackagevirtual |
Sets the subfamily name records.
| subfamily | records in platform, encoding, language, name order |
|
package |
Name records grouped by OpenType name ID.