Namespaces
Enumerations
enum FallbackGroup
| Name | Value |
|---|---|
| kNone | 0u |
| kSerif | 1u |
| kSansSerif | 2u |
| kMonospace | 3u |
| kCursive | 4u |
| kFantasy | 5u |
Deprecated. See `GenericFontFamily`.
Defined at line 117 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/common_types.h
enum CacheMissPolicy
| Name | Value |
|---|---|
| kBlockUntilDownloaded | 1u |
| kReturnEmptyResponse | 2u |
| kReturnFallback | 3u |
Options for what the font server should do if the client requests a typeface that is not yet
cached.
Defined at line 150 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/common_types.h
enum Slant
| Name | Value |
|---|---|
| kUpright | 1u |
| kItalic | 2u |
| kOblique | 3u |
The type of slant of a type face.
Defined at line 191 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/common_types.h
enum Width
| Name | Value |
|---|---|
| kUltraCondensed | 1u |
| kExtraCondensed | 2u |
| kCondensed | 3u |
| kSemiCondensed | 4u |
| kNormal | 5u |
| kSemiExpanded | 6u |
| kExpanded | 7u |
| kExtraExpanded | 8u |
| kUltraExpanded | 9u |
Horizontal width class of the glyphs.
See https://docs.microsoft.com/en-us/typography/opentype/spec/os2#uswidthclass.
Defined at line 223 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/common_types.h
enum GenericFontFamily
| Name | Value |
|---|---|
| kSerif | 1u |
| kSansSerif | 2u |
| kMonospace | 3u |
| kCursive | 4u |
| kFantasy | 5u |
| kSystemUi | 6u |
| kEmoji | 7u |
| kMath | 8u |
| kFangsong | 9u |
Generic groups of font families that can serve as fallbacks for a specific family.
Every font family belongs to some _generic_ font family (see examples below).
If an exact requested family is unavailable but a fallback group is specified in the request,
the provider may return some other family that belongs to the fallback group. For example, if
the client requests the "Arial" family with a `SANS_SERIF` fallback, and "Arial" is unavailable,
the provider may return another available sans serif family, such as "Roboto Regular", instead.
See also:
https://www.w3.org/TR/css-fonts-4/#generic-font-families
Defined at line 280 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/common_types.h
Records
-
class FamilyInfo -
class FamilyName -
class FontFamilyInfo -
class FontSetEventListener -
class FontSetEventListenerOnFontSetUpdatedRequest -
class FontSetUpdatedEvent -
class Provider -
class ProviderGetFamilyInfoRequest -
class ProviderGetFamilyInfoResponse -
class ProviderGetFontFamilyInfoRequest -
class ProviderGetFontFamilyInfoResponse -
class ProviderGetFontRequest -
class ProviderGetFontResponse -
class ProviderGetTypefaceRequest -
class ProviderGetTypefaceResponse -
class ProviderRegisterFontSetEventListenerRequest -
class Request -
class Response -
class Style -
class Style2 -
class TypefaceQuery -
class TypefaceRequest -
class TypefaceRequestFlags -
class TypefaceResponse