VectSharp 2.6.1
A light library for C# vector graphics
|
A default font library that resolves standard families using the embedded fonts. More...
Public Member Functions | |||||||
override FontFamily | ResolveFontFamily (string fontFamily) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised.
| |||||||
override FontFamily | ResolveFontFamily (FontFamily.StandardFontFamilies standardFontFamily) | ||||||
Create a new font family from the specified standard font family name.
| |||||||
Public Member Functions inherited from VectSharp.FontLibrary | |||||||
abstract FontFamily | ResolveFontFamily (string fontFamily) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised.
| |||||||
abstract FontFamily | ResolveFontFamily (FontFamily.StandardFontFamilies standardFontFamily) | ||||||
Create a new font family from the specified standard font family name.
| |||||||
virtual FontFamily | ResolveFontFamily (string fontFamily, params string[] fallback) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, an exception might be raised.
| |||||||
virtual FontFamily | ResolveFontFamily (string fontFamily, FontFamily.StandardFontFamilies finalFallback, params string[] fallback) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, instantiate a standard font family using the finalFallback .
| |||||||
FontFamily | ResolveFontFamily (string fontFamily) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised. More... | |||||||
FontFamily | ResolveFontFamily (string fontFamily, params string[] fallback) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, an exception might be raised. More... | |||||||
FontFamily | ResolveFontFamily (FontFamily.StandardFontFamilies standardFontFamily) | ||||||
Create a new font family from the specified standard font family name. More... | |||||||
FontFamily | ResolveFontFamily (string fontFamily, FontFamily.StandardFontFamilies finalFallback, params string[] fallback) | ||||||
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, instantiate a standard font family using the finalFallback . More... | |||||||
A default font library that resolves standard families using the embedded fonts.
Definition at line 461 of file FontLibrary.cs.
|
virtual |
Create a new font family from the specified standard font family name.
standardFontFamily | The standard name of the font family. |
Implements VectSharp.FontLibrary.
Definition at line 523 of file FontLibrary.cs.
|
virtual |
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised.
fontFamily | The name of the font family to create, or the path to a TTF file. |
Implements VectSharp.FontLibrary.
Definition at line 464 of file FontLibrary.cs.