🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
2 messages
2 total messages Started by Gerd_Haeussler Wed, 04 Mar 2009 15:59
[JS] Missing character, how can i determine that in JS?
#806
Author: Gerd_Haeussler
Date: Wed, 04 Mar 2009 15:59
7 lines
1079 bytes
Hi,
when a character is not available in a given font a rectangle appears. For example, i paste a cyrillic symbol in an given textframe with copy&paste form an external application and i use a font, which doesn't have included this character.

How can i determine this situation with JS, i.e. is there a property available, which gives me the information, that a character is used in a font, which don't have this character available?

Thanks!
Gerd
Re: [JS] Missing character, how can i determine that in JS?
#808
Author: Peter Kahrel
Date: Wed, 04 Mar 2009 16:36
3 lines
838 bytes
Unfortunately, that's possible only with an unelegant hack: enter the character in a document, apply the font, then try to create an outline of the character. If that works, the character is available in the font.

Peter
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads