Skip to content

0.143.19

Choose a tag to compare

@github-actions github-actions released this 30 Nov 13:03
· 3 commits to master since this release

Added:

  • SVGDOMBuilder with setFontManager, setResourceProvider to render <text> and <image> nodes #124 via @vogella
  • SVGDOM::makeFromData
  • SVGDOMBuilder::setTextShapingFactory
  • AnimationBuilder::setTextShapingFactory
  • ShaperFactory (wraps SkShapers::Factory): makeBestAvailable, makeHarfbuzz, makeCoreText, makePrimitive
  • SaveLayerRec::withFilters, getFilters to draw several filters per layer #123 via @Eatgrapes
  • SaveLayerRec::withBounds, withPaint, withBackdrop, withTileMode, withColorSpace, withFlags
  • Path::getCoords, PathBuilder::getCoords: points as a flat float[] (x0, y0, x1, y1, ...) without allocating a Point per point

Changed:

  • Skia version m143-da51f0d60e-5 -> m143-da51f0d60e-6
  • Linux: FreeType is bundled into libskija.so instead of loaded from the system, and symbols of bundled libraries are no longer exported
  • Bitmap::readPixels reads directly into the returned array, about 2x faster #125 via @vogella
  • PathSegment::isClosedContour is the same for all segments of a contour. Before, the last segment of an open contour and CLOSE reported the next contour, and with forceClose the last contour’s final segments reported false

Deprecated:

  • SVGDOM(Data) constructor, use SVGDOM::makeFromData or SVGDOMBuilder

Fixed:

  • Bitmap::readPixels crashing the JVM when srcY is below the bitmap bottom #125 via @vogella
  • SVG <text> is rendered again, using FontMgr::getDefault unless overridden. Broke in 0.123.0
  • Path::iterator took quadratic time on long contours: 400K segments took ~30 s, now linear #127 via @vladimirsamsonov
  • PathSegmentIterator reading freed memory if its Path is closed during iteration #127 via @vladimirsamsonov
  • CLOSE segment after a NaN point returning garbage p0, now the contour start #127 via @vladimirsamsonov
  • Linux: heap corruption drawing COLRv1 emoji (e.g. Noto Color Emoji on Fedora 41+) with system FreeType 2.13 or newer HumbleUI/SkiaBuild#19 via @execsuroot