Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe Illustrator Converting Illustrator matrix to CSS matrix

  • Converting Illustrator matrix to CSS matrix

    Posted by Kk Lai on February 27, 2015 at 4:11 pm

    I am writing an illustrator script to export text frames into HTML. These numbers in the matrix attribute in illustrator matches up with those in CSS, transform:matrix(a,b,c,d,tx,ty) except for TX and TY. Illustrator is export these HUGE numbers, and I can’t seem to figure out what the basis is from.

    1) mValueA=-0.70711004734039

    2) mValueB=0.70711004734039

    3) mValueC=-0.70711004734039

    4) mValueD=-0.70711004734039

    5) mValueTX=352.9658203125

    6) mValueTY=-11847.4921875

    7) typename=Matrix

    For reference, here is the position attribute from illustrator of the same text block, which is translated to left: XX; top: XX in CSS

    32) position=168.58056640625,-119.3017578125

    Kk Lai replied 11 years, 3 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy