PHP:读取字体文件的TrueType / OpenType元数据 [英] PHP: Read TrueType/OpenType metadata of the font file
本文介绍了PHP:读取字体文件的TrueType / OpenType元数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
How to read the fonts details? For example, fonts contain information like copyright, family name, designer, version, and more in their metadata. I would like also the script to be able to count the amount of glyphs in the file, as well as return what languages the font supports. For example, a typical font could contain western, swedish and romain language support, and have hundreds of glyphs. It should support truetype and opentype font files. Thanks in advance for any help on achieving this!
解决方案
I know this is an old thread, but there has been some movement on the topic over on this thread.
这篇关于PHP:读取字体文件的TrueType / OpenType元数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文