Releases: jwharm/cairo-java-bindings
Releases · jwharm/cairo-java-bindings
1.18.4.1
1.18.4
This release contains small fixes and improvements:
- Flag parameters (that allow bitwise combinations) are now
Set<>
parameters. This impactsPDFOutlineFlags
andFTSynthesize
. - Fixed the function descriptors of
cairo_text_extents
andcairo_glyph_extents
- Small Javadoc fixes
- Dependency upgrades
Full Changelog: 1.18.3...1.18.4
1.18.3
1.18.2
Version 1.18.2 brings the following changes:
- Fixed #2: Automatically resize the
MemorySegment
returned byImageSurface::getData
to theheight * stride
of the surface. (Previously, theMemorySegment
has zero size and had to be resized by the user). - Added warnings to the documentation of the various
getUserData
methods that the returnedMemorySegment
has zero size and must be explicitly resized to the correct value. - A few other small Javadoc fixes/improvements
- Updated dependency versions
1.18.1
1.18.0
This release upgrades the bindings to cairo 1.18.0.
Some notable changes are:
- Added bindings for new API as listed here with two exceptions:
- DWrite fonts, because platform-specific fonts and devices are not included
- the API additions to User Fonts, because User Fonts are also not included in the bindings
- Added bindings for SurfaceObserver
- Added bindings for TeeSurface
- Fixed marshaling of glyph parameters
This release also adds support for cairo-gobject, by adding static getType()
methods to the applicable classes. The getType()
methods return a org.gnome.glib.Type
object with the gtype. This adds an optional dependency on Java-GI (specifically, the glib
module). If you don't use the getType()
methods, you can safely omit this dependency.
Finally. a lot of testcases have been added, reworked and improved.
Full Changelog: 1.16.2...1.18.0
1.16.2
1.16.1
This release contains two functionality changes:
- Changed
FTSynthesize
to a record class - Fixed handling of empty String parameters
Other changes:
- Removed dependency on Java-GI functionality. The interop functionality has been added in a new package
io.github.jwharm.cairobindings
. - Renamed base class from
ProxyInstance
toProxy
- The build structure and Gradle build files have been cleaned up
- Added toolchain resolver convention plugin
- Changed tests of PDF, PS and SVG Surfaces to use null instead of empty String
- Upgraded Gradle wrapper to 8.3
Full Changelog: 1.16.0...1.16.1