Blur fonts

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Dmitry
Newbie
Newbie
Posts: 54
Joined: Mon Jul 27, 2009 12:00 am
Contact:

Blur fonts

Post by Dmitry » Tue Aug 05, 2014 8:57 am

Hello.
In Mac OS font inside charts have blur fonts.
How does it fixed?
p.s.
In windows is all ok
Dmitry
Attachments
Screen Shot 2014-08-05 at 12.52.44.png
Screen Shot 2014-08-05 at 12.52.44.png (17.83 KiB) Viewed 62990 times

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Blur fonts

Post by Yeray » Wed Aug 06, 2014 12:13 pm

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 62945 times
Does the demo look fine for you too?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dmitry
Newbie
Newbie
Posts: 54
Joined: Mon Jul 27, 2009 12:00 am
Contact:

Re: Blur fonts

Post by Dmitry » Wed Aug 06, 2014 7:53 pm

builded swt examples
too same
bluuuur
Attachments
Screen Shot 2014-08-06 at 23.50.50.png
Screen Shot 2014-08-06 at 23.50.50.png (21.01 KiB) Viewed 62927 times

Dmitry
Newbie
Newbie
Posts: 54
Joined: Mon Jul 27, 2009 12:00 am
Contact:

Re: Blur fonts

Post by Dmitry » Wed Aug 06, 2014 7:55 pm

one more screenshot
Attachments
Screen Shot 2014-08-06 at 23.54.45.png
Screen Shot 2014-08-06 at 23.54.45.png (182.58 KiB) Viewed 62928 times

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Blur fonts

Post by Yeray » Thu Aug 07, 2014 1:13 pm

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 62929 times
Now, if I zoom this image a 300% I get this:
zoomed.png
zoomed.png (22.22 KiB) Viewed 62937 times
Note TeeChart texts look as blurred as the labels and other texts in the application, isn't it?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dmitry
Newbie
Newbie
Posts: 54
Joined: Mon Jul 27, 2009 12:00 am
Contact:

Re: Blur fonts

Post by Dmitry » Thu Sep 04, 2014 6:03 pm

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

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Blur fonts

Post by Yeray » Fri Sep 05, 2014 3:17 pm

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);
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dmitry
Newbie
Newbie
Posts: 54
Joined: Mon Jul 27, 2009 12:00 am
Contact:

Re: Blur fonts

Post by Dmitry » Sun Sep 07, 2014 1:44 pm

didn't hel me

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

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Blur fonts

Post by Yeray » Mon Sep 08, 2014 8:24 am

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");
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dmitry
Newbie
Newbie
Posts: 54
Joined: Mon Jul 27, 2009 12:00 am
Contact:

Re: Blur fonts

Post by Dmitry » Tue Sep 09, 2014 11:06 am

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

Post Reply