Namespaces
Enumerations
enum class FallbackGroup : uint32_t
| Name | Value |
|---|---|
| NONE | 0u |
| SERIF | 1u |
| SANS_SERIF | 2u |
| MONOSPACE | 3u |
| CURSIVE | 4u |
| FANTASY | 5u |
Deprecated. See `GenericFontFamily`.
Defined at line 31 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
enum class TypefaceRequestFlags : uint32_t
| Name | Value | Comments |
|---|---|---|
| EXACT_FAMILY | 1u |
Disables font family fallback. The service won't try to search the fallback font set if the |
| EXACT_STYLE | 2u |
Disables approximate style matching. The service will only return a face that matches the |
Boolean flags for `TypefaceRequest`.
Defined at line 67 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
enum class CacheMissPolicy : uint32_t
| Name | Value | Comments |
|---|---|---|
| BLOCK_UNTIL_DOWNLOADED | 1u |
The server will attempt to load the uncached typeface before providing a response. This is
This option is not recommended for synchronous clients that block rendering while waiting |
| RETURN_EMPTY_RESPONSE | 2u |
The server will tell the client that the uncached typeface is unavailable, by returning an
This is similar to `font-display: block` in CSS. |
| RETURN_FALLBACK | 3u |
The server will attempt to provide a cached fallback typeface (if allowed by the fallback
This is similar to `font-display: swap` in CSS. |
Options for what the font server should do if the client requests a typeface that is not yet
cached.
Defined at line 129 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
enum class Slant : uint32_t
| Name | Value | Comments |
|---|---|---|
| UPRIGHT | 1u |
The default; upright glyphs. |
| ITALIC | 2u |
Specially designed, slanted and slightly calligraphic glyphs. |
| OBLIQUE | 3u |
Skewed glyphs. Oblique usually means an geometric transformation of the upright variant, |
The type of slant of a type face.
Defined at line 164 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
enum class Width : uint32_t
| Name | Value | Comments |
|---|---|---|
| ULTRA_CONDENSED | 1u |
50% of normal width |
| EXTRA_CONDENSED | 2u |
62.5% of normal width |
| CONDENSED | 3u |
75% of normal width |
| SEMI_CONDENSED | 4u |
87.5% of normal width |
| NORMAL | 5u |
Normal width |
| SEMI_EXPANDED | 6u |
112.5% of normal width |
| EXPANDED | 7u |
125% of normal width |
| EXTRA_EXPANDED | 8u |
150% of normal width |
| ULTRA_EXPANDED | 9u |
200% of normal width |
Horizontal width class of the glyphs.
See https://docs.microsoft.com/en-us/typography/opentype/spec/os2#uswidthclass.
Defined at line 194 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
enum class GenericFontFamily : uint32_t
| Name | Value | Comments |
|---|---|---|
| SERIF | 1u |
Glyphs have little "serifs", hooks, or notches at the ends of most strokes. |
| SANS_SERIF | 2u |
Glyphs that have no serifs at the ends of most strokes. |
| MONOSPACE | 3u |
Fixed-width fonts. |
| CURSIVE | 4u |
Handwritten or cursive fonts. |
| FANTASY | 5u |
Decorative fonts. |
| SYSTEM_UI | 6u |
The default user interface font on the target platform.
Not commonly used. |
| EMOJI | 7u |
Fonts that are used specifically for rendering emoji code points. |
| MATH | 8u |
Fonts that are used primarily for rendering mathematical expressions.
Not commonly used. |
| FANGSONG | 9u |
A group of Chinese fonts between serif and cursive, often used for official Chinese
Not commonly used. |
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 247 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
Records
-
class FamilyInfo -
class FamilyName -
class FontFamilyInfo -
class FontSetEventListener -
class FontSetEventListenerOnFontSetUpdatedRequest -
class FontSetEventListener_EventSender -
class FontSetEventListener_Proxy -
class FontSetEventListener_RequestDecoder -
class FontSetEventListener_RequestEncoder -
class FontSetEventListener_ResponseDecoder -
class FontSetEventListener_ResponseEncoder -
class FontSetEventListener_Stub -
class FontSetEventListener_Sync -
class FontSetEventListener_SyncProxy -
class FontSetUpdatedEvent -
class Provider -
class ProviderGetFamilyInfoRequest -
class ProviderGetFamilyInfoResponse -
class ProviderGetFontFamilyInfoRequest -
class ProviderGetFontFamilyInfoResponse -
class ProviderGetFontRequest -
class ProviderGetFontResponse -
class ProviderGetTypefaceRequest -
class ProviderGetTypefaceResponse -
class ProviderRegisterFontSetEventListenerRequest -
class Provider_EventSender -
class Provider_Proxy -
class Provider_RequestDecoder -
class Provider_RequestEncoder -
class Provider_ResponseDecoder -
class Provider_ResponseEncoder -
class Provider_Stub -
class Provider_Sync -
class Provider_SyncProxy -
class Request -
class Response -
class Style -
class Style2 -
class TypefaceQuery -
class TypefaceRequest -
class TypefaceResponse
Functions
-
zx_status_t Clone (::fuchsia::fonts::FallbackGroup value, ::fuchsia::fonts::FallbackGroup * result)Defined at line 46 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
::fuchsia::fonts::TypefaceRequestFlags operator| (::fuchsia::fonts::TypefaceRequestFlags _lhs, ::fuchsia::fonts::TypefaceRequestFlags _rhs)Defined at line 81 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
::fuchsia::fonts::TypefaceRequestFlags & operator|= (::fuchsia::fonts::TypefaceRequestFlags & _lhs, ::fuchsia::fonts::TypefaceRequestFlags _rhs)Defined at line 86 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
::fuchsia::fonts::TypefaceRequestFlags operator& (::fuchsia::fonts::TypefaceRequestFlags _lhs, ::fuchsia::fonts::TypefaceRequestFlags _rhs)Defined at line 92 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
::fuchsia::fonts::TypefaceRequestFlags & operator&= (::fuchsia::fonts::TypefaceRequestFlags & _lhs, ::fuchsia::fonts::TypefaceRequestFlags _rhs)Defined at line 98 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
::fuchsia::fonts::TypefaceRequestFlags operator^ (::fuchsia::fonts::TypefaceRequestFlags _lhs, ::fuchsia::fonts::TypefaceRequestFlags _rhs)Defined at line 104 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
::fuchsia::fonts::TypefaceRequestFlags & operator^= (::fuchsia::fonts::TypefaceRequestFlags & _lhs, ::fuchsia::fonts::TypefaceRequestFlags _rhs)Defined at line 110 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
::fuchsia::fonts::TypefaceRequestFlags operator~ (::fuchsia::fonts::TypefaceRequestFlags _value)Defined at line 116 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (::fuchsia::fonts::TypefaceRequestFlags value, ::fuchsia::fonts::TypefaceRequestFlags * result)Defined at line 121 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (::fuchsia::fonts::CacheMissPolicy value, ::fuchsia::fonts::CacheMissPolicy * result)Defined at line 153 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (::fuchsia::fonts::Slant value, ::fuchsia::fonts::Slant * result)Defined at line 177 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (::fuchsia::fonts::Width value, ::fuchsia::fonts::Width * result)Defined at line 224 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (::fuchsia::fonts::GenericFontFamily value, ::fuchsia::fonts::GenericFontFamily * result)Defined at line 293 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::FontSetEventListenerOnFontSetUpdatedRequest & _value, ::fuchsia::fonts::FontSetEventListenerOnFontSetUpdatedRequest * _result)Defined at line 378 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::Response & _value, ::fuchsia::fonts::Response * _result)Defined at line 447 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::ProviderGetFontResponse & _value, ::fuchsia::fonts::ProviderGetFontResponse * _result)Defined at line 468 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::ProviderGetFamilyInfoRequest & _value, ::fuchsia::fonts::ProviderGetFamilyInfoRequest * _result)Defined at line 491 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::ProviderGetFamilyInfoResponse & _value, ::fuchsia::fonts::ProviderGetFamilyInfoResponse * _result)Defined at line 512 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::ProviderRegisterFontSetEventListenerRequest & _value, ::fuchsia::fonts::ProviderRegisterFontSetEventListenerRequest * _result)Defined at line 535 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::FamilyName & _value, ::fuchsia::fonts::FamilyName * _result)Defined at line 581 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::ProviderGetFontFamilyInfoRequest & _value, ::fuchsia::fonts::ProviderGetFontFamilyInfoRequest * _result)Defined at line 602 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::ProviderGetTypefaceResponse & _value, ::fuchsia::fonts::ProviderGetTypefaceResponse * _result)Defined at line 787 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::Request & _value, ::fuchsia::fonts::Request * _result)Defined at line 863 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::ProviderGetFontRequest & _value, ::fuchsia::fonts::ProviderGetFontRequest * _result)Defined at line 884 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::Style & _value, ::fuchsia::fonts::Style * _result)Defined at line 911 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::FamilyInfo & _value, ::fuchsia::fonts::FamilyInfo * _result)Defined at line 942 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::ProviderGetFontFamilyInfoResponse & _value, ::fuchsia::fonts::ProviderGetFontFamilyInfoResponse * _result)Defined at line 1254 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::fonts::ProviderGetTypefaceRequest & _value, ::fuchsia::fonts::ProviderGetTypefaceRequest * _result)Defined at line 1779 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h