Describes a font that is available to the application. Access this object in the Photoshop.fonts collection.
https://developer.adobe.com/photoshop/uxp/2022/ps_reference/objects/textfont/
const arialMTFont = require('photoshop').app.fonts.getByName("ArialMT"); Copy
const arialMTFont = require('photoshop').app.fonts.getByName("ArialMT");
23.0
The font family.
The name of the font.
The containing application.
The PostScript name of the font.
The font style.
The class name of the referenced object: "TextFont".
Describes a font that is available to the application. Access this object in the Photoshop.fonts collection.
See
https://developer.adobe.com/photoshop/uxp/2022/ps_reference/objects/textfont/
Example
Min Version
23.0