我目前正在扩展财务应用程序,包括最初为ie5开发的Html报告解决方案。现在我正在使用ie9。
即时打印预览中的图像和Java小程序渲染问题。
如图所示: Applet draws perfectly fine in Browser but looks really ugly in print preview
对我来说看起来像是一些fubard插值
你们有人有类似的问题,甚至是解决这个问题的方法吗?
谢谢!
编辑:我忘了添加applet代码,让你知道我在处理什么
<applet name="" code="netcharts4.apps.NFPiechartApp" codebase="<%= request.getContextPath() %>/NetCharts/classes" archive="netcharts4.jar" class="pieChart">
<param name="NFParamScript" value='
Background = (white,NONE,1,null,TILE,black);
PieSquare = ON;
SliceData = <%=ch.getValuesforChart() %>;
Pie3DDepth = 20;
SliceLabelStyle = EXTERIOR;
SliceLabelLine = (SOLID,1,black);
SliceLabelContent = LABEL;
SliceLabelContentDelimiter = "\n";
SliceLabel = (ON,black,"Sans Serif",10,0);
SliceLabelBox = (white,NONE,2);
SliceBorder = (SOLID,1,black);
SliceLabels = <%=ch.getValuesforChartLegend() %>;
ColorTable = <%=ch.getColorTableForChart(ch.getDetails().size()) %>;
AntiAlias = ON;'/>
</applet>
<applet name="" code="netcharts4.apps.NFPiechartApp" codebase="<%= request.getContextPath() %>/NetCharts/classes" archive="netcharts4.jar" class="pieChart">
<param name="NFParamScript" value='
Background = (white,NONE,1,null,TILE,black);
PieSquare = ON;
SliceData = <%=ch.getValuesforChart() %>;
Pie3DDepth = 20;
SliceLabelStyle = EXTERIOR;
SliceLabelLine = (SOLID,1,black);
SliceLabelContent = LABEL;
SliceLabelContentDelimiter = "\n";
SliceLabel = (ON,black,"Sans Serif",10,0);
SliceLabelBox = (white,NONE,2);
SliceBorder = (SOLID,1,black);
SliceLabels = <%=ch.getValuesforChartLegend() %>;
ColorTable = <%=ch.getColorTableForChart(ch.getDetails().size()) %>;
AntiAlias = ON;'/>
</applet>
答案 0 :(得分:0)
我发现ie9根本不能与java6相处得很好,java7更好地展示了applet但加载时间太长。当java安装和使用时,ie10和11工作(这需要chaning即你设置)。 我最终用java脚本替换applet,生成了一个同样看起来的svg元素