Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::fonts::CffOutlineValidationResult Struct Reference

Per-glyph complexities returned by the bounded CFF interpreter. More...

#include "donner/base/fonts/CffOutlineComplexity.h"

Public Attributes

CffOutlineValidationStatus status
 Overall CFF validation outcome.
std::size_t work = 0
 Structure and CharString work actually consumed, including failed validation.
std::size_t componentResolutionWork = 0
 Work spent resolving legacy CFF1 endchar component graphs.
std::vector< CffGlyphOutlineComplexity > glyphs
 Per-glyph outline complexity bounds for the validated font.

Detailed Description

Per-glyph complexities returned by the bounded CFF interpreter.

Member Data Documentation

◆ componentResolutionWork

std::size_t donner::fonts::CffOutlineValidationResult::componentResolutionWork = 0

Work spent resolving legacy CFF1 endchar component graphs.

◆ glyphs

std::vector<CffGlyphOutlineComplexity> donner::fonts::CffOutlineValidationResult::glyphs

Per-glyph outline complexity bounds for the validated font.

◆ status

CffOutlineValidationStatus donner::fonts::CffOutlineValidationResult::status
Initial value:
=
@ Invalid
The CFF data is malformed.
Definition CffOutlineComplexity.h:25

Overall CFF validation outcome.

◆ work

std::size_t donner::fonts::CffOutlineValidationResult::work = 0

Structure and CharString work actually consumed, including failed validation.


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