v2.1.1
2.1.1
Fixed
- iOS: Resolved crash in
composeTextwhen converting colorArgb (0xFFFFFFFF) from Int64 to UInt32- Changed from unsafe
Int64 → Int32 → UInt32conversion to idiomaticUInt32(truncatingIfNeeded:) - Fixes "Fatal error: Not enough bits to represent the passed value" crash
- Resolves issue #2
- Changed from unsafe
- iOS: Fixed text watermark clipping on right side
- Improved canvas size calculation using
CTLineGetImageBoundsin addition toCTLineGetTypographicBounds - Ensures glyphs with italic, kerning, or ligatures are not clipped
- Increased padding from 4.0 to 8.0 for safety margin
- Improved canvas size calculation using