Adobe-CEP / CEP-Resources

Tools and documentation for building Creative Cloud app extensions with CEP
https://www.adobe.io/apis/creativecloud/cep.html
1.62k stars 828 forks source link

SDKs font object does not provide postScriptName for some fonts #284

Open rahul-dutt-sharma opened 4 years ago

rahul-dutt-sharma commented 4 years ago

In case a neue achene is missing on the machine we observe this

var missingFonts = []; var usedFonts = app.activeDocument.fonts;

for (var index = 0; index < usedFonts.length; index++) { missingFonts.push(usedFonts[index].postscriptName + "\n"); }

alert(missingFonts.join('-'));

Our document has a font called Neue Achen that gives a "" as the postScript name

rahul-dutt-sharma commented 4 years ago

image

rahul-dutt-sharma commented 4 years ago

the same issue occurs for photoshop and other tools as well using their respective apis

rahul-dutt-sharma commented 3 years ago

Any updates?

rahul-dutt-sharma commented 2 years ago

Following up.

ErinFinnegan commented 2 years ago

Hi Rahul,

Since you initially did an InCopy screen shot, have you mentioned this in the following places?

If this is a CEP bug, it's unlikely to be solved. If it's a C++ SDK issue, then it's a per-host-app problem.

Since you mentioned Photoshop, if you're able to reproduce this using Photoshop UXP APIs, that may see more traction, and you can chat about it in our UXP developer forum.

rahul-dutt-sharma commented 2 years ago

Turns out that this is happening for C++ sdk as well Every other field for the Font Class is there but not postscript name. Any insights?

ErinFinnegan commented 2 years ago

You can file a bug or feature request in the InDesign Developer Prerelease.... let me know if you don't have access.