embedded font installability

36 views
Skip to first unread message

sant...@gmail.com

unread,
Jun 10, 2014, 7:48:43 PM6/10/14
to sfntly...@googlegroups.com
Hi-

I am a developer contributing to the epubcheck project
(https://github.com/IDPF/epubcheck) and I have a question regarding embedded fonts.

Currently, Internet Explorer will NOT use an embedded font unless it is marked installable.
Because of this, I want to write a new check within epubcheck that will crack open the fonts
and emit a warning if the fonts are not marked installable, as IE is a very common platform.  
(the branch of epubcheck I am working on allows users to override the message level, so they can either 
turn that particular warning off completely, or they can escalate it to an ERROR if they wish.)

I was looking briefly at sfntly-java to see if I could find similar functionality but could not.

a) Did i simply overlook it? If so, what should I be looking at?
b) If not, could you recommend a starting point for me to add this functionality?
basically, I want to be able to pass an input stream to instantiate an object from that stream and then use it to call something like font.IsInstallable() 
which would return true or false according to whether the font is installable or not.  (Likewise for the other permissions.)  

Can someone help start me in the right direction?

Thanks for your help-

Steve

Reply all
Reply to author
Forward
0 new messages