2 Replies Latest reply on Sep 22, 2015 10:36 AM by Chuck Uebele

    Futura becomes Myriad Pro !?

    Kjell Post, Weddingbook Level 1

      The following script creates a text layer, but Photoshop (CC) chooses Myriad Pro instead of Futura.


      Is there a reason for this?

       

      app.documents.add(1000, 1000, 300, "Futura", NewDocumentMode.RGB, DocumentFill.WHITE);

      var doc = app.activeDocument;

      var color = new SolidColor();

      color.rgb.red = color.rgb.green = color.rgb.blue = 0;

      var l = doc.artLayers.add();

      l.kind = LayerKind.TEXT;

      l.textItem.size = 36;

      l.textItem.font = "Futura";

      l.textItem.color = color;

      l.textItem.justification = Justification.LEFT;

      l.textItem.position = [300, 300];

      l.textItem.contents = "ABC123";