islamic_text 1.1.0
islamic_text: ^1.1.0 copied to clipboard
A Flutter package for processing Islamic text, including ligature replacement and glyph rendering.
Changelog #
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 #
Fixed #
- Fixed incorrect rendering order when multiple Islamic ligatures appear on the same line in RTL text.
- Resolved bidirectional layout issues by removing
WidgetSpanusage and relying onTextSpanonly.
Changed #
- Migrated ligature encoding from CJK characters to Unicode Private Use Area (PUA) for correct RTL behavior.
- Updated the bundled font file to reflect new PUA mappings and corrected vertical metrics.
- Removed vertical alignment adjustments; ligature alignment is now handled directly in the font.
Added #
- Exposed
IslamicTextSpanBuilderas a public API to allow consumers to generateTextSpanoutput directly without using widgets.
Internal #
- Refactored span-building logic into
IslamicTextSpanBuilderfor better separation of concerns and reuse.
1.0.3 #
Added #
- Added all the optional Text.rich attributes to the widget for improved customization.
1.0.2 #
1.0.1 #
Added #
- Runtime font loading using
FontLoaderfor theIslamicPhrasesfont.- The package now automatically loads the font at runtime.
- No need to declare the font in the consuming app's
pubspec.yaml.
- Ensures ligatures render correctly on Android, iOS, and simulators.
Changed #
- Internal widget structure updated to use
FutureBuilderfor font loading. - Improved cross-platform reliability for the
IslamicTextwidget.
1.0.0 #
Added #
- Initial release of
islamic_textpackage. IslamicTextwidget for rendering Islamic phrases with compact ligatures.LigatureReplacerfor reversible phrase-to-symbol encoding/decoding.IslamicTextStyleResolverfor applying custom fonts.- Support for custom font IslamicPhrases.
- Basic example app included in
/examplefolder.