|
Different chart-size with windows Server 2003 vs Windows Server 2008 |
Posted by Michael Opitz on Aug-29-2013 16:28 |
|
Hi Peter,
i have a question regarding the output-size of a chart: A customer changed it's machine from Windows Server 2003 to Windows Server 2008 and nothing else (same code, same version of ChartDirector, same configuration). All of a sudden, the exported images are nearly twice the size as before and the legend looks more convenient.
My question is: is the graphics-generation (makeChart) somehow different between the two operating systems?
Regards,
Michael |
Re: Different chart-size with windows Server 2003 vs Windows Server 2008 |
Posted by Peter Kwan on Aug-30-2013 03:29 |
|
Hi Michael,
The makeChart is the same for all operating systems.
Without seeing the actual image, it is hard to diagnose the problem. My guess is that the problem is related to the different text rendering by the operating system.
If you are using the .NET or Java edition of ChartDirector, internally ChartDirector renders text by using the .NET or Java runtime. The .NET and Java runtime probably render text using the operating system API. As you probably are aware, text looks different in Windows 2003 and 2008. The Windows 2008 uses ClearType text rendering, and the text are smoother and has more grey levels. In Windows 2003, the text are shaper and in many font styles/sizes, they are purely black and white with no grey levels. The additional grey levels in Windows 2008 can make the image much harder to compress, resulting in bigger size.
If you would like me to diagnose the issue further, is it possible to provide two supposely identical images (using the same code and same data) generated by the two systems for me to analyze?
Regards
Peter Kwan |
|