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.
それはまた別の記事で書きました。多分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!
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?
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!
Copy link to clipboard
Copied
うわー、記事の公開に気付いてませんでした…さすがです。
問題なく動作しました。助かりました!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now