Skip to main content
Inspiring
May 14, 2015
Question

JS to flip one of the character in the TextFrame

  • May 14, 2015
  • 1 reply
  • 1148 views

hi there,

Anyone knows how to flip one/few characters in the textframe using Javascript?

I know that textframe can be flip using flipItem function. What about character?

Thank you..

cheers 

This topic has been closed for replies.

1 reply

Vamitul
Legend
May 14, 2015

only sure way is to convert the character to outlines, the flip. Another way would be to use the unicode RightToLeft marker in conjunction with a paragraph composer that supports bidirectional text (see Right-to-left mark - Wikipedia, the free encyclopedia)

Jongware
Community Expert
Community Expert
May 14, 2015

‌Hmmm ... the RTL marker is to indicate the following characters are to be ordered from right to left, but the characters themself will not get flipped!

Off-hand idea: if you need to do this with entire words, you could still use the RTL marker in combination with a font in which the characters are physically flipped, ƨiʜƚ ɘʞil