Namespace: PdfSharp.Drawing
Specifies a physical font face that corresponds to a font file on the disk or in memory.
public sealed class XGlyphTypeface
Inheritance Object → XGlyphTypeface
Gets the font family of this glyph typeface.
public XFontFamily FontFamily { get; }
Gets the font source of this glyph typeface.
public XFontSource FontSource { get; }
Gets the English family name of the font, for example “Arial”.
public string FamilyName { get; private set; }
Gets the English subfamily name of the font, for example “Bold”.
public string StyleName { get; private set; }
Gets the English display name of the font, for example “Arial italic”.
public string DisplayName { get; private set; }
Gets a value indicating whether the font weight is bold.
public bool IsBold { get; private set; }
Gets a value indicating whether the font style is italic.
public bool IsItalic { get; private set; }
Gets a value indicating whether the style bold, italic, or both styles must be simulated.
public XStyleSimulations StyleSimulations { get; }
internal static XGlyphTypeface GetOrCreateFrom(string familyName, FontResolvingOptions fontResolvingOptions)
familyName
String
fontResolvingOptions
FontResolvingOptions
internal string GetBaseName()
Computes the bijective key for a typeface.
internal static string ComputeKey(string familyName, FontResolvingOptions fontResolvingOptions)
familyName
String
fontResolvingOptions
FontResolvingOptions
Computes the bijective key for a typeface.
internal static string ComputeKey(string familyName, bool isBold, bool isItalic)
familyName
String
isBold
Boolean
isItalic
Boolean