Skip to content

v130.0 beta 10 Release

Pre-release
Pre-release
Compare
Choose a tag to compare
@HinTak HinTak released this 20 Sep 21:44
· 78 commits to main since this release
57e705c

Since m129:

  • Upstream removed SkColorFilter::filterColor, so ColorFilter.filterColor is now emulated.

Since m128 (last beta release):

  • We now build for Mac OS 11.0 (instead of 10.13; github CI warning)

  • We now bind uptream's experimental skparagraph module and the SkParagraph class,
    to provide multi-line text paragraph layout.
    The functionality is under the skia.textlayout namespace, as Paragraph, etc.

    • There is a FontMgr.OneFontMgr() method which takes a font file or data, which returns
      a font manager having knowledge of exactly one font. FontMgr.New_Custom_Empty() has been
      overloaded as an alias to this, too.

    • The SkUnicode class is now available under python as skia.Unicode.
      The constructor is known to fail on windows - It is likely that downloading
      a icudtl.dat file, renaming from the versioned data-bin-{l,b}.zip in
      https://github.com/unicode-org/icu/releases, is needed. Windows users please report
      success/failure on this.

    • There are two examples shape_text.py (a python port of upstream's example), and
      skparagraph-example.py hosted elsewhere.

    • Note that the entire skparagraph module is still experimental and subjected to change.
      Font choices on Linux are sensitive to LANG and FC_LANG, and you may need to set/unset
      them for desired outcome.
      See filed issue upstream for details and updates.

  • Improved preview of default arguments in function signatures

  • Some parametric tests involving skia.SurfaceProps removed during the m87->m116 changes
    are re-added.

What's Changed

Full Changelog: v128.0b9...v130.b10