- Java 7 and Gradle 4 are now required to build VectorGraphics2D
- Restored compression support for PDF files
- All processors now have a standard constructor
- Added more JavaDoc documentation
Be aware that due to restructuring this version does not support PDF Flate
compression. Turning on compression in PDFProcessor
will lead to corrupt
output.
- Major API change: The classes
EPSGraphics2D
,PDFGraphics2D
andSVGGraphics2D
have been removed.VectorGraphics2D
is used instead in combination with aProcessor
instance to generate aDocument
object, which can then be written to anOutputStream
. See README.rst for code examples. - The PDF code has seen some major restructuring as well to make it more robust and more standards compliant.
- SVG documents use of pixels for page size instead of millimeters by default.
- Better handling of font metrics (thanks to Anton Roslov, pull request #62)
- A bug that caused number to be formatted in computerized scientific notation, which is not supported in most formats (thanks to Jakub H., issue #63).
- Allow headless build
- Added support for CMYK color space
- Added optional compression to
PDFGraphics2D
- Processing a stream of commands instead of directly mapping method calls
- Return valid graphics device configuration when calling
getDeviceConfiguration()
instead ofnull
- Switch from Maven to Gradle for build management
- Publish on MavenCentral
- Fixed a bug that caused missing transformations in EPS files when calling
EPSGraphics.transform(AffineTransform)
. - Switched from Subversion to git as version control system
- Added Maven repository location to POM
- Fixed issue 14 which caused invalid SVG clipping
- Support for rendering paints (gradients, patterns, etc.)
- Improvements to build system
- Fixed transformation of clipping paths in SVG files
- Fixed build with Java 7
- Added image support
- Support for transforms
- Various bug fixes
- Clipping support
- Dashed strokes
- Added special handling for rounded rectangles
First public release with very basic EPS, PDF, and SVG support