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
languages
An optional arrayref of language codes.
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.
language_names
An arrayref with the language
codes mapped to their babel equivalent.
has_languages
Return true if the font family has languages set.
for_babel_language($babel_lang)
for_language_code($iso_code)
Return true if the family has the given language set (babel and iso version)