node-font-list icon indicating copy to clipboard operation
node-font-list copied to clipboard

Support Get Font postScriptName

Open tjx666 opened this issue 4 years ago • 6 comments

In my using case, I need to get available fonts in AE CEP extension. I using this package to get font name list, but I found that AE using font postScriptName, but not the result return by this package.

image

This package seems to get the name of compatibleFullName.

image

image

tjx666 avatar Sep 23 '21 11:09 tjx666

之前因为css的问题改动过 你可以试试看1.3.x 现在windows用powershell默认获取的是font family 实在不行就加个设置?

MoeHero avatar Sep 27 '21 08:09 MoeHero

@MoeHero 考虑通用性的话不如返回这样的结构:

[
    {
        familyName: 'xxx1',
        postScriptName: 'xxx1'
    },
    {
        familyName: 'xxx2',
        postScriptName: 'xxx2'
    }
]

这样的话后期还可以扩展其它属性。

tjx666 avatar Sep 27 '21 09:09 tjx666

也不错 你先看看1.3.x好用不?

MoeHero avatar Sep 28 '21 02:09 MoeHero

1.3.x 也是没有返回PostScript名称,加个设置是指?

Nan-Ling avatar Sep 28 '21 05:09 Nan-Ling

Just wondering, has this feature been included yet? I am building a CEP tool as well and need the postScriptName.

PerryDesign avatar Oct 19 '23 16:10 PerryDesign

@Nan-Ling

tjx666 avatar Nov 01 '23 08:11 tjx666