FontConfigs Class

FontConfigs class

Specifies font settings


type FontConfigs struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewFontConfigsDefault constructor.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
FontConfigs_IsFontAvailableIndicate whether the font is available.
FontConfigs_GetDefaultFontNameGets or sets the default font name.
FontConfigs_SetDefaultFontNameGets or sets the default font name.
FontConfigs_GetPreferSystemFontSubstitutesIndicate whether to use system font substitutes first or not when a font is not presented and the substitute of this font is not set.e.g. On Ubuntu, “Arial” font is generally substituted by “Liberation Sans”.Default value is false.
FontConfigs_SetPreferSystemFontSubstitutesIndicate whether to use system font substitutes first or not when a font is not presented and the substitute of this font is not set.e.g. On Ubuntu, “Arial” font is generally substituted by “Liberation Sans”.Default value is false.
FontConfigs_SetFontFolderSets the fonts folder