1 Reply Latest reply on May 9, 2011 5:02 AM by Andreas Jansson

    Getting the default font - possible? (default fonts problem in InDesign Server CS5)

    Andreas Jansson Level 2

      Is there a way to decide whether a font is used as "default font" for a document?

      Or a simple way to see whether a font is used at all?

       

      The actual problem is that InDesign server (CS5 ver. 7.0.3.533) returns the "default font" along with all other used fonts, when looping through the document.fonts collection. This becomes a problem when the default font is never used in the document, and is also not present. Then the (name of) the default font may also become meddled by a style that does not even exist for that very font.

      This is indicated as a problem in our application... as a missing font, just as the call to InDesign server reports back. But the font (with that style) doesn't even exist.

       

      Running the same script on an desktop InDesign CS5 (ver 7.0.4) the unused default font of the same document is not returned at all.

       

      Thanks,

      Andreas