v2.3
Additions
Added @Nullable
, @NonNull
, @Size
and @ColorInt
annotations throughout the project
ShapingEngine
:
- OpenType Features:
setOpenTypeFeatures(Set<OpenTypeFeature> features)
,Set<OpenTypeFeature> getOpenTypeFeatures()
Typeface
:
- Strikeout Properties:
int getStrikeoutPosition()
,int getStrikeoutThickness()
@IntDef
Annotations:
BidiClass
:@Value
GeneralCategory
:@Value
Script
:@Value
Updates
- Implemented character measurement based on caret range distance
- Wrote
Precondition
class and used it for checking parameter expectations - Removed custom
@Sustain
annotation in favour of androidx@Keep
annotation - Replaced array with variable args for creating primitive lists
- Updated SheenFigure to version 1.5
Fixes
- Fixed an issue related to text becoming blank in
TLabel
widge - Fixed backward mode glyph run rendering issues
- Fixed backward mode cluster clipping issues
- Fixed
equals(Object)
implementation ofNameTable.Record