I have a chart that is using an embedded font. The chart renders fine in the flash player but when it is printed all of the textfields in the axes have a lime green background. Seems like I might be missing a style, but couldn't find one that fixed the issue. Any thoughts?
Here's some sample code that show's the issue: <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Style> @font-face { fontFamily: labelFont; src: local("Arial"); } BarChart{ fontFamily: labelFont; } </mx:Style> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var medalsAC:ArrayCollection = new ArrayCollection( [ { Country: "USA", Gold: 35, Silver:39, Bronze: 29 }, { Country: "China", Gold: 32, Silver:17, Bronze: 14 }, { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]); private function printChart():void { var pj:PrintJob = new PrintJob(); if (pj.start()) { pj.addPage(print); pj.send(); } } ]]> </mx:Script> <mx:VBox id="print" backgroundColor="#ffffff"> <mx:BarChart id="bar" height="100%" width="45%" paddingLeft="5" paddingRight="5" showDataTips="true" dataProvider="{medalsAC}"> <mx:verticalAxis> <mx:CategoryAxis categoryField="Country"/> </mx:verticalAxis> <mx:series> <mx:BarSeries yField="Country" xField="Gold" displayName="Gold"/> <mx:BarSeries yField="Country" xField="Silver" displayName="Silver"/> <mx:BarSeries yField="Country" xField="Bronze" displayName="Bronze"/> </mx:series> </mx:BarChart> </mx:VBox> <mx:Button label="Print" click="printChart()"/> </mx:Application> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/