Documentation
¶
Overview ¶
Package fontconfig lets a text.Collection use libfontconfig to match fonts, as Flutter's Linux engine does: the family names, the user's UI font, and the emoji, CJK and per-language preferences then follow the fontconfig settings. The binding itself is in internal/platform/linux/fontconfig (SPEC §8.1: C libraries are called only under internal/platform).
Flutter: no counterpart
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
Matcher is a text.Matcher over libfontconfig.
Flutter: no counterpart
func Open ¶
Open loads libfontconfig and the user's configuration. It fails like fontconfig.Open: with FontconfigLoadFailed when the library is not there, so the caller can use the font scan of the text.Collection instead.
Flutter: no counterpart