How do I get a list of all available font names on my local computer?

I am creating a local project, so all the fonts I used should only be local. I am using Mac and I can find them in /Library/Fonts

. But I think it doesn't work if I just put the filename in my CSS property. For example there is a font named 华文黑体

and if I directly use:

font-family: "华文黑体"

he does not work.

How do I find out all the names that can be used in the value of a CSS property?

Thank,

+3


source to share


1 answer


You can probably open the font (properties) to find an English (Latin script) name that the CSS will recognize.



0


source







All Articles