阅读背景:

是否有一种方法可以以编程方式确定字体文件是否具有特定的Unicode字形?

来源:互联网 

I'm working on a project that generates PDFs that can contain fairly complex math and science formulas. The text is rendered in Times New Roman, which has pretty good Unicode coverage, but not complete. We have a system in place to swap in a more unicode complete font for code points that don't have a glyph in TNR (like most of the "stranger" math symbols,) but I can't seem to find a way to query the *.ttf file to see if a given glyph is present. So far, I've just hard-coded a lookup table of which code points are present, but I'd much prefer an automatic solution.I'm working on a project that generates PDFs th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: