MUSX Document Model
Loading...
Searching...
No Matches
musx::dom::ResolvedFontInfo Struct Reference

Document-independent snapshot of a #FontInfo. (See FontInfo::resolve.) More...

#include <ResolvedFontInfo.h>

Public Attributes

std::string name
 the font name (see FontInfo::getName)
 
int size {}
 the font size, or a percent of the preceding size when sizeIsPercent is true
 
bool sizeIsPercent {}
 true when size is a percentage (see FontInfo::getSizeIsPercent)
 
bool bold {}
 bold effect
 
bool italic {}
 italic effect
 
bool underline {}
 underline effect
 
bool strikeout {}
 strikeout effect
 
bool absolute {}
 fixed-size effect
 
bool hidden {}
 hidden effect
 
bool isSymbolFont {}
 true when each code point of text in this font is a raw glyph index (see FontInfo::calcIsSymbolFont)
 
bool isSmufl {}
 true when this is a SMuFL font (see FontInfo::calcIsSMuFL)
 

Detailed Description

Document-independent snapshot of a #FontInfo. (See FontInfo::resolve.)

Every member is a value, so an instance remains valid after the document that produced it is released.