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

NAME

Text::Amuse::Compile::Fonts::File - font file object

ACCESSORS

file

The filename. Required

shape

The shape of the font. Must be regular, bold, italic or bolditalic.

format

Built lazily from the filename, validating it and crashing if it's not otf or ttf.

mimetype

Built lazily from the filename, validating it and crashing if it's not otf or ttf

basename

The basename of the font, includin the extension.

basename_and_ext

Alias for basename

extension

The file extension, including the dot.

dirname

The directory, including the trailing slash.

css_font_weight

bold or normal depending on the shape

css_font_style

italic or normal depending on the shape