Namespace: PdfSharp.Fonts
Default platform specific font resolving.
public static class PlatformFontResolver
Inheritance Object → PlatformFontResolver
Resolves the typeface by generating a font resolver info.
public static FontResolverInfo ResolveTypeface(string familyName, bool isBold, bool isItalic)
familyName String
Name of the font family.
isBold Boolean
Indicates whether a bold font is requested.
isItalic Boolean
Indicates whether an italic font is requested.
Internal implementation.
internal static FontResolverInfo ResolveTypeface(string familyName, FontResolvingOptions fontResolvingOptions, string typefaceKey)
familyName String
fontResolvingOptions FontResolvingOptions
typefaceKey String
Creates an XGlyphTypeface.
internal static XFontSource CreateFontSource(string familyName, FontResolvingOptions fontResolvingOptions, XFontFamily& fontFamily, XTypeface& typeface, XGlyphTypeface& glyphTypeface, string typefaceKey)
familyName String
fontResolvingOptions FontResolvingOptions
fontFamily XFontFamily&
typeface XTypeface&
glyphTypeface XGlyphTypeface&
typefaceKey String