Project: /_project.yaml Book: /_book.yaml
Defined in fuchsia.fonts.experimental/provider.test.fidl
Experimental additions to Provider
.
Get an exact font by asset ID. This would typically be called after ListTypefaces
, e.g. as part of a font selection interface. As with fuchsia.fonts.GetTypeface
, it is the caller's responsibility to properly parse the file.
Possible errors: NOT_FOUND
if no asset with the requested id
exists. INTERNAL
if the requested id
exists, but the asset failed to load.
Eventually this should probably be folded into GetTypeface
.
Creates a ListTypefacesIterator
instance that will return a paginated list of fonts matching request
.
Possible errors: INTERNAL
if something bad happens.
Returns a TypefaceInfo
for each font in the requested family
. The results' family
fields will hold the canonical family name, even if this method is called with an alias.
This method should be called only if the caller knows family
exists. Requesting a family that does not exist results in an error. To search for fonts by family name (or alias), use ListTypefaces
instead.
Possible errors: NOT_FOUND
if no family name or alias matches the requested family
.
Defined in fuchsia.fonts.experimental/provider.test.fidl
Returns the next chunk of TypefaceInfo
for all typefaces that match the bound ListTypefacesRequest
. If response.results
is empty, no results remain.
Defined in fuchsia.fonts.experimental/generated
Defined in fuchsia.fonts.experimental/generated
Defined in fuchsia.fonts.experimental/generated
Defined in fuchsia.fonts.experimental/provider.test.fidl
Represents a range of acceptable Slant
s. Both bounds are inclusive.
Defined in fuchsia.fonts.experimental/provider.test.fidl
Represents a range of acceptable Weight
s. Both bounds are inclusive.
Defined in fuchsia.fonts.experimental/provider.test.fidl
Represents a range of acceptable Width
s. Both bounds are inclusive.
Type: uint32
Defined in fuchsia.fonts.experimental/provider.test.fidl
Defined in fuchsia.fonts.experimental/provider.test.fidl
Query parameters for ListTypefaces
. Results must match all included fields. All fields are optional; omitted fields will match any font.
Defined in fuchsia.fonts.experimental/provider.test.fidl
Defined in fuchsia.fonts.experimental/provider.test.fidl
Collection of typeface metadata that should be sufficient for clients to perform some kind of selection (likely via human) and request an exact font.
Defined in fuchsia.fonts.experimental/generated
Defined in fuchsia.fonts.experimental/generated
Defined in fuchsia.fonts.experimental/generated
Type: uint32
Note: Matching will always ignore case.