In the New Year's holidays we received a magic letter from our customers. Comrades use
AnyGantt , and they have very specific problems.
The problems were printing Gantt charts.
A long and persistent search for a problem led to the fact that we found a bug in Flash Player, which exists there as early as August 2010.
bugs.adobe.com:
https://bugs.adobe.com/jira/browse/FP-6167
')
First, a few examples:
This is how Gantt chart looks like in a browser:
And here is what this plot makes an attempt to print:
One more example. This time with Flex. From Adobe's help:
http://livedocs.adobe.com/flex/3/html/help.html?content=printing_5.html
That's how it looks in the original:
But Flash Player turns this whole beauty into print:
Specific example
Digging and stubborn debugging led to the isolation of the bug and, in fact, its simplest reproduce.
In its simplest form, it all comes down to these two pictures:
Original:
And here it is after printing:
Example source:
http://anychart.com/batsuev/habrahabr/printing/srcview/index.html
What is the reason
And the reason is very simple.
If in the tree of visual objects the text has a parent with scrollRect - expect trouble when printing in bitmap.
These are the pies for a few thousand dollars.
Flash Player Versions
The bug appears presumably in the Adobe Flash Player since version 10.1.82.76 (August 2010)
In the current version (10.2) from also present.