Page 1 of 1

Blur fonts

Posted: Tue Aug 05, 2014 8:57 am
by 15354003
Hello.
In Mac OS font inside charts have blur fonts.
How does it fixed?
p.s.
In windows is all ok
Dmitry

Re: Blur fonts

Posted: Wed Aug 06, 2014 12:13 pm
by yeray
Hello Dimitry,

I've ran the Swing TeeChart.Features.jar examples in a Mac OSX and the fonts seem to look fine:
screenshot.png
screenshot.png (299.59 KiB) Viewed 44389 times
Does the demo look fine for you too?

Re: Blur fonts

Posted: Wed Aug 06, 2014 7:53 pm
by 15354003
builded swt examples
too same
bluuuur

Re: Blur fonts

Posted: Wed Aug 06, 2014 7:55 pm
by 15354003
one more screenshot

Re: Blur fonts

Posted: Thu Aug 07, 2014 1:13 pm
by yeray
Hello,

I assume you are zooming the image. Here it is what I get without zooming it:
screenshot.png
screenshot.png (403.09 KiB) Viewed 44373 times
Now, if I zoom this image a 300% I get this:
zoomed.png
zoomed.png (22.22 KiB) Viewed 44381 times
Note TeeChart texts look as blurred as the labels and other texts in the application, isn't it?

Re: Blur fonts

Posted: Thu Sep 04, 2014 6:03 pm
by 15354003
no zooming!!!

I had same the issue for my application
help me to set <key>NSHighResolutionCapable</key> in info.plist in my case
Try view your swt chart example on retina

Re: Blur fonts

Posted: Fri Sep 05, 2014 3:17 pm
by yeray
Hello,
Dmitry wrote:no zooming!!!

I had same the issue for my application
help me to set <key>NSHighResolutionCapable</key> in info.plist in my case
Try view your swt chart example on retina
I'm afraid we don't have a Mac with retina display here.
Give it a try at these properties.

Code: Select all

        tChart1.getGraphics3D().setSmoothingMode(false);
        tChart1.getGraphics3D().setTextSmooth(false);

Re: Blur fonts

Posted: Sun Sep 07, 2014 1:44 pm
by 15354003
didn't hel me

Can I change type of font (Monaco, Colibri and etc) for elements?

Re: Blur fonts

Posted: Mon Sep 08, 2014 8:24 am
by yeray
Hello,
Dmitry wrote:didn't hel me
I'm afraid it's difficult for us to reproduce this here if this needs an OSX with a retina display.
Dmitry wrote:Can I change type of font (Monaco, Colibri and etc) for elements?
Yes, ie:

Code: Select all

bar1.getMarks().getFont().setName("Monaco");
tChart1.getAxes().getLeft().getLabels().getFont().setName("Monaco");

Re: Blur fonts

Posted: Tue Sep 09, 2014 11:06 am
by 15354003
And it doesn't help me
look at http://docs.oracle.com/javase/tutorial/ ... hints.html
Possible you can change parameter for rendering font in java2d or give a possibility to change this parameter
Best regard