Closed expipiplus1 closed 2 years ago
I've always used stack to build the chart library, and note that https://www.stackage.org/lts-16.31 was the last lts release to include SVGfonts. I note that even the most recent nightly release doesn't include SVGFonts ?
Yeah, it's regrettable that SVGFonts has dropped off Stackage, although I guess if it's ever put back in it'll be the latest version.
Just wanted to mention here that I put together a migration guide for SVGFonts-1.8
: https://github.com/diagrams/SVGFonts#porting-to-version-18 . If you like, I'd be happy to help put together a PR to update Chart
.
Thanks @byorgey. I'll take a look at the migration advice.
+1, a release supporting current SVGFonts (and ideally, SVGFonts and Chart back in stackage) would help with hls packaging.
It looks like @bravit made a revision to 1.9.3 that enabled SVGFonts 1.8: https://hackage.haskell.org/package/Chart-diagrams-1.9.3/revisions/
I'm still seeing errors (mainly Not in scope: ‘F.textSVG'
) though.
Am I missing something? I've set a bound in my project to < 1.8
to work around it.
I don't see any changes on master that would fix charts-diagrams for SVGFonts 1.8
Note that SVGFonts
is back in Stackage now. My offer from above to help put together a PR to update Chart
still stands. At this point maybe I will just put a PR together and see where it goes from there.
Thanks, @byorgey, I'll look into this today.
There are a few breaking changes which need to be accommodated. I had a glance at fixing these but some were non-obvious.