Glyph Names > Add PUA Unicode Values to Selected Glyphs

Sometimes I have tons of stylistic sets in my font, and I have to manually add PUA code to them
$E000, $E001, $E002, and so on,
in order for them to work in photoshop and *other softwares:
*reference: https://www.creativefabrica.com/the-ultimate-font-guide/pua-encoded-fonts/

Is there a batch function available to do this hard work for me?
Maybe in the Transform Tool,
add this function: Add PUA Unicode Values to Selected Glyphs

Or a function that sets a free PUA code for the uncoded glyphs. (this could go in the validator).
(or set a custom range, if possible)

Any thoughts on this?

You can add a new character range, then use copy and paste special to only paste the codepoints.

Thanks for the quick response Erwin, I really appreciate that.

What you suggested would work yes, but I’d have to re-modify every opentype feature I’ve ever put in the Opentype Designer… and there’s a bunch of them. (ligatures, stylistic sets, contextual alternates logic and so on)

Is there another way without re-doing all of that?

That is exactly what you avoid that way!

Oh.
Okay so I look up to Special Paste - very cool feature indeed!
I was not aware of it.

I did as you said now, made new character range for the Private Use Area code-points (999 of them),
and copied my “unmapped” characters and special-pasted them into the new code-points
but the opentype features didn’t move to the new pasted glyphs, it stayed with the old ones (which is not what I need).
Here’s a two minute video to demonstrate exactly what I did (and whats written here):

Any advice?

I think what was intended was to copy the code-points from the inserted PUA glyphs to your unmapped glyphs, not the other way around. There is an option on the Paste Special dialogue to override existing code-points.

Can I give you a virtual hug, mr. genious? :smiley:
Thank youuuu