A unicode font for extraordinary Gurmukhi.
Sant Lipi is a variable font with the purpose of fully expressing the unique characters and combos found in the database at Shabad OS.
Please see Sant Lipi's GitHub repo to learn more.
Import the font
dart pub add sant_lipi
Declare the font in the pubspec
flutter:
fonts:
- family: SantLipi
fonts:
- asset: packages/sant_lipi/SantLipi-VF.ttf
Note: The font weights available are from 100 to 900 (e.g. the 400
below could be 581.321
).
TextStyle(
fontFamily: 'SantLipi',
fontVariations: [
FontVariation('wght', 400),
],
)
See Flutter docs: Use a custom font.