Crate fidl_fuchsia_fonts

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().
FontSetEventListenerControlHandle
FontSetEventListenerEventStream
FontSetEventListenerMarker
FontSetEventListenerOnFontSetUpdatedRequest
FontSetEventListenerOnFontSetUpdatedResponder
FontSetEventListenerProxy
FontSetEventListenerRequestStream
A Stream of incoming requests for fuchsia.fonts/FontSetEventListener.
FontSetEventListenerSynchronousProxy
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.
ProviderControlHandle
ProviderEventStream
ProviderGetFamilyInfoRequest
ProviderGetFamilyInfoResponder
ProviderGetFamilyInfoResponse
ProviderGetFontFamilyInfoRequest
ProviderGetFontFamilyInfoResponder
ProviderGetFontFamilyInfoResponse
ProviderGetFontRequest
ProviderGetFontResponder
ProviderGetFontResponse
ProviderGetTypefaceRequest
ProviderGetTypefaceResponder
ProviderGetTypefaceResponse
ProviderMarker
ProviderProxy
ProviderRegisterFontSetEventListenerRequest
ProviderRegisterFontSetEventListenerResponder
ProviderRequestStream
A Stream of incoming requests for fuchsia.fonts/Provider.
ProviderSynchronousProxy
Request
Deprecated. See FaceRequest.
Response
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.
TypefaceResponse
Response to a TypefaceRequest. Contains the digital font file and metadata corresponding to a returned typeface. Clients are expected to cache the results if they plan to reuse them.

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.
FontSetEventListenerEvent
FontSetEventListenerRequest
Protocol for listening to possible events that may occur in the Provider’s set of fonts.
GenericFontFamily
Generic groups of font families that can serve as fallbacks for a specific family.
ProviderEvent
ProviderRequest
Provider of digital font files and metadata.
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

Traits§

FontSetEventListenerProxyInterface
ProviderProxyInterface

Type Aliases§

Weight