Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.04 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.04 KB

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.