Namespace: PdfSharp.Fonts
Provides functionality that converts a requested typeface into a physical font.
public interface IFontResolver : IFontResolverMarker
Implements IFontResolverMarker
Converts specified information about a required typeface into a specific font.
FontResolverInfo ResolveTypeface(string familyName, bool isBold, bool isItalic)
familyName String
Name of the font family.
isBold Boolean
Set to true when a bold fontface is required.
isItalic Boolean
Set to true when an italic fontface is required.
FontResolverInfo
Information about the physical font, or null if the request cannot be satisfied.
Gets the bytes of a physical font with specified face name.
Byte[] GetFont(string faceName)
faceName String
A face name previously retrieved by ResolveTypeface.