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

Is there a script that lists the font version of a text layer in a PSD?

New Here ,
Jan 30, 2025 Jan 30, 2025

Is there a script that lists the font version of a text layer in a PSD?

Not the font family, but the version. For example SF Pro version version 19, versus SF Pro version 22.

Sometimes I will receive a PSD from a client that has a text layer with the same font family that I have, but a different font version. I can tell this because that text layer has an exclamation point warning sign on that layer, and the following message pops up:

"Some text layers might beed to be updated before they can be used for vector based output. Do you want to update the layers now?".

I click update, and I'm able to continue working. However, I believe someone creating the PSD has an older or newer version of the font installed on their computer.  So I'm wondering if there is a way to identify what version photoshop is expecting.

I'm an early beginner at scripting, so I'm not sure if listing the version is even possible. I did find a script called 'list-fonts' that lists the font family. This is close to what I'm looking for. I'm wondering if there is a way to take it a step further so it lists the version.

https://github.com/frontendbeast/list-fonts


Thank you!

TOPICS
Actions and scripting
161
Translate
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
Adobe
Community Expert ,
Jan 31, 2025 Jan 31, 2025
LATEST

»version« does not seem to be a property one can determine via a Photoshop Script directly. 

What is the »fontAvailable«-property for a font that needs updating? 

 

Key 0 = styleSheetHasParent: DescValueType.BOOLEANTYPE true

Key 1 = fontPostScriptName: DescValueType.STRINGTYPE MyriadPro-Regular

Key 2 = fontName: DescValueType.STRINGTYPE Myriad Pro

Key 3 = fontStyleName: DescValueType.STRINGTYPE Regular

Key 4 = fontScript: DescValueType.INTEGERTYPE 0

Key 5 = fontTechnology: DescValueType.INTEGERTYPE 0

Key 6 = fontAvailable: DescValueType.BOOLEANTYPE true

Translate
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