Tables

tables/face

#include "dxfio/tables/face.hpp"

In DxfIO::Tables

Functions

auto Named(const Style &one) -> std::optional<Face>

The TrueType face a text style names in its extended data, or none when it uses a font file alone.

struct Face

The TrueType face a text style uses, as AutoCAD keeps it in the style's ACAD extended data.

FieldTypeMeaning
Familystd::stringThe font family, such as "Arial". Extended data group 1000.
Flagsstd::int64_tThe face's bold, italic, character set and pitch, packed as AutoCAD writes them. Extended data group 1071.