Skip to main content
daitranthanhoa
Inspiring
November 7, 2016
Question

Why Text display not correct after set to Illustrator?

  • November 7, 2016
  • 1 reply
  • 537 views

This is my code:

var oDoc=app.activeDocument;

var oTXT=oDoc.textFrames[0];

oTXT.contents="ô";

result:

But if i copy and paste to Illustrator, it will display ok:

Why Text display not correct after set to Illustrator?

How auto convert the same copy & paste?

This topic has been closed for replies.

1 reply

CarlosCanto
Community Expert
Community Expert
November 7, 2016

the font used in textFrames[0] does not have the glyph (), you need to change the font to one that does.

daitranthanhoa
Inspiring
November 7, 2016

I think font arial display ok, because if i copy and paste to Illustrator, it will display ok