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

Character mapping on font change?

Participant ,
May 06, 2011 May 06, 2011

Hi All

Is there a way to map same character, as it was before changing to another font?

eg:

= in 'symbol'  ---  = in 'Times'

thanks in advance

Ays.Hakkim

TOPICS
Scripting
1.9K
Translate
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 ,
May 06, 2011 May 06, 2011

All you have to do is nothing. InDesign works internally with Unicode, and the '=' character in Symbol maps to the Unicode character U+003D, which maps to the '=' character in all other Unicode-compliant fonts.

This only fails when you are converting to or from a non-Unicode compliant font, and in that case you are on your own; InDesign can't "see" if the glyph with character code 61 depicts an equals sign or something entirely different.

Translate
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
Participant ,
May 06, 2011 May 06, 2011

Thanks Jongware.

Can we get all characters of a font, and check for availability of a perticular character using unicode?

Translate
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 ,
May 06, 2011 May 06, 2011

Only using very slow workarounds. I've read that the createOutlines function will fail on unavailable characters, so you could use that.

Normally, I'd advise you to use "Search Forum" but since this doesn't work anymore, try to find these discussions with Google.

Translate
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 ,
May 06, 2011 May 06, 2011

Seen this one? Good alternative to the forum's own abysmal search facilities.

http://forums.adobe.com/thread/837931?tstart=30

Peter

Translate
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
Participant ,
May 09, 2011 May 09, 2011

thanks peter. I searched the forum but as Jongware said, "createoutline" is the only option for now.

Translate
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
LEGEND ,
May 09, 2011 May 09, 2011

You haven't explained the scenario you need this for. In the two fonts you specified, the glyph is coded the same. Give us a real example, please?

Translate
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
Participant ,
May 11, 2011 May 11, 2011

Hi John

While we change the font, if a symbol is not available in a font then it will show boxes/empty char. And there is no option through scripting to know that is empty/unavailable. So we can not conform that all symbols are correctly mapped without a manual intervene.

Translate
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
LEGEND ,
May 12, 2011 May 12, 2011
LATEST

Please give a real example.

Anyhow, I think createOutlines is your only solution. How does it fail?

Translate
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