Module fonts::font_cache_thread
source · Structs§
- This data structure represents the various optional descriptors that can be applied to a
@font-face
rule in CSS. These are used to create aFontTemplate
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. - The font cache thread itself. It maintains a list of reference counted font templates that are currently in use.
- The public interface to the font cache thread, used by per-thread
FontContext
instances (via theFontSource
trait), and also by layout.
Enums§
- Commands that the FontContext sends to the font cache thread.
- A version of
FontStyle
from Stylo that is serializable. Normally this is not because the specified version ofFontStyle
contains floats.