Closed zxytim closed 9 years ago
Thanks! @vitalyvolkov please resolve :)
@zxytim can this be closed?
$ pyfontaine /Library/Fonts/PTSans.ttc
Fonts
Font:
Filename: PTSans.ttc
Common name: PT Sans
Sub family: Italic
Style: italic
Weight: normal
Fixed width: no
Fixed sizes: no
Copyright: Copyright © 2009 ParaType Ltd. All rights reserved.
License: ParaType Ltd grants you the right to use, copy, modify this font and distribute modified and unmodified copies of the font by any means, including placing on Web servers for free downloading, embedding in documents and Web pages, bundling with commercial and non commercial products, if it does not conflict with the ParaType Free Font License placed on www.paratype.com/public/pt_openlicense_eng.asp.
License url: http://www.paratype.com/public/pt_openlicense_eng.asp
Version: 10.0d1e1
Vendor: ParaType Ltd
Vendor url: http://www.paratype.com
Designer: A.Korolkova, O.Umpeleva, V.Yefimov
Designer url: http://www.paratype.com/help/designers/
Glyph count: 719
Orthographies:
Orthography:
Common name: GlyphOrderAndAliasDB
Support level: fragmentary
Percent coverage: 36
Coverage: 719
Set total: 266
Orthography:
Common name: Unencoded Glyphs
Support level: fragmentary
Percent coverage: 36
Coverage: 719
Set total: 266
$
when reading .ttc file:
As I have a check at your code, I found the problem lies in that all fontaine.font.{FontFactory, TTFont, FontFace} does not handle fontNumber needed by fontTools.