Skip to main content
Participant
March 11, 2011
Question

Artifacts while Rotating

  • March 11, 2011
  • 1 reply
  • 1548 views

We have both static FTE-based labels and TLF-based editable text in our application. We do allow the editable text to be rotated to an arbitrary degree.

We have found that when we do so, the characters do not maintain their proper position so as the object is rotated, the characters almost bounce up and down a pixel or so, not keeping inline with the other characters in the line. We had suspected font embedding but have confirmed the fonts are being embedded. Even device fonts should keep their glyphs inline under rotation, shouldn't they?

Please shed some light on what is needed to arbitrarily rotate sprites containing TLF or more basic FTE text. The glyphs are still rendering fine, but their position is giving the lines a zig-zag effect of a pixel or so. I will attach a video to the thread if this is not a known issue.

As a test, I tried rotating the text using "rotationZ" instead of "rotation" which was the old trick to get TextField to rotate. With rotationZ, there were no artifacts, but the text looked bad at 0 degrees. Shouldn't we be able to rotate sprites containing FTE text?

Thanks and best regards,

Patrick

This topic has been closed for replies.

1 reply

March 11, 2011

This is a known problem with device fonts in Windows. Embedded fonts should look much better. If you have an example of embedded font rotation that looks bad we'd like to look into it.

Participant
March 11, 2011

Truly, the font glyphs look fine. The issue is their position inline with the other characters in the word. They bounce up and down as the field is rotated.

BTW - this is clearly noticeable on both Mac OS X and Windows. We're aware of the Windows device font rendering issue.

Adobe Employee
March 16, 2011

Can you tell us what version of Flash Player you are using? Is it being run in the browser, or is it an AIR application? And would be possible for us to get a SWF or some example code that illustrates the problem?

Thanks,

- robin