Repository navigation
0.143.19
Added:
SVGDOMBuilderwithsetFontManager,setResourceProviderto render<text>and<image>nodes #124 via @vogellaSVGDOM::makeFromDataSVGDOMBuilder::setTextShapingFactoryAnimationBuilder::setTextShapingFactoryShaperFactory(wrapsSkShapers::Factory):makeBestAvailable,makeHarfbuzz,makeCoreText,makePrimitiveSaveLayerRec::withFilters,getFiltersto draw several filters per layer #123 via @EatgrapesSaveLayerRec::withBounds,withPaint,withBackdrop,withTileMode,withColorSpace,withFlagsPath::getCoords,PathBuilder::getCoords: points as a flatfloat[](x0, y0, x1, y1, ...) without allocating aPointper point
Changed:
- Skia version m143-da51f0d60e-5 -> m143-da51f0d60e-6
- Linux: FreeType is bundled into
libskija.soinstead of loaded from the system, and symbols of bundled libraries are no longer exported Bitmap::readPixelsreads directly into the returned array, about 2x faster #125 via @vogellaPathSegment::isClosedContouris the same for all segments of a contour. Before, the last segment of an open contour andCLOSEreported the next contour, and withforceClosethe last contour’s final segments reportedfalse
Deprecated:
SVGDOM(Data)constructor, useSVGDOM::makeFromDataorSVGDOMBuilder
Fixed:
Bitmap::readPixelscrashing the JVM whensrcYis below the bitmap bottom #125 via @vogella- SVG
<text>is rendered again, usingFontMgr::getDefaultunless overridden. Broke in 0.123.0 Path::iteratortook quadratic time on long contours: 400K segments took ~30 s, now linear #127 via @vladimirsamsonovPathSegmentIteratorreading freed memory if itsPathis closed during iteration #127 via @vladimirsamsonovCLOSEsegment after a NaN point returning garbagep0, 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