A font family is a collection of font faces (Font objects). A font family is e.g. Arial, and it's faces are e.g. bold and italic variants.
Public Member Functions | |
FontFamily (string name) | |
void | Add (FontFace font) |
Adds the given font face to this family. More... | |
Glyph | GetNotDefined (int styleCode) |
Gets the .notdef glyph from this family. Tries to get it in the given style; uses regular if not found. More... | |
Glyph | GetGlyph (int charcode, int styleCode) |
Gets or synthesises a glyph for the given style settings which include weight and italic. Style code 400 means regular. More... | |
Glyph | GetGlyph (int charcode, int styleCode, out bool firstTime) |
Gets or synthesises a glyph for the given style settings which include weight and italic. Style code 400 means regular. More... | |
Glyph | GetGlyph (int charcode, int styleCode, int synthFlags) |
Gets or synthesises a glyph for the given style settings which include weight and italic. Style code 400 means regular. More... | |
FontFace | GetFace (int styleCode, int synthFlags) |
Gets or creates the most suitable font face for the given style. More... | |
Glyph | GetGlyph (int charcode, int styleCode, int synthFlags, out bool firstTime) |
Gets or synthesises a glyph for the given style settings which include weight and italic. Style code 400 means regular. More... | |
Public Attributes | |
string | Name |
The name of this family. More... | |
FontFace | Regular |
The regular "default" font. Always set (first font to join by default, overridden if a better face occurs). More... | |
bool | InvertedNormals =false |
See InvertNormals. More... | |
List< FontFace > | FontFaces =new List<FontFace>() |
All font faces in this family More... | |
|
inline |
|
inline |
Adds the given font face to this family.
|
inline |
Gets or creates the most suitable font face for the given style.
|
inline |
Gets or synthesises a glyph for the given style settings which include weight and italic. Style code 400 means regular.
|
inline |
Gets or synthesises a glyph for the given style settings which include weight and italic. Style code 400 means regular.
firstTime | True if this glyph was seen for the first time. |
|
inline |
Gets or synthesises a glyph for the given style settings which include weight and italic. Style code 400 means regular.
|
inline |
Gets or synthesises a glyph for the given style settings which include weight and italic. Style code 400 means regular.
firstTime | True if this glyph was seen for the first time. |
|
inline |
Gets the .notdef glyph from this family. Tries to get it in the given style; uses regular if not found.
bool InfiniText.FontFamily.InvertedNormals =false |
See InvertNormals.
string InfiniText.FontFamily.Name |
The name of this family.
FontFace InfiniText.FontFamily.Regular |
The regular "default" font. Always set (first font to join by default, overridden if a better face occurs).