Skip to content

Font rendering issue when using a transparent chart background #2

@ssaring

Description

@ssaring

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions