• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Illustrator: is able to get postscript names of elements of composite fonts?

Community Expert ,
Feb 09, 2024 Feb 09, 2024

Copy link to clipboard

Copied

Hi there, 

I am looking for a way to get the "postscript name" of a font that is an element of a "composite font" in Illustrator.

My friend sttk3 gave me a way to get the file name of the font. it written by Japanese.

【解決】使用フォント一覧をテキストファイルにしたい!
However, I cannot find a way to get the postscript name from it.

I intend to implement this as a feature of the CEP extension.
Is there a way to accomplish this in jsx or js?

regards.

TOPICS
Scripting , SDK , Third party plugins

Views

252

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 06, 2024 Mar 06, 2024

それはまた別の記事で書きました。多分encoding = 'binary'で読み込むのがポイントかと思います。
【解決】スクリプトで合成フォントの内訳のPostScript名を取得したい!

 

I wrote about that in another article. Maybe the point is to read it with encoding = 'binary'.
SOLUTION: Want to get the PostScript name of the breakdown of the composite font via script!

Votes

Translate

Translate
Adobe
Community Expert ,
Mar 06, 2024 Mar 06, 2024

Copy link to clipboard

Copied

Since then,

I found a temp files in the application settings that lists the contents of composite fonts.

 

(The file path below is, for example, the Japanese version.)

mac
/Users/[user]/Library/Application Support/Adobe/Adobe Illustrator 27/ja_JP/合成フォント/Temp.localized

win
C\USERS\[user]\AppData\Roaming\Adobe\Adobe Illustrator 27 Settings\ja_JP\x64\Temp

 

They were able to open it in a suitable text editor. It contains information that seems useful.
However, I cannot open it in ExtendScript.
The debugger warns me when I refer to the temp file.
"Failed to retrieve variables. Details: CDATA is not closed."

 

Is there any way to do this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 06, 2024 Mar 06, 2024

Copy link to clipboard

Copied

それはまた別の記事で書きました。多分encoding = 'binary'で読み込むのがポイントかと思います。
【解決】スクリプトで合成フォントの内訳のPostScript名を取得したい!

 

I wrote about that in another article. Maybe the point is to read it with encoding = 'binary'.
SOLUTION: Want to get the PostScript name of the breakdown of the composite font via script!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 06, 2024 Mar 06, 2024

Copy link to clipboard

Copied

LATEST

うわー、記事の公開に気付いてませんでした…さすがです。

問題なく動作しました。助かりました!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines