NAME

Text::Amuse::Compile::Fonts::Selected - simple class to hold selected fonts

ACCESSORS

All are read-only instances of Text::Amuse::Compile::Fonts::Family.

main

sans

mono

size

METHODS

compose_polyglossia_fontspec_stanza(lang => 'english', others => [qw/russian farsi/], bidi => 1)

The place to produce this stanza is a bit weird, but fontspec and polyglossia are tighly coupled.

Named arguments:

lang

The main language.

others

The other languages as arrayref

bidi

Boolean if bidirectional

is_slide

Boolean if for beamer

families

Return an arrayref with the mono, sans and main objects.