parseTTFAsset method

PMFont parseTTFAsset(
  1. ByteData data
)

Use this method to convert a .ttf file you have in your assets folder into a PMFont object.

Implementation

PMFont parseTTFAsset(ByteData data) {
  fontData = data;
  return _parseTTF();
}