NAME
Text::Amuse::Compile::Fonts::Import - create a list of fonts to be used with Text::Amuse::Compile
DESCRIPTION
This module is basically an hack. It parses the output of fc-list or identify (from imagemagick) to get a list of font paths.
It should work on Windows if imagemagick is installed.
ACCESSOR
output
The output file to write the json to. If not provided, it will print on the STDOUT.
PUBLIC METHODS
import_and_save
Parse the font list and output it to the file, if provided to the constructor, otherwise print the JSON on the standard output.
INTERNAL METHODS
- use_fclist
- use_imagemagick
- try_list
- all_fonts
- import_with_fclist
- import_with_imagemagick
- import_list
- as_json
- full_font_list
-
Holds a reference to Text::Amuse::Compile::Fonts