Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

Futura becomes Myriad Pro !?

$
0
0

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";


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>