Skip to content

Releases: kartikasw/arabic_text_justification

v0.3.0

Choose a tag to compare

@kartikasw kartikasw released this 18 Apr 03:54
02f3751
  • Add colorSpans for per-character color tinting inside words
  • Add height parameter to auto-fit the line to a given height

v0.2.0

Choose a tag to compare

@kartikasw kartikasw released this 17 Apr 15:18
b999763
  • Add JustifiedArabicLine and JustifiedArabicBitmapLine widgets
  • Add word / marker tap callbacks with verseMarker support
  • Add highlightedWordIndices for tap-selection highlights
  • Add WordProgress for read-along animation (passed + active words, background + glyph tint)
  • Add WordProgressStyle.sweep and .whole for active-word animation
  • Add hiddenWordIndices for progressive-reveal
  • Fix non-justified line width to natural text extents
  • Narrow public API to the widgets; remove low-level renderLine / getOutline export

v0.1.0

Choose a tag to compare

@kartikasw kartikasw released this 14 Apr 00:53
887202d
  • Add JustificationFont enum exposing the bundled digitalKhatt font with a load() helper that copies the asset to the application support directory and returns its path
  • Ship prebuilt native binaries for Android and iOS; drop HarfBuzz/FreeType git submodules so consumers no longer need to build them from source
  • Implement kashida justification via the font's LTAT/RTAT variable-font axes instead of glyph-level tatweel insertion
  • Tighten kashida solver: bracket the full axis range and return the upper bracket so justified lines reach the target width instead of undershooting
  • Use available line width when sizing justified bitmaps and outlines so equal-width lines are no longer clipped

v0.0.2

Choose a tag to compare

@kartikasw kartikasw released this 05 Apr 11:51
22add58
  • Add vector outline rendering via getOutline using FT_Outline_Decompose
  • Add kashida justification toggle (justify parameter) for renderLine and getOutline
  • Add per-glyph word index for word-by-word animation
  • Add ArabicOutlinePainter for Canvas-based rendering
  • Restructure lib into src/ (native_structs, models, painter, api)

v0.0.1

Choose a tag to compare

@kartikasw kartikasw released this 05 Apr 11:48
  • Initial project setup with Flutter FFI plugin scaffold
  • Integrate HarfBuzz for Arabic text shaping (RTL, script-aware)
  • Integrate FreeType for glyph rasterization
  • Add shapeLine and renderLine APIs via dart:ffi
  • Android and iOS platform support