Skip navigation
Currently Being Moderated

How to find character which doens't support applied font

Jan 20, 2012 1:19 AM

Hello All..

 

I attached screeen shot for reference. I am trying to find a way to distinguish if the character is supported by applied font or not and then I want to apply appropriate font for same. Is there any efficient way to do that?

 

Please help ...

 

 

 

thanks,

Praveen

 

nonchar.JPG

 
Replies
  • Currently Being Moderated
    Jan 20, 2012 1:39 AM   in reply to Praveen M.

    An old problem comes up at regular intervals. There is no practicable way to find missing characters other than using your eyes. Please file a feature request at http://www.adobe.com/support/feature.html

     

    Peter

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 20, 2012 2:39 AM   in reply to Peter Kahrel

    Would it be possible to use the Live Preflight for this? Can one examine its results with scripting?

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 20, 2012 7:17 AM   in reply to [Jongware]

    Yes. "Glyph missing" is one of the things you can flag—that's what we want here, right? preflightProcess.aggregatedResults is a multi-dimensional array of strings that you can eventually get what you want out of. I can work up a code sample later when I have a minute...

     

    Jeff

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 20, 2012 7:29 AM   in reply to absqua

    Praveen M. wrote

    ... then I want to apply appropriate font for same ...

     

    So if you can find the missing glyph, all you have to add is a loop that applies *every font* in Praveen's system and for each re-preflights to see if this message disappears. Problem solved!

     

    (Color me old-fashioned but I like my special symbols to match the body font, so I'll stick to the old manual way of checking by eye.)

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 20, 2012 7:44 AM   in reply to [Jongware]

    Yeah, good point. I use the preflight to abort automated processes when there's a font problem, but rely on users to address the problem.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 20, 2012 8:33 AM   in reply to absqua

    Interesting: the aggregatedResults contain arrays of arrays of only text, in casu the same text as shown in the Preflight panel. It also contains the page number (as a number, not as a page reference or something) -- but no pointer to the actual error. So using a script you know what page to check and what character code it is, but you don't know which one on that page!

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 20, 2012 8:42 AM   in reply to absqua

    Would a plugin that highlights the missing Glyph be of any use?

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 20, 2012 8:47 AM   in reply to [Jongware]

    And in the UI you can click on the error and it takes you to the character in the document. So it knows, it just won't tell us!

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 20, 2012 8:52 AM   in reply to Pickory

    Pickory wrote:

     

    Would a plugin that highlights the missing Glyph be of any use?

     

    Only if you can feed the result back to the scripting DOM.

     

    (The SDK's documentation on how to add scripting capabilities to plugins is extensive, but I've yet to encounter any 3rd party that actually uses this.)

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 20, 2012 9:34 AM   in reply to [Jongware]

    I was thinking of a global text adornment. The glyph would be highlighted as it is drawn.

     

    To be of any use to a script we would have be able to search the document and report back the frame and offset.

     

    I will give this some thought.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 20, 2012 9:47 AM   in reply to Pickory

    Hello,

     

    Here is some thing.

     

    IAdvTextOptionsFacade

     

      /** Set the flag to use missing glyph protection

                                  @param useFontInputLocking                    protects against missing glyphs when typing

                                  @param useFontChangeLocking                    protects against missing glyphs when changing fonts

                        */

                        virtual void SetMissingGlyphProtectionPrefs(const bool16 useFontInputLocking, const bool16 useFontChangeLocking) = 0;

     

    It looks like there is a preference that might help the OP.

     

    All the best.

     

    P.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 22, 2012 4:59 AM   in reply to Pickory

    You don't need a plugin:

     

    Edit > Preferences > Composition > Highlight > Substituted Fonts/Glyphs

     

    Peter

     
    |
    Mark as:
  • John Hawkinson
    5,512 posts
    Jun 25, 2009
    Currently Being Moderated
    Jan 22, 2012 8:50 AM   in reply to [Jongware]

    Jongware:

    (The SDK's documentation on how to add scripting capabilities to plugins is extensive, but I've yet to encounter any 3rd party that actually uses this.)

    for what it's worth, Woodwing's plugins do.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 22, 2012 9:59 AM   in reply to Peter Kahrel

    Peter Kahrel wrote:

     

    You don't need a plugin:

     

    Edit > Preferences > Composition > Highlight > Substituted Fonts/Glyphs

     

    Yeah that's what I thought too! Highlighting is not the problem, it's reporting them to a script that is.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 22, 2012 10:11 AM   in reply to [Jongware]

    Just a shame that Adobe did not make the reporting available to scripts.

     

    I wil look into this.

     

    All the best.

     

    P.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 22, 2012 10:49 AM   in reply to John Hawkinson

    Kerntiff Publishing Systems would be very happy to add scripting 

    capabilities to its plugins, just ask.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points