ttf metadata
ttf metadata is a package to get metadata and properties of .ttf and .otf files.
Features
You can get ttf metadata like:
- fontName
- xMin
- yMin
- xMax
- yMax
- ascent
- descent
- lineGap
- unicode and etc.
Getting started
To start using the ttf_metadata package, follow these steps:
- Add the package to your
pubspec.yamlfile:
ttf_metadata: ^0.0.6
- Import the package in your Dart code:
dart import 'package:ttf_metadata/ttf_metadata.dart';
Usage
TtfMetadata ttfMetadata = TtfMetadata(TtfFileSource(path: "path to file"));
License
This package is released under the MIT License. See the LICENSE file for more details.
Libraries
- ttf_metadata
- this file is startup of ttf_metadata library you can use the package consider the following example: