Glyph Names > Add PUA Unicode Values to Selected Glyphs

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
Hafonton
Posts: 29
Joined: Wed Aug 29, 2018 2:22 pm

Glyph Names > Add PUA Unicode Values to Selected Glyphs

Post by Hafonton » Sun Mar 10, 2019 1:16 pm

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-ult ... ded-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?

Erwin Denissen
Moderator
Moderator
Posts: 8288
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Glyph Names > Add PUA Unicode Values to Selected Glyphs

Post by Erwin Denissen » Sun Mar 10, 2019 1:35 pm

You can add a new character range, then use copy and paste special to only paste the codepoints.
Erwin Denissen
High-Logic
Proven Font Technology

Hafonton
Posts: 29
Joined: Wed Aug 29, 2018 2:22 pm

Re: Glyph Names > Add PUA Unicode Values to Selected Glyphs

Post by Hafonton » Sun Mar 10, 2019 3:03 pm

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?

Erwin Denissen
Moderator
Moderator
Posts: 8288
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Glyph Names > Add PUA Unicode Values to Selected Glyphs

Post by Erwin Denissen » Sun Mar 10, 2019 3:07 pm

That is exactly what you avoid that way!
Erwin Denissen
High-Logic
Proven Font Technology

Hafonton
Posts: 29
Joined: Wed Aug 29, 2018 2:22 pm

Re: Glyph Names > Add PUA Unicode Values to Selected Glyphs

Post by Hafonton » Sat Mar 16, 2019 9:17 pm

Erwin Denissen wrote:
Sun Mar 10, 2019 3:07 pm
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):
https://youtu.be/PUeS_uymaTU

Any advice?

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 8360
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Glyph Names > Add PUA Unicode Values to Selected Glyphs

Post by Bhikkhu Pesala » Sat Mar 16, 2019 10:32 pm

Hafonton wrote:
Sat Mar 16, 2019 9:17 pm
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).
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.
My FontsReviews: MainTypeFont CreatorHelpFC12 Pro + MT9.0 @ Win10 1903 build 18362.418

Hafonton
Posts: 29
Joined: Wed Aug 29, 2018 2:22 pm

Re: Glyph Names > Add PUA Unicode Values to Selected Glyphs

Post by Hafonton » Thu Mar 21, 2019 9:49 pm

Bhikkhu Pesala wrote:
Sat Mar 16, 2019 10:32 pm
Hafonton wrote:
Sat Mar 16, 2019 9:17 pm
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).
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? :D
Thank youuuu

Post Reply