struct

CArcFontInfo

Module
Arc
Header
#include "Arc/Text/CArcFont.h"
Namespace
Arcf

Properties

TypeNameDescription
std::stringFontFamilyDefault "Default".
floatSizeDefault 14.0f.
boolBoldDefault false.
boolItalicDefault false.
floatLineHeightLogical 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.
floatLetterSpacingLogical pixels added after every glyph that advances (the tokens' letterSpacing; Overline uses 1). Default 0.0f.
std::stringFeaturesOpenType 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

ReturnsNameDescription
booloperator==TAttribute polls a bound font by comparing; a type without == reads as changed on every poll and would invalidate the block every frame.
booloperator!=

Function details

operator==

C++
bool operator==(const CArcFontInfo& other) const

TAttribute 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) const
Generated from Arc/Text/CArcFont.h via arc.json · Nov 5, 2026Version 1.0.0