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

luatex

Boolean if running under luatex

all_fonts

The instance of Text::Amuse::Compile::Fonts carrying all available fonts.

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

main_is_rtl

Boolean if main language is RTL

is_slide

Boolean if for beamer

captions

Custom locale strings. See Text::Amuse::Utils::language_code_locale_captions

families

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