Structs§
- Family
Info - Deprecated. See
FontFamilyInfo
. - Family
Name - The name of a family of fonts.
- Font
Family Info - Information about a font family that can be requested using
Provider.GetFontFamilyInfo()
. - Font
SetEvent Listener Control Handle - Font
SetEvent Listener Event Stream - Font
SetEvent Listener Marker - Font
SetEvent Listener OnFont SetUpdated Request - Font
SetEvent Listener OnFont SetUpdated Responder - Font
SetEvent Listener Proxy - Font
SetEvent Listener Request Stream - A Stream of incoming requests for fuchsia.fonts/FontSetEventListener.
- Font
SetEvent Listener Synchronous Proxy - Font
SetUpdated Event - 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. - Provider
Control Handle - Provider
Event Stream - Provider
GetFamily Info Request - Provider
GetFamily Info Responder - Provider
GetFamily Info Response - Provider
GetFont Family Info Request - Provider
GetFont Family Info Responder - Provider
GetFont Family Info Response - Provider
GetFont Request - Provider
GetFont Responder - Provider
GetFont Response - Provider
GetTypeface Request - Provider
GetTypeface Responder - Provider
GetTypeface Response - Provider
Marker - Provider
Proxy - Provider
Register Font SetEvent Listener Request - Provider
Register Font SetEvent Listener Responder - Provider
Request Stream - A Stream of incoming requests for fuchsia.fonts/Provider.
- Provider
Synchronous Proxy - Request
- Deprecated. See
FaceRequest
. - Response
- Style
- Deprecated.
See
Style2
. - Style2
- Style properties that can be used when requesting or describing a type face.
- Typeface
Query - Parameters for looking up a typeface.
- Typeface
Request - Parameters for requesting a typeface.
- Typeface
Request Flags - Boolean flags for
TypefaceRequest
. - Typeface
Response - 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§
- Cache
Miss Policy - Options for what the font server should do if the client requests a typeface that is not yet cached.
- Fallback
Group - Deprecated. See
GenericFontFamily
. - Font
SetEvent Listener Event - Font
SetEvent Listener Request - Protocol for listening to possible events that may occur in the
Provider
’s set of fonts. - Generic
Font Family - Generic groups of font families that can serve as fallbacks for a specific family.
- Provider
Event - Provider
Request - 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