Copy link to clipboard
Copied
Font BIZ-UDMinchoM.ttc installed at my PC (It is a system font):
Indesign App can use this font: "BIZ UD明朝 Medium"
But I can't get this font "BIZ UD明朝 Medium" in list font of Indesign App by Script:
for(var i=0;i<app.fonts.length;i++)
{
$.writeln(app.fonts[i].name);
}
Why can't get Font "BIZ UD明朝 Medium" from app.fonts ?
Copy link to clipboard
Copied
Please check if this font inside is loaded from the Documents Fonts folder. You can check this information from the Find Font dialog or by checking if the font file is present in the Document Fonts folder which is located next to the InDesign file.
If it is indeed a document font then it should be found in the app.documents[0].fonts collection
-Manan
Copy link to clipboard
Copied
I want get list font avilable of Indesign App.
So i using app.fonts , But Font "BIZ UD明朝 Medium" not exist while it can setting from Indesign App.
Copy link to clipboard
Copied
Indesign Script returns the font name as "BIZ UD明朝 Regular" instead of "BIZ UD明朝 Medium"
Copy link to clipboard
Copied
Fonts have more than one name inside. They are not always matched easily.
Copy link to clipboard
Copied
"BIZ UD明朝 Regular" is not exist in system.
BIZ-UDMinchoM.ttc only have font "BIZ UD明朝 Medium"
https://learn.microsoft.com/vi-vn/typography/font-list/biz-udmincho-medium