GithubHelp home page GithubHelp logo

Comments (4)

halfbaked avatar halfbaked commented on August 16, 2024

Also if you choose the following dependency:

org.xhtmlrenderer:core-renderer:R9-github-2011-01-11

rather than the earlier R8

you will get:

NoSuchMethodError: com.lowagie.text.pdf.BaseFont.getCharBBox(I)

from rendering.

PatrickHuetter avatar PatrickHuetter commented on August 16, 2024

Hello halfbaked, did you find a solution for that? I'm working with grails rendering plugin too and i think the provided iText version is too old.

from rendering.

halfbaked avatar halfbaked commented on August 16, 2024

Hi Patrick, it is quite a while since I look at this so I'm not sure what I did in the end. I definitely use both the export and renderer plugins with inline images now. Here are the relevant dependencies in my build config. They might be some help to you.

dependencies {
    runtime ( 'org.xhtmlrenderer:core-renderer:R8', 'com.lowagie:itext:2.1.0')
}
plugins {
  runtime(':rendering:0.4.3') {
    excludes 'itext'
  }
  runtime(':export:1.1') {
    excludes 'itext', 'itext-rtf'
  }
}

from rendering.

fupelaqu avatar fupelaqu commented on August 16, 2024

If you want to use a newer itext library, you should use this dependency of core-renderer
'org.xhtmlrenderer:core-renderer:R8-final' (http://wo-repository.doit.com.br/content/repositories/thirdparty/org/xhtmlrenderer/core-renderer/R8-final)

from rendering.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.