-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Master #33
Master #33
Conversation
Conflicts: itext/src/main/java/com/itextpdf/text/Version.java
Additional changes required on Jenkins: * Install JDK 5 and 7 * Set environment variables JAVA5_HOME and JAVA7_HOME * Run Maven with -P compileWithLegacyJDK Closes QA-93
Fix Field rotation not taken into account when flattening fields, Add test-files for flattening rotated form fields to flattening test DEV-1817
Fix matrix not being overwritten when no scaling is necessary Form fields flattened into XObject and placed in the same way as adobe flattening. DEV-1817, SUP-1612
errors if we cache too many
… trumpetinc-develop
DEV-1823
SUP-2042, DEV-1865
DEV-1863
DEV-1879
It doesn't make sense from pdf point to have dictionary with null key. DEV-1862
The whole point of disabled fractional metrics is to round up scaled font metrics to integers, so calculating bounds in not original scale and then scaling it down didn't make sense. DEV-1881
Note that RenderingHints may still be different for PdfGraphics2D and inner Graphics2D if someone explicitly gets rendering hints and will change then not through PdfGraphics2D. DEV-1881
Jenkins was failing the test containing Cyrillic characters
This logic is closer to how Acrobat displays freetext annotations, and also fixes NPE while processing such annotations with PdfContentStreamProcessor after flattening. DEV-1896
Acrobat resolves such names in DA as well. DEV-1896
Can one of the admins verify this patch? |
Hi @Rampradeepb , That seems to be incorrect: the enum ImageFormats is clearly available, as you can see here: https://github.com/apache/commons-imaging/tree/master/src/main/java/org/apache/commons/imaging If you have a NoClassDefFoundError, then any of several problems may be occurring, but most likely it is a dependency issue in your project. A few suggestions:
I am closing this PR, because it isn't a contribution to iText. |
@Rampradeepb a commit from 2013 in commons-imaging has apparently renamed this enum. So if you are sure that you have one, and only one, version of commons-imaging on your classpath, then you should probably build commons-imaging from an up to date version of the source code. |
Ok Sure. Thanks for the help |
Hi,
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/imaging/ImageFormats
at com.itextpdf.text.pdf.pdfcleanup.PdfCleanUpRenderListener.processImage(PdfCleanUpRenderListener.java:316)
The import class has typo mistake in PdfCleanUpRenderListener.java
org/apache/commons/imaging/ImageFormats (Wrong)
org/apache/commons/imaging/ImageFormat (Correct)
Thanks,