InvalidParameterException when subsetting the specific font

58 views
Skip to first unread message

jan.tos...@gmail.com

unread,
Jan 29, 2014, 4:27:19 PM1/29/14
to sfntly...@googlegroups.com
Dear All,

when trying to subset a large DroidSansFallback.ttf font, I am getting (Win 7, JDK 8):

>java -jar sfnttool.jar -s world D:\DroidSansFallback.ttf D:\test.ttf

Exception in thread "main" java.security.InvalidParameterException: CMap Id settings would generate font with no cmap sub-table.
        at com.google.typography.font.tools.subsetter.Subsetter.setCMaps(Unknown Source)
        at com.google.typography.font.tools.sfnttool.SfntTool.subsetFontFile(Unknown Source)
        at com.google.typography.font.tools.sfnttool.SfntTool.main(Unknown Source)

It works fine for e.g. Palatino. 

Is there any workaround for this?

Thanks, Jan
Reply all
Reply to author
Forward
0 new messages