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

font_files

Return an arrayref with the four Text::Amuse::Compile::Fonts::File objects.