18#define GPF_LINT_MSG_MAX 72
37 char msg[GPF_LINT_MSG_MAX];
69void gpf_lint_count(
struct gpf_font *font,
unsigned int *errors,
70 unsigned int *warnings);
The in-memory font model.
gpf_variant_id
Font face variant.
const char * gpf_lint_severity_name(enum gpf_lint_severity sev)
Returns severity name.
int gpf_lint_glyph(struct gpf_font *font, enum gpf_variant_id id, uint32_t code, struct gpf_lint_finding *out)
Runs a linter for a single glyph.
struct gpf_lint_finding * gpf_lint(struct gpf_font *font)
Runs linter on a font.
gpf_lint_severity
Linter severity.
@ GPF_LINT_WARN
Probably a slip. May be deliberate.
@ GPF_LINT_ERROR
The font renders wrong.
uint32_t code
A unicode code point the finding is for.
enum gpf_lint_severity sev
Severity.
enum gpf_variant_id id
Variant of the glyph the finding is for.
char msg[72]
Linter message.