How to find out all installed fonts on user machine?

前端 未结 2 1641
长情又很酷
长情又很酷 2021-01-06 15:51

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

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-06 16:39

    Check this javascript library

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

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

提交回复
热议问题