Skip to content

Adobe Photoshop plugin for managing fonts

License

Notifications You must be signed in to change notification settings

fuse-fonts/plugin

Repository files navigation

Fuse Fonts Plugin

Developing

  1. Clone repository into your /c/Users/<USER>/AppData/Roaming/Adobe/CEP/extensions/ directory (Create if doesn't exist).
  2. Restart photoshop.
  3. run npm run dev to start the rollup bundler/transforms

Debugging

  1. Follow instructions in CEP Resources guide to setup dev debugging (create registry edit etc)
  2. If you can't connect to the port, you may need to check logs for the error C:\Users\<USER>\AppData\Local\Temp
  3. CEPHtmlEngine9-PHXS-20.0.4-com.fusefonts.log should say > DevTools listening on 127.0.0.1:8888

Alternative Development

Fuse fonts is setup so that it can be ran from the browser with—perhaps—less fuss than the above debugging.

Building the plugin

First time setup:

  1. npm install Adds all dependencies and downloads the ZXPSignCmd for your platform
  2. Add your .env. Refer to .env.example for necessary fields.
  3. npm run self-sign Creates a certificate.p12 to sign the packaged .zxp.

After initial setup

After performing the steps in first time setup, you can run the below command whenever you need to generate the zxp.

  1. npm run package Builds and signs zxp, and places into /dist

Plugin Installer

  1. https://github.com/fuse-fonts/installer

Todo: add integration or git submodule.

Resources

  1. Adobe CEP Github
  2. Getting Started Guide
  3. https://javascript-tools-guide.readthedocs.io/index.html
  4. Manifest schema
  5. Host/client Interop
  6. Scripting Documents
  7. Adobe Extensions Forum - has links, too
  8. Extension Installer
  9. https://www.ps-scripts.com/