sant_lipi 0.26.0 copy "sant_lipi: ^0.26.0" to clipboard
sant_lipi: ^0.26.0 copied to clipboard

A unicode font for extraordinary Gurmukhi.

Sant Lipi #

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.

Installation #

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

Usage #

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.