struct
CArcFontInfo
- Module
- Arc
- Header
#include "Arc/Text/CArcFont.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
std::string | FontFamily | Default "Default". |
float | Size | Default 14.0f. |
bool | Bold | Default false. |
bool | Italic | Default false. |
float | LineHeight | Logical pixels from one baseline to the next; 0 takes the face's own ascent plus descent. A taller value splits the extra evenly above and below the glyphs (CSS half-leading), so the text stays centred in its line. The design tokens' lineHeight lands here. Default 0.0f. |
float | LetterSpacing | Logical pixels added after every glyph that advances (the tokens' letterSpacing; Overline uses 1). Default 0.0f. |
std::string | Features | OpenType features for the shaper, comma or space separated in HarfBuzz syntax: "tnum" (tabular figures, for numeric columns and timers that must not jitter), "ss01", "case", "-liga". The tokens' features land here. |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | operator== | TAttribute polls a bound font by comparing; a type without == reads as changed on every poll and would invalidate the block every frame. |
bool | operator!= |
Function details
operator==
C++
bool operator==(const CArcFontInfo& other) constTAttribute polls a bound font by comparing; a type without == reads as changed on every poll and would invalidate the block every frame.
operator!=
C++
bool operator!=(const CArcFontInfo& other) constGenerated from Arc/Text/CArcFont.h via arc.json · Nov 5, 2026Version 1.0.0