Seeking a Shadow Script

This doesn’t work for me on a multi-glyph basis. It just overwrites the original glyph. Paste special doesn’t have any functions that would allow me to do this either.

Have you been able to develop any Glyph Transformer scripts that allow for both copies to exist in the glyph? Similar to the Hollow effect.

I’m actually seeking a shadow script:

  • copy glyph
  • move glyph (50, -50)
  • increase right bearing by 50
  • paste original glyph back into original location
  • Perform a Get Union that excludes the original glyph, leaving only the shadow

Here are some images that hint at what can be done through this system:

I don’t think it can be done. There is no function to copy existing glyph contours using a transform script.

  1. Copy the glyph in the glyph edit window
  2. Move the glyph and increase the right side-bearing by running a transform script
  3. Paste the original contours
  4. Select all
  5. Get Exclusion of contours

Shadow Glyph.png

How do you paste the original contours without overwriting the new glyph?
Don’t say “do it for each individual glyph” because I have 250 of them.

Suit yourself.

I suggest to first try what is explained earlier and if it works, do show us the results. That might convince us to implement it as a new transform feature.