Closed davelab6 closed 9 years ago
This broke the other modes :( Its also not as I described.
$ pyfontaine --xml --collection subsets gillsans/*ttf
WARNING: Please install PyICU <https://pypi.python.org/pypi/PyICU> to enable CLDR related features, perhaps with: pip install pyicu
WARNING: Please install PyICU <https://pypi.python.org/pypi/PyICU> to enable CLDR related features, perhaps with: pip install pyicu
Character Set
Subset latin True
Subset vietnamese-menu
@vitalyvolkov ping :)
@davelab6 My output is below you could see
$ python bin/pyfontaine --xml --collection subsets ../Fonts/Bhavuka/Bhavuka-Regular.ttf
<?xml version="1.0" ?>
<report>
<fonts>
<font>
<Filename>Bhavuka-Regular.ttf</Filename>
<commonName>Bhavuka</commonName>
<subFamily>Regular</subFamily>
<style></style>
<weight>normal</weight>
<fixedWidth>no</fixedWidth>
<fixedSizes>yes</fixedSizes>
<copyright>Copyright 2014 - Matt Heximer (www.10fourdesign.com)</copyright>
<license>OFL 1.1</license>
<licenseUrl>http://scripts.sil.org/OFL</licenseUrl>
<version>2.94.0; ttfautohint (v1.1) -l 8 -r 50 -G 200 -x 14 -D deva -f latn -w G</version>
<vendor></vendor>
<vendorUrl></vendorUrl>
<designer></designer>
<designerUrl></designerUrl>
<glyphCount>1023</glyphCount>
<characterCount>735</characterCount>
<orthographies>
<orthography>
<commonName>Subset latin</commonName>
<nativeName></nativeName>
<supportLevel>partial</supportLevel>
<percentCoverage>98</percentCoverage>
<Coverage>216</Coverage>
<SetTotal>213</SetTotal>
</orthography>
</orthographies>
<orthographies>
<orthography>
<commonName>Subset vietnamese-menu</commonName>
<nativeName></nativeName>
<supportLevel>partial</supportLevel>
<percentCoverage>90</percentCoverage>
<Coverage>10</Coverage>
<SetTotal>9</SetTotal>
</orthography>
</orthographies>
<orthographies>
<orthography>
<commonName>Subset devanagari</commonName>
<nativeName></nativeName>
<supportLevel>fragmentary</supportLevel>
<percentCoverage>75</percentCoverage>
<Coverage>176</Coverage>
<SetTotal>133</SetTotal>
</orthography>
</orthographies>
<orthographies>
<orthography>
<commonName>Subset vietnamese</commonName>
<nativeName></nativeName>
<supportLevel>fragmentary</supportLevel>
<percentCoverage>50</percentCoverage>
<Coverage>86</Coverage>
<SetTotal>43</SetTotal>
</orthography>
</orthographies>
<orthographies>
<orthography>
<commonName>Subset greek-menu</commonName>
<nativeName></nativeName>
<supportLevel>fragmentary</supportLevel>
<percentCoverage>38</percentCoverage>
<Coverage>13</Coverage>
<SetTotal>5</SetTotal>
</orthography>
</orthographies>
<orthographies>
<orthography>
<commonName>Subset cyrillic-menu</commonName>
<nativeName></nativeName>
<supportLevel>fragmentary</supportLevel>
<percentCoverage>33</percentCoverage>
<Coverage>9</Coverage>
<SetTotal>3</SetTotal>
</orthography>
</orthographies>
<orthographies>
<orthography>
<commonName>Subset latin-ext</commonName>
<nativeName></nativeName>
<supportLevel>fragmentary</supportLevel>
<percentCoverage>28</percentCoverage>
<Coverage>824</Coverage>
<SetTotal>233</SetTotal>
</orthography>
</orthographies>
<orthographies>
<orthography>
<commonName>Subset greek</commonName>
<nativeName></nativeName>
<supportLevel>fragmentary</supportLevel>
<percentCoverage>20</percentCoverage>
<Coverage>144</Coverage>
<SetTotal>30</SetTotal>
</orthography>
</orthographies>
<orthographies>
<orthography>
<commonName>Subset telugu</commonName>
<nativeName></nativeName>
<supportLevel>fragmentary</supportLevel>
<percentCoverage>3</percentCoverage>
<Coverage>101</Coverage>
<SetTotal>4</SetTotal>
</orthography>
</orthographies>
</font>
</fonts>
</report>
$ python bin/pyfontaine --xml --collection subsets --text-compact ../Fonts/Bhavuka/Bhavuka-Regular.ttf
Filename: Bhavuka
Glyph count: 1023
Character count: 735
50% 43/86 Subset vietnamese
3% 4/101 Subset telugu
90% 9/10 Subset vietnamese-menu
20% 30/144 Subset greek
38% 5/13 Subset greek-menu
33% 3/9 Subset cyrillic-menu
98% 213/216 Subset latin
28% 233/824 Subset latin-ext
75% 133/176 Subset devanagari
Try --collection=subsets instead.
--text-compact
arg, so that instead of e.g.I can run,