opentypejs/opentype.js

TrueType Collection file. Error: Unsupported OpenType signature ttcf

Open

#379 opened on Apr 24, 2019

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (4,170 stars) (512 forks)batch import
enhancementgood first issue

Description

I am trying to open font file with multiple styles inside.

Expected Behavior

font collection file is handled, opentype.js finds multiple fonts.

Current Behavior

image

Possible Solution

I have know idea to be honest :)

Steps to Reproduce (for bugs)

compile multiple ttf fonts into one file using this guide https://graphicdesign.stackexchange.com/a/104892/137343

Context

I want to get supported styles from font file

Your Environment

  • Version used: web preview
  • Font used: roboto from google fonts
  • Browser Name and version: latest stable firefox and chrome
  • Operating System and version (desktop or mobile): mac, ubuntu 19.04
  • Link to your project:

Contributor guide