Skip to content

Kites v1.5.4 - One hyphenation engine everywhere, 2.6 MB lighter

Latest

Choose a tag to compare

@Unheat Unheat released this 27 Nov 22:42
· 5 commits to main since this release

What changed

Line breaking and punctuation handling rewritten. The typography rules that decide where a line may break — Japanese line-start prohibitions, opening-quote binding, spaceless-script detection — are now table-driven modules with every character range cited to Unicode UAX #14 and the W3C Japanese Text Layout tables, replacing scattered inline regexes. Observable behavior is unchanged and locked by the existing typesetting suites.

One hyphenation engine everywhere. Auto Balloon, simple wrap, ellipse, and the Contour DP route previously resolved word splits through two different pattern systems, so the same long word could split differently depending on which engine rendered the bubble. All routes now share one vendored pattern engine — the current TeX hyphenation patterns with per-language bounds — across 45 languages, with identical split points everywhere. Hindi, Tamil, Bengali, Turkish, Finnish and the other Indic scripts move from hand-written rule tables to linguist-curated patterns, and 27 additional languages (Greek, Icelandic, Georgian, Serbian, Afrikaans, ...) gain hyphenation on routes that never had it.

Languages without pattern data keep working. Indonesian, Malay and Romanian keep their dictionaries; Nepali, Azerbaijani and Uzbek use the arithmetic syllable rules; CJK text never hyphenates, as before. The comic-lettering guards (never break a word shorter than 6 letters, 7-letter stem gate) now apply on every path.

2.6 MB smaller. The 19 now-unused dictionary files are removed from the extension bundle; the remaining two serve Indonesian/Malay and Romanian.

Verification

As reported in the merged fix commits:

  • npm test: 146 files / 1690 tests passing.
  • lint: 0 errors.
  • docs:api: zero warnings; docs:check delta −6.
  • build: pass.
  • gate:translation: no gated pipeline paths changed.

Install

Download the extension zip from this release, unzip it, and load the folder via chrome://extensions → Developer mode → Load unpacked.