Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Regression: Plotters example shows a black border #1558

Closed
tronical opened this issue Aug 29, 2022 · 3 comments
Closed

Regression: Plotters example shows a black border #1558

tronical opened this issue Aug 29, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@tronical
Copy link
Member

The plotters example shows a black border since the 0.2.5 release:

https://slint-ui.com/releases/0.2.5/demos/plotter/

This is not visible in

https://slint-ui.com/releases/0.2.4/demos/plotter/

It's also reproducible on the desktop for me.

It appears that this is fixed upstream at plotters-rs/plotters#368 but upgrading to the newer version causes some build issues:

the package `servo-fontconfig` links to the native library `fontconfig`, but it conflicts with a previous package which links to `fontconfig` as well:
package `font-kit v0.11.0`
    ... which satisfies dependency `font-kit = "^0.11.0"` of package `plotters v0.3.3

It might be possible to work around this by pre-filling the image on the example side.

@tronical tronical added the bug Something isn't working label Aug 29, 2022
@tronical tronical added this to the 0.2.7 milestone Aug 29, 2022
@ogoffart
Copy link
Member

It might be possible to work around this by pre-filling the image on the example side.

I don't think we should attempt a work around.
We should ideally fix our use of fontconfig and stuff so that we can make this work.

@tronical
Copy link
Member Author

Possibly related PR: #956

@tronical tronical removed this from the 0.2.7 milestone Sep 5, 2022
@ogoffart
Copy link
Member

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants