最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to find out all installed fonts on user machine? - Stack Overflow

programmeradmin2浏览0评论

Is there any way to get the name of all installed fonts on user machine using HTML, javascript?

One way is to use classid, but i would like to know any other way round to do this?

Is there any way to get the name of all installed fonts on user machine using HTML, javascript?

One way is to use classid, but i would like to know any other way round to do this?

Share Improve this question asked Jul 12, 2010 at 11:50 Rakesh JuyalRakesh Juyal 36.8k74 gold badges178 silver badges217 bronze badges 1
  • 2 You can't get the machine to tell you the fonts, but you could probably check for fonts by trying specific fonts on a block of text and detecting size changes. – Pointy Commented Jul 12, 2010 at 11:53
Add a ment  | 

2 Answers 2

Reset to default 3

http://www.lalit/lab/javascript-css-font-detect

Check this javascript library

https://github./gabriel/font-detect-js/

U can get the name of all installed fonts on user machine.

发布评论

评论列表(0)

  1. 暂无评论