Since m129:
- Upstream removed
SkColorFilter::filterColor, soColorFilter.filterColoris 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
skparagraphmodule and theSkParagraphclass, to provide multi-line text paragraph layout. The functionality is under theskia.textlayoutnamespace, asParagraph, 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
SkUnicodeclass is now available under python asskia.Unicode. The constructor is known to fail on windows on m130, without a bundledicudtl.datfile.EDIT: Therefore, we bundle a
icudtl.datfile for windows from m131 onward. -
There are two examples
shape_text.py(a python port of upstream's example), andskparagraph-example.pyhosted elsewhere. -
Note that the entire
skparagraphmodule 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.SurfacePropsremoved during the m87->m116 changes are re-added.