2 Replies Latest reply on Jul 28, 2015 3:34 AM by angelious

    Installed font is not available


      Hello everyone!


      I'm trying to create a paragraph style with a custom font (Helvetica Neue LT Std). I've installed the font in my  Windows 8.1 and I can use it in InDesign 9.0.


      My code sample:

      myDocument.paragraphStyles.add({name:"name", pointSize:48, fillColor:  "color",  justification: VerticalJustification.centerAlign, appliedFont:  app.fonts.itemByName("Helvetica Neue LT Std")});


      I'm typing several names and other ways (itemByName) to get the installed font, but i receive the same error: "the request font family is not available".


      Hope you help me!

      Thanks in advance.


      PS scanning the available fonts i got the attached image

      var myApplicationFonts = app.fonts;
      var myFontNames = myApplicationFonts.everyItem().name;
      for(var myCounter = 0;myCounter<myFontNames.length; myCounter++){



        • 1. Re: Installed font is not available
          [Jongware] Most Valuable Participant

          If you don't specify a style name, InDesign expects a default "Regular" - but there is no "Regular" in this version of Helvetica! It is actually called "55 Roman".


          Use a Tab to add the exact style name in appliedFont: "Helvetica Neue LT Std\t55 Roman". This is the same format as in your alert – the huge space is a tab. Note that you don't need the entire app.fonts.itemByName invokation, appliedFont accepts a simple string as well:


          appliedFont: "Helvetica Neue LT Std\t55 Roman"


          should be enough.

          • 2. Re: Installed font is not available
            angelious Level 1

            I resolved using: appliedFont: "Helvetica Neue LT Std\t95 Black".


            Thanks a lot!