Crate fidl_fuchsia_fonts_common

Source

Structs§

FamilyInfo
Deprecated. See FontFamilyInfo.
FamilyName
The name of a family of fonts.
FontFamilyInfo
Information about a font family that can be requested using Provider.GetFontFamilyInfo().
FontSetEventListenerOnFontSetUpdatedRequest
FontSetUpdatedEvent
An event indicating that the set of fonts available in the Provider has changed. This is most frequently caused by an ephemeral font being downloaded and cached. Clients should consider re-requesting fonts and re-rendering any displayed text.
ProviderGetFamilyInfoRequest
ProviderGetFamilyInfoResponse
ProviderGetFontFamilyInfoRequest
ProviderGetFontFamilyInfoResponse
ProviderGetFontRequest
ProviderGetTypefaceRequest
Request
Deprecated. See FaceRequest.
Style
Deprecated. See Style2.
Style2
Style properties that can be used when requesting or describing a type face.
TypefaceQuery
Parameters for looking up a typeface.
TypefaceRequest
Parameters for requesting a typeface.
TypefaceRequestFlags
Boolean flags for TypefaceRequest.

Enums§

CacheMissPolicy
Options for what the font server should do if the client requests a typeface that is not yet cached.
FallbackGroup
Deprecated. See GenericFontFamily.
GenericFontFamily
Generic groups of font families that can serve as fallbacks for a specific family.
Slant
The type of slant of a type face.
Width
Horizontal width class of the glyphs.

Constants§

DEFAULT_SLANT
Default slant of a typeface when none is specified.
DEFAULT_WEIGHT
Default weight of a typeface when none is specified.
DEFAULT_WIDTH
Default width of a typeface when none is specified.
MAX_FACE_QUERY_CODE_POINTS
The maximum number of code points allowed in a typeface query.
MAX_FACE_QUERY_LANGUAGES
The maximum number of preferred languages allowed in a typeface query.
MAX_FAMILY_NAME_LENGTH
The maximum length of a font family name.
MAX_FAMILY_STYLES
The maximum number of styles that will be returned for a font family.
MAX_POSTSCRIPT_TYPEFACE_NAME_LENGTH
The maximum length of a typeface’s Postscript name. The limit comes from the OpenType name table specification.
MAX_TYPEFACE_NAME_LENGTH
The maximum length of a typeface’s full name.
REQUEST_FLAG_EXACT_MATCH
Deprecated. See FaceRequestFlags. Disables approximate style matching. The service will only return font that matches the requested style exactly.
REQUEST_FLAG_NO_FALLBACK
Deprecated. See FaceRequestFlags. Disables font fallback. The service won’t try to search fallback font set if there is no requested font family or if it doesn’t contain requested character.
WEIGHT_BLACK
WEIGHT_BOLD
WEIGHT_EXTRA_BOLD
WEIGHT_EXTRA_LIGHT
WEIGHT_LIGHT
WEIGHT_MEDIUM
WEIGHT_NORMAL
WEIGHT_SEMI_BOLD
WEIGHT_THIN

Type Aliases§

Weight