opentypejs/opentype.js

TrueType Collection file. Error: Unsupported OpenType signature ttcf

开放

#379 创建于 2019年4月24日

 (4 条评论) (0 个反应) (0 位负责人)JavaScript (512 个派生)batch import
enhancementgood first issue

仓库指标

星标
 (4,170 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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:

贡献者指南