Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::canvas::FontSynthesisPolicy Struct Reference

Explicit policy for faux-bold / faux-italic / faux-width. More...

#include <font_options.hpp>

Public Member Functions

bool operator== (const FontSynthesisPolicy &) const =default

Public Attributes

bool weight = false
bool slant = false
bool width = false

Detailed Description

Explicit policy for faux-bold / faux-italic / faux-width.

Default is all-false: synthesis is opt-in, never accidental. When synthesis IS allowed and the resolver applies it, a SynthesisTrace is emitted to the FontFlightRecorder so the developer can see what was synthesized and from what source face.

Member Function Documentation

◆ operator==()

bool pulp::canvas::FontSynthesisPolicy::operator== ( const FontSynthesisPolicy & ) const
default

Member Data Documentation

◆ slant

bool pulp::canvas::FontSynthesisPolicy::slant = false

◆ weight

bool pulp::canvas::FontSynthesisPolicy::weight = false

◆ width

bool pulp::canvas::FontSynthesisPolicy::width = false

The documentation for this struct was generated from the following file: