Repository navigation
Releases
Releases · telesvar/uwidth
v1.0.0-preview
Immutable
release. Only release title and notes can be modified.
- The new API uses
uwidth.h,Uwidth_*types, anduwidth_*functions. uwidth_pushreports an event when the preceding grapheme cluster is complete. Calluwidth_finishafter the last code point.- Each cluster event contains its final width, so callers no longer apply per-code-point changes or negative corrections.
uwidth_event_controlreplaces the-1control result andunicode_width_control_char. A CRLF pair produces one control event containing CR.uwidth_inittakes a narrow or East Asian profile for Ambiguous characters.uwidth_resetkeeps that profile.- Uses Unicode 18.0.0 beta data.
v0.1.0
- Updates Unicode data from 16.0.0 to 17.0.0.
- Fixes grapheme boundaries for Indic conjuncts and regional indicator pairs. Controls now end any pending cluster.
- Gives canonically equivalent Latin and Hangul text the same width.
- Replaces emoji heuristics with Unicode sequence data for flags, keycaps, tag flags, ZWJ sequences, VS15, and VS16.
- Treats surrogates and out-of-range values as U+FFFD while keeping noncharacters valid.