opentype_dart 0.0.1 copy "opentype_dart: ^0.0.1" to clipboard
opentype_dart: ^0.0.1 copied to clipboard

Read and write OpenType fonts using Dart.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add opentype_dart

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  opentype_dart: ^0.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:opentype_dart/Font.dart';
import 'package:opentype_dart/Glyph.dart';
import 'package:opentype_dart/GlyphSet.dart';
import 'package:opentype_dart/Math.dart';
import 'package:opentype_dart/bbox.dart';
import 'package:opentype_dart/bidi.dart';
import 'package:opentype_dart/char.dart';
import 'package:opentype_dart/check.dart';
import 'package:opentype_dart/dartHelper.dart';
import 'package:opentype_dart/draw.dart';
import 'package:opentype_dart/encoding.dart';
import 'package:opentype_dart/features/latn/latinLigatures.dart';
import 'package:opentype_dart/hintingtt.dart';
import 'package:opentype_dart/index.dart';
import 'package:opentype_dart/layout.dart';
import 'package:opentype_dart/opentype.dart';
import 'package:opentype_dart/opentypeFN.dart';
import 'package:opentype_dart/parse.dart';
import 'package:opentype_dart/path.dart';
import 'package:opentype_dart/position.dart';
import 'package:opentype_dart/substitution.dart';
import 'package:opentype_dart/table.dart';
import 'package:opentype_dart/tables/cff.dart';
import 'package:opentype_dart/tables/cmap.dart';
import 'package:opentype_dart/tables/fvar.dart';
import 'package:opentype_dart/tables/gdef.dart';
import 'package:opentype_dart/tables/glyf.dart';
import 'package:opentype_dart/tables/gpos.dart';
import 'package:opentype_dart/tables/gsub.dart';
import 'package:opentype_dart/tables/head.dart';
import 'package:opentype_dart/tables/hhea.dart';
import 'package:opentype_dart/tables/hmtx.dart';
import 'package:opentype_dart/tables/index.dart';
import 'package:opentype_dart/tables/kern.dart';
import 'package:opentype_dart/tables/loca.dart';
import 'package:opentype_dart/tables/ltag.dart';
import 'package:opentype_dart/tables/maxp.dart';
import 'package:opentype_dart/tables/meta.dart';
import 'package:opentype_dart/tables/name.dart';
import 'package:opentype_dart/tables/os2.dart';
import 'package:opentype_dart/tables/post.dart';
import 'package:opentype_dart/tables/sfnt.dart';
import 'package:opentype_dart/tokenizer.dart';
import 'package:opentype_dart/types.dart';
import 'package:opentype_dart/util.dart';
0
likes
50
points
1k
downloads

Publisher

unverified uploader

Weekly Downloads

Read and write OpenType fonts using Dart.

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on opentype_dart