You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated Unicode data to Unicode 18.0.0, adding the three new Unicode 18.0 scripts (Jurchen, Proto‑Cuneiform, Seal) and their OpenType/Unicode tag mappings.
Added SBTextGetAttributes for direct, position based attribute lookup, built on a new unified SBAttributeFilter (by attribute ID, by group/scope collection, or matching any attribute).
Added the uniform run iterator (SBUniformRunIteratorRef), which traverses runs that are simultaneously uniform in logical direction, script, and attributes — the finest-grained unit that can safely be handed to a text shaping engine as one piece.
Added support for associating user info with each paragraph (SBTextConfig retain/release/invalidate callbacks), so consumers can cache shaping results per paragraph and be notified exactly when an edit invalidates them.
Added SBAttributeListRetain/SBAttributeListRelease, now that SBAttributeListRef is an independently retainable object rather than a view into an internal dictionary.
Enabled -fvisibility=hidden so only the public API is exported from the shared library (thanks @jcowgill).
Updates
Simplified the text analysis and editing API: replaced the attribute run iterator with the simpler SBTextGetAttributes call, using SBAttributeFilter as a single filtering concept shared with the uniform run iterator.
Moved attribute-value ownership from the internal attribute dictionary to the attribute list itself.
Reorganized the text editing and analysis internals into multiple source files for clearer separation of components.
Hardened the internal one-time-execution primitive (Once) used for thread-safe lazy initialization.
Fixes
Fixed a crash when paragraph resolution failed during allocation, caused by reading an uninitialized algorithm reference during cleanup (thanks @Spirit532).
Fixed a data race in the scratch buffer pool that ThreadSanitizer could detect under concurrent allocation.
Fixed paragraph re-segmentation issues after certain text replacements.
Fixed several memory leaks when creating a mutable copy of a text object.
Fixed a struct-sizing bug in the visual run iterator's allocation.