• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Indesign scripting - Get character name

Explorer ,
Sep 04, 2020 Sep 04, 2020

Copy link to clipboard

Copied

Hi. I'm using the grep_mapper script (from Peter Kahrel) to create a font unicode map of the private use area.

But I would also like to get the name of each glyph.

Is there a way to script it :

• for this character > get glyph name from font used.

Thanks.

 
TOPICS
Scripting

Views

139

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 04, 2020 Sep 04, 2020

Copy link to clipboard

Copied

No, that's not possible. You can get the character's content (its representation) and its unicode value, but the name isn't available. (Only for special characters such as en rule and the like can you get the name). You could repurpose the unicode tables from the Unicode website and use them to look up character names, using a character's Unicode point as a key. That's all.

Peter

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 04, 2020 Sep 04, 2020

Copy link to clipboard

Copied

LATEST

OK.

I have my own character names in the font.

I use Indyfont, so I could write a jsx to get an array of unicodes and names.

It could be a good feature for Indyfont to export as a unicode map/table like grepmapper.jsx.

Thanks

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines