Since m129:
- Upstream removed
SkColorFilter::filterColor
, soColorFilter.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 theSkParagraph
class, to provide multi-line text paragraph layout. The functionality is under theskia.textlayout
namespace, 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
SkUnicode
class is now available under python asskia.Unicode
. The constructor is known to fail on windows on m130, without a bundledicudtl.dat
file.EDIT: Therefore, we bundle a
icudtl.dat
file for windows from m131 onward. -
There are two examples
shape_text.py
(a python port of upstream's example), andskparagraph-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.