Interface IFontResolver
Provides functionality that converts a requested typeface into a physical font.
public interface IFontResolver : IFontResolverMarkerMethods
GetFont(string)
Gets the bytes of a physical font with specified face name.
byte[]? GetFont(string faceName)Parameters
- faceNamestring
- A face name previously retrieved by ResolveTypeface. 
Returns
- byte[]
ResolveTypeface(string, bool, bool)
Converts specified information about a required typeface into a specific font.
FontResolverInfo? ResolveTypeface(string familyName, bool bold, bool italic)Parameters
- familyNamestring
- Name of the font family. 
- boldbool
- Set to - truewhen a bold font face is required.
- italicbool
- Set to - truewhen an italic font face is required.
Returns
- FontResolverInfo
- Information about the physical font, or null if the request cannot be satisfied.