kashida 0.0.2
kashida: ^0.0.2 copied to clipboard
Finding kashida (tatweel) insertion points and priorities, driven by a small pattern language.
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.