googlefonts / pyfontaine

Python tool to check font files for language/character set support
https://github.com/googlefonts/pyfontaine
GNU General Public License v3.0
104 stars 20 forks source link

SMP characters are not handled #100

Open devosb opened 6 years ago

devosb commented 6 years ago

Characters in the SMP do not seem to be handled. I tested this with Charis SIL v5.000 from https://software.sil.org/charis/download/

I ran the command pyfontaine U+1D510 U+1D511 CharisSIL-R.ttf and the output was

Font             U+1D510    U+1D511
CharisSIL-R.ttf  False      False

The first character, U+1D510, is in the font, so the output should show True. I noticed this issue when using a pyfontaine character set I created that had the line

0x1133C,  # GRANTHA SIGN NUKTA

The complete file is at https://github.com/nlci/charsets/blob/master/nlci-taml.py