Closed Hralamal2 closed 8 months ago
There’s an issue in the baseline of this Arabic font. You can change font or you can manually increase the baseline text in flutter widgets.
To change the font for Arabic, follow this guide: https://houzi-docs.booleanbites.com/hooks-widgets/add_new_font And return this new font in the hook when locale is Arabic.
how can i increase the baseline text in flutter widgets.
Hi there, Please follow these steps:
PROJECT_NAME/packages/houzi_package/lib/widgets/generic_text_widget.dart
.this.strutStyle = const StrutStyle(height: 1.2, forceStrutHeight: true),
height: 1.2
accordingly.I hope this will help you resolve the issue.
Hi there,
Were you able to resolve the issue?
it's works now thank you
Hi
as you can see there's no space between the sentence in Arabic language