play2-scala-pdf
play2-scala-pdf copied to clipboard
flyingsaucer update 9.1.18
Hi, i would like to use the library (with Play 2.6 and scala 2.11) for creating PDFs. Unfortunately there is still a bug with box sizing which should be fixed with the flyingsaucer v9.1.18 release. Can you update the version?
I have tried to update the version but i get the following error:
java.lang.NoClassDefFoundError: com/twelvemonkeys/imageio/spi/ImageWriterSpiBase
After a little search i found your comment in build.sbt#L61. I removed % Test
in build.sbt#L62 and now it is runnable.
Hi @avp90 , is this issue still relevant? i.e. can I close it.
Two things though:
- I'm still planning to update FlyingSaucer to latest version, but I think it is not related to the issues you're experiencing, is that correct?
- Seems like
ImageWriterSpiBase
is a required dependency somewhat. Perhaps I can updatebuild.sbt
in the library to include this as a dependency (instead just forTest
right now).
Hi @hhandoko,
the issue is still relevant until flyingsaucer v9.1.18 is used. In the master
Branch is Version 9.1.14
active:
"org.xhtmlrenderer" % "flying-saucer-pdf-openpdf" % "9.1.14"
ImageWriterSpiBase
seems to be a required dependency of v9.1.18.
Some tests are failing when updated to 9.1.18
, which I experienced before. I think this is due to some font-loading issue. I'll raise a PR once I found a solution.