FormatParser.Font (format_parser v1.4.0)

A Font struct and functions.

The Font struct contains the fields format and nature.

Link to this section Summary

Functions

Parses a file and extracts some information from it.

Link to this section Functions

Parses a file and extracts some information from it.

Takes a binary file as argument.

Returns a struct which contains all information that has been extracted from the file if the file is recognized.

Returns the following tuple if file not recognized: {:error, file}.