Annapurna - Webfont Test
This is a test of the font family based on the local path references. The page demonstrates how to use the WOFF version of Annapurna for web pages, using local copies of the .woff files in this archive. For more information on this technique - and how to use the normal TrueType version as a web font - see Using SIL Fonts on Web Pages.
The body of this document is styled using an external stylesheet, with Annapurna set as the default font, and loaded directly as a WOFF file using the @font-face rule. To see specifically how these techniques are specified in the CSS and HTML, view the source to this page and the accompanying CSS file.
Example text (UDHR 26)
Devanagari (Hindi) Regular 400 |
१० दिसम्बर १९४८ को यूनाइटेड नेशन्स की जनरल असेम्बली ने मानव अधिकारों की सार्वभौम घोषणा को स्वीकृत और घोषित किया । इसका पूर्ण पाठ आगे के पृष्ठों में दिया गया है । इस ऐतिहासिक कार्य के बाद ही असेम्बली ने सभी सदस्य देशों से अपील की कि वे इस घोषणा का प्रचार करें और देशों अथवा प्रदेशों की राजनैतिक स्थिति पर आधारित भेदभाव का विचार किए बिना, विशेषतः स्कूलों और अन्य शिक्षा संस्थाओं में इसके प्रचार, प्रदर्शन, पठन और व्याख्या का प्रबन्ध करें । |
Devanagari (Hindi) Bold 700 |
१० दिसम्बर १९४८ को यूनाइटेड नेशन्स की जनरल असेम्बली ने मानव अधिकारों की सार्वभौम घोषणा को स्वीकृत और घोषित किया । इसका पूर्ण पाठ आगे के पृष्ठों में दिया गया है । इस ऐतिहासिक कार्य के बाद ही असेम्बली ने सभी सदस्य देशों से अपील की कि वे इस घोषणा का प्रचार करें और देशों अथवा प्रदेशों की राजनैतिक स्थिति पर आधारित भेदभाव का विचार किए बिना, विशेषतः स्कूलों और अन्य शिक्षा संस्थाओं में इसके प्रचार, प्रदर्शन, पठन और व्याख्या का प्रबन्ध करें । |
Default behavior
Many font features in Annapurna SIL are common to both OpenType and Graphite rendering engines to render the proper shaping of Devanagari characters. Others features (listed below) are used to create a more pleasing look. These features are always “on”.
Latin punctuation
The Latin characters in Annapurna SIL are derived from the Charis SIL font. However, the exclamation and question marks were redrawn to fit the style of the Annapurna Devanagari glyphs and are used by default. But they will switch to the Charis style punctuation when preceded by a Latin character. This is accomplished by use of the Contextual Alternates OpenType feature.
Default Devangari style |
test क्र! test क्र? |
Contextual Alternate 'calt' |
test kra! test kra? |
Contextual Alternate 'calt' |
नमस्ते! Namaste! |
Stacking conjunct compression
If there is a matra below a stacking conjunct, this feature compresses the conjunct which raises the matra above the descender height line. Otherwise, they could clash with matras or signs above the bar on the following line. In the test sequence below, note the first conjunct (without a matra) is normal height.
Contextual Alternate 'calt' |
क्क क्कु क्कू क्कु़ क्कू़ |
Fractions
Note: The Ligature feature is included in the font since some OpenType applications use it instead of the Fractions feature.
No ligature (using ZWNJ) |
१⁄२ १⁄४ ३⁄४ |
Fractions 'frac' |
१⁄२ १⁄४ ३⁄४ |
Ligature 'liga' |
१⁄२ १⁄४ ३⁄४ |
Language-specific features
default |
झ झ् झ़ झ़् झ्र झ़्र ५ ८ ९ |
Nepali ('ne') |
झ झ् झ़ झ़् झ्र झ़्र ५ ८ ९ |
Newari ('new') |
झ झ् झ़ झ़् झ्र झ़्र ५ ८ ९ |
User-selectable features
Stylistic Sets (OpenType) or Character Variants (Graphite)
Note: The Stylistic Sets feature has a range of 1 through 20. The Character Variants feature has a range of 1 through 99.
Jha alternates
default |
झ झ् झ़ झ़् झ्र झ़्र |
ss01=1 or cv01=1 |
झ झ् झ़ झ़् झ्र झ़्र |
ss02=1 or cv01=2 |
झ झ् झ़ झ़् झ्र झ़्र |
Kra alternate
default |
क्र क़्र |
ss03=1 or cv03=1 |
क्र क़्र |
Tra alternate
default |
त्र त़्र |
ss04=1 or cv04=1 |
त्र त़्र |
Shra alternate
default |
श्र श़्र |
ss05=1 or cv05=1 |
श्र श़्र |
Ukar nukta position
default |
कु़ कू़ क्कु़ क्कू़ |
ss06=1 or cv06=1 |
कु़ कू़ क्कु़ क्कू़ |
Ekar nukta position
default |
के़ |
ss07=1 or cv07=1 |
के़ |
Digit five alternate
default |
५ |
ss08=1 or cv08=1 |
५ |
Digit eight alternate
default |
८ |
ss09=1 or cv09=1 |
८ |
Digit nine alternates
default |
९ |
ss10=1 or cv10=1 |
९ |
ss11=1 or cv10=2 |
९ |
Visarga with connecting bar
default |
ः |
ss12=1 or cv12=1 |
ः |
Glottal stop - no connecting bar
default |
ॽ |
ss13=1 or cv13=1 |
ॽ |
Dya and Hya alternates
default |
द्य द्य् द्य़ द्य़् द्य्र द्य़्र ह्य ह्य् ह्य़ ह्य़् ह्य्र ह्य़्र |
ss14=1 or cv14=1 |
द्य द्य् द्य़ द्य़् द्य्र द्य़्र ह्य ह्य् ह्य़ ह्य़् ह्य्र ह्य़्र |
Archaic forms
default |
अ आ ओ औ ण ण् क्ष क्ष् |
ss15=1 or cv15=1 |
अ आ ओ औ ण ण् क्ष क्ष् |
Ra Ukar with Nukta ligatures
default |
रु़ ऱु़ |
ss16=1 or cv16=1 |
रु़ ऱु़ |
Cha alternate
default |
छ छ् |
ss17=1 or cv17=1 |
छ छ् |
Additional Character Variants
Headstroke alternates
default |
ꣻ कꣻम |
cv21=1 |
ꣻ कꣻम (discrete) |
cv21=2 |
ꣻ कꣻम (narrow) |
cv21=3 |
ꣻ कꣻम (filler - zero advance width) |
JainOm alternate