Modulesยง
- font_
descriptor ๐ - font_
identifier ๐ - font_
template ๐ - system_
font_ ๐service_ proxy
Structsยง
- Byte
Index - An index that refers to a byte offset in a text run. This could the middle of a glyph.
- CSSFont
Face Descriptors - This data structure represents the various optional descriptors that can be
applied to a
@font-face
rule in CSS. These are used to create a [FontTemplate
] from the given font data used as the source of the@font-face
rule. If values like weight, stretch, and style are not specified they are initialized based on the contents of the font itself. - Font
Data - A data structure to store data for fonts. Data is stored internally in an
IpcSharedMemory
handle, so that it can be sent without serialization across IPC channels. - Font
Data AndIndex - Raw font data and an index
- Font
Descriptor FontDescriptor
describes the parameters of aFont
. It represents rendering a given font template at a particular size, with a particular font-variant-caps applied, etc. This contrasts withFontTemplateDescriptor
in that the latter represents only the parameters inherent in the font data (weight, stretch, etc.).- Font
Template - This describes all the information needed to create font instance handles. It contains a unique FontTemplateData structure that is platform specific.
- Font
Template Descriptor - Describes how to select a font from a given family. This is very basic at the moment and needs to be expanded or refactored when we support more of the font styling parameters.
- Font
Template Ref - A reference to a
FontTemplate
with shared ownership and mutability. - Local
Font Identifier - An identifier for a local font on systems using Freetype.
- Lowercase
Font Family Name - System
Font Service Proxy - The public interface to the [
SystemFontService
], used by per-DocumentFontContext
instances. - System
Font Service Proxy Sender
Enumsยง
- Computed
Font Style Descriptor - A version of
FontStyle
from Stylo that is serializable. Normally this is not because the specified version ofFontStyle
contains floats. - Font
Data Error - Font
Identifier - System
Font Service Message - Commands that the
FontContext
sends to theSystemFontService
.