Struct FontRasterProperties

Struct Documentation

struct FontRasterProperties

Owned native face metadata; an empty rasterizer returns default values.

Public Members

std::string family

Native family name, possibly empty.

std::string style

Native style name, possibly empty.

std::uint16_t weight = 400

OpenType numeric weight; missing metadata uses regular 400 or bold 700.

bool italic = {}

Native face is italic.

bool scalable = {}

Native face supports scalable outlines.

bool kerning = {}

Native face advertises pair kerning.