Class SvgFontManager
- Namespace
- Svg
- Assembly
- Svg.dll
Manages access to SystemFonts and any privately loaded fonts. When a font is requested in the render process, if the font is not found as an embedded SvgFont, the render process will SvgFontManager.FindFont method.
public class SvgFontManager : IDisposable
- Inheritance
-
SvgFontManager
- Implements
- Inherited Members
Properties
LocalizedFamilyNames
public static List<string[]> LocalizedFamilyNames { get; }
Property Value
PrivateFontDataList
public static List<byte[]> PrivateFontDataList { get; }
Property Value
PrivateFontPathList
public static List<string> PrivateFontPathList { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
FindFont(string)
This method searches a dictionary of fonts (pre loaded with the system fonts). If a font can't be found and a callback has been provided - then the callback should perform any validation and return a font (or null if not found/error). Where a font can't be located it is the responsibility of the caller to perform any exception handling.
public FontFamily FindFont(string name)
Parameters
Returns
- FontFamily
An FontFamily of the loaded font or null is not located.