Erikhht / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

Minro change for more recent itext version (i.e. 2.1.7) #161

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There is a Problem with current delivered itext release.
See 
http://itext-general.2136553.n4.nabble.com/Re-Added-support-for-PDF-A-1-td216276
6.html

This bug leads to not 1005 PDF/A compliant docs.

A more recent version like 2.1.7 (which still is being distributed under MPL or 
LGPL) would fix that problem.

Only change that has to be made is in "ITextFontResolver", line 679.
The parameter for method call "getCharBBox" needs a casting to native int.

So it must read:
int[] box = _font.getCharBBox((int) 'x');

That's it!
Could you take that into next release? (If there is one planned...)

THX

Original issue reported on code.google.com by rol.olde...@gmail.com on 18 Jul 2011 at 11:16

GoogleCodeExporter commented 9 years ago
sorry. Just checkod out latest master branch and found itext 2.1.7 already.
Sorry for bothering.

Original comment by rol.olde...@gmail.com on 18 Jul 2011 at 12:15