Giter Club home page Giter Club logo

itext2's Introduction

itext2

Java Library to create and manipulate PDF on the fly

This is a fork of iText 2.1.7 version, the last version under MPL/LGPL

License

MPL / LGPL

Goals

This library is a fork of iText 2.1.7. Main goals are:

  • Maintain API compatibility with iText 2.1.7.
  • Maintain JDK compatibility: Update code base to keep runing on new and old JDK releases.
  • Maintain BouncyCastle compatibility: Update code base to keep compatibility with new BouncyCastle releases.
  • Better support for Linux.
  • Bug Fixing.

Use iText2 as Maven dependency

Add this to your pom.xml file to use the latest version of OpenPDF:

<dependency>
    <groupId>com.github.albfernandez</groupId>
    <artifactId>itext2</artifactId>
    <version>2.2.2</version>
</dependency>

Building from sources

    git clone https://github.com/albfernandez/itext2.git
    cd itext2
    mvn clean package
    

itext2's People

Contributors

albfernandez avatar dependabot[bot] avatar gustf avatar miasma avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

itext2's Issues

Documentation and/or more details

I just happened to find this library, after having some problems with Flying Saucer. What I could not find out easily is how this library can be used and wether or not this contains additional iText plugins like XMLWorker or not?

Could you provide these basic information to make it easier to make first steps in making the decision whether or not to use this lib?

FontSelector doesn't seem to fallback properly

I'm using this library with https://mvnrepository.com/artifact/org.xhtmlrenderer/flying-saucer-pdf/9.0.9.

I used to work with iText 2.0.8 (with https://mvnrepository.com/artifact/org.xhtmlrenderer/core-renderer/R8) but I decided to spend some time on upgrading the tools.

This works great and solved a break-work issue I had!!

However, the FontSelector doesn't seem to fallback when required.

I'm using the following font-family: Helvetica, Arial, ... css.

The glyphs aren't present in the Helvetica, so it should fallback to Arial

$ java VerifyGlyphExists 268 ../resources/data/fonts/LT_51251.ttf
NO GLYPH &#268; for java.awt.Font[family=Helvetica LT,name=Helvetica LT Oblique,style=plain,size=12] from ../resources/data/fonts/LT_51251.ttf

$ java VerifyGlyphExists 268 ../resources/data/fonts/arial.ttf
FOUND    &#268; for java.awt.Font[family=Arial,name=Arial,style=plain,size=12] from ../resources/data/fonts/arial.ttf

However, after the upgrade, this doesn't seem to work anymore and I'm struggling to find out why.
Do you have any idea?

Before

screen shot 2016-09-26 at 15 29 57

After

screen shot 2016-09-26 at 15 29 42

Create a tool or example for converting from normal to booklet and reverse

License type

plese, could detail on what are the license conditions to use the library? Readme specifies MPL/LGPL, while the attached LICENSE file contains only LGPL 3.0. Does it mean that MPL is not applicable? Or are the license conditions anyhow different?

Thanks in advance for information. The unclear re-use conditions are making a mess in delivery of our own software :)

JDK 12 support

Check compatilibity for JDK12, enable jdk12 builds in travis

Joined effort with openPDF?

Hi Alberto,

I just stumbled over your iText fork. I also maintain a (non-public) iText fork and I see that we have done lots of similar stuff :-)
I wanted to publish my fork too, but then I stumbled over the openPDF project (https://github.com/LibrePDF/OpenPDF). Why don't we join forces over there? I also saw that your are already a contributor there.
Any reason for still keeping your fork?

Regards,
Lonzak

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.