The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Text::Amuse::Compile::Fonts::Family - font family object

ACCESSORS

name

The font family name. Required.

desc

The font family description. Arbitrary string. Required.

type

The font type: must be serif, sans or mono.

FONT FILES

These accessors aren't strictly required. If provided, they should be an instance of Text::Amuse::Compile::Fonts::File.

regular

italic

bold

bolditalic

METHODS

has_files

Return true if all the 4 font slots are filled. This means we know the physical location of the files, not just its name.

is_sans

Return true if the family is a sans font

is_mono

Return true if the family is a mono font

is_serif

Return true if the family is a serif font