kashida 0.1.2
kashida: ^0.1.2 copied to clipboard
Flutter kashida (tatweel) for Arabic and Syriac: find insertion points and justify text with KashidaText, layoutParagraphStyled, and TextWidthCache.
0.1.2 #
- Publish
example/kashida_example.dartfor the pub.dev Example tab (full Flutter demo stays in the repo for local runs). - Depend on
kashida_core^0.1.2.
0.1.0 #
- Split the pure Dart matcher and layout into the
kashida_corepackage; this package re-exports it and keeps Flutter measuring plusKashidaText. - Depend on published
kashida_core^0.1.1. - Optional
justifyLastLineonlayoutParagraph/KashidaTextto stretch the last line of each paragraph. KashidaTextcaches layout and reuses aTextWidthCacheacross measure calls.- Refresh the README and demo GIF; add doc/design.md.
0.0.3 #
- Expand the example into justify / find-and-insert / rules tabs.
- Bundle Arabic and Syriac fonts in the example so they load on macOS as well as web.
- Add a justify demo GIF to the README.
0.0.2 #
- Insert tatweel with
insertKashidaandinsertKashidaAt, orKashidaAnalysis.insert(same count at every point — not justification). findKashidaPointsnow returnsKashidaAnalysisand takes a namedremoveExistingKashida.- Wrap and fill lines with
layoutParagraph/layoutParagraphStyled/KashidaText. - Newlines start a new paragraph; leftover width is
KashidaLine.unusedWidth. - Infer Syriac fill from the
syriacbuiltin;KashidaPoint.endOffsetInfor string offsets. - Add
requiredBuiltinPatternSet,findKashidaPointsIn, and exportkashida/kashidaCodepoint.
0.0.1 #
- Initial Dart/Flutter port of raqim-kashida.
- Compile kashida pattern text (
compilePatternText) and look up built-in sets (arabic-naskh,arabic-nastaliq,arabic-simple,syriac). - Find insertion points and priorities with
findKashidaPointsandfindKashidaPointsPatterns. - Include an example app that justifies a paragraph from those points.