#include <font_resolver.hpp>
◆ color_font_active()
| bool pulp::canvas::ResolvedFont::color_font_active |
( |
| ) |
const |
|
noexcept |
◆ has_typeface()
| bool pulp::canvas::ResolvedFont::has_typeface |
( |
| ) |
const |
|
inlinenoexcept |
◆ resolved()
| bool pulp::canvas::ResolvedFont::resolved |
( |
| ) |
const |
|
inlinenoexcept |
◆ supports_color_font()
| bool pulp::canvas::ResolvedFont::supports_color_font |
( |
| ) |
const |
|
noexcept |
Does the resolved typeface carry color-glyph tables?
Checks for any of: COLR — v0/v1 vector color (Microsoft / OpenType) CPAL — color palette companion to COLR CBDT / CBLC — bitmap color emoji (Google / Apple) sbix — Apple bitmap strikes (Apple Color Emoji) SVG — SVG-in-OT (Adobe / Mozilla) Returns false when there's no typeface or no color tables. Independent of color_font_mode — that says what the caller wants; this says what the font actually has. Always available (returns false on non-Skia builds where no typeface is loaded).
◆ aa_mode
AA/hinting policy carried over from the originating FontOptions.
Recorded at resolve time so paint paths can derive Skia flags without round-tripping through the original options blob.
◆ actual_family
| std::string pulp::canvas::ResolvedFont::actual_family |
Family name reported by the chosen face.
◆ color_font_mode
Color-font mode carried from FontOptions.
Determines whether the painter should render color glyphs (COLR/CPAL, SVG-in-OT, bitmap emoji) when the typeface supports them.
◆ generation
| std::uint64_t pulp::canvas::ResolvedFont::generation = 0 |
◆ hinting_mode
◆ origin
◆ scope
◆ synthesis
◆ trace
The documentation for this struct was generated from the following file: