ttf_metadata 0.0.2
ttf_metadata: ^0.0.2 copied to clipboard
ttf_metadata is a library to get useful metadata of .ttf and .otf files in your Dart and Flutter apps.
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.2
- 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.