Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Font rendering issue when using a transparent chart background #2

Open
ssaring opened this issue Nov 18, 2017 · 1 comment
Open

Font rendering issue when using a transparent chart background #2

ssaring opened this issue Nov 18, 2017 · 1 comment

Comments

@ssaring
Copy link

ssaring commented Nov 18, 2017

Hello,

it's great to see offical JavaFX support in JFreeChart - thanks a lot!

In my application I need to set a transparent background for the chart because the chart needs to have the same background color as the dialog where it is shown. This is done by setting the background color with alpha 0.0.
Unfortunately this causes a font rendering issue since JFreeChart-FX 1.0, this was not the case with the unofficial/unreleased version before. All the rendered text (e.g. for the axis, titles, legends, ...) looks very blurry now.

I'm adding a modified version of your demo applications and some screenshots which show the problem. In my application it looks even worse, I'm using other fonts there.

Not transparent, proper rendering:

demo-not_transparent

Transparent background, blurry rendering:
demo-transparent_blurry

Bye, Stefan

@ssaring
Copy link
Author

ssaring commented Nov 18, 2017

Modified demo application:

BarChartFXDemo1.java.gz

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant