File: AnnapurnaSIL-webfont-example.html

package info (click to toggle)
fonts-sil-annapurna 1.204-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,488 kB
  • sloc: makefile: 6; sh: 1
file content (33 lines) | stat: -rwxr-xr-x 3,115 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!doctype html>
<!--
Annapurna-webfont-example.html
AnnapurnaSIL
This file is part of Annapurna font family (http://software.sil.org/annapurna)
and is Copyright (c) 2007-2019 SIL International (http://www.sil.org/),
with Reserved Font Names "Annapurna" and "SIL". This Font Software is licensed
under the SIL Open Font License, Version 1.1. You should have received a copy
of the license along with this Font Software. If this is not the case, go to
(http://scripts.sil.org/OFL) for all the details including a FAQ.
-->
<head>
	<link rel="stylesheet" href="AnnapurnaSIL-webfont-example.css" type="text/css">
	<meta charset="utf-8">
	<meta name="description" content="An example of using Annapurna on your web page via WOFF">
	<meta name="author" content="NRSI, SIL International: scripts.sil.org">

</head>
<body>
<div style="font-size: 110%;">
	
<h1>Using Annapurna webfonts</h1>

<p>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 <a href="http://scripts.sil.org/using_web_fonts">Using SIL Fonts on Web Pages</a>.</p>

<p>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. If you're seeing a serif font here and the Annapurna SIL typeface in the next paragraph, then it is working. Otherwise the text will be in a sans-serif font or your browser default. This technique should work in Firefox 3.6+, Chrome 6+, IE 9+, and in development versions of Safari.</p>

<p>Devanagari sample text (taken from <a href="http://unicode.org/udhr/d/udhr_hin.txt">Universal Declaration of Human Rights - Hindi</a>): १० दिसम्बर १९४८ को यूनाइटेड नेशन्स की जनरल असेम्बली ने मानव अधिकारों की सार्वभौम घोषणा को स्वीकृत और घोषित किया । इसका पूर्ण पाठ आगे के पृष्ठों में दिया गया है । इस ऐतिहासिक कार्य के बाद ही असेम्बली ने सभी सदस्य देशों से अपील की कि वे इस घोषणा का प्रचार करें और देशों अथवा प्रदेशों की राजनैतिक स्थिति पर आधारित भेदभाव का विचार किए बिना, विशेषतः स्कूलों और अन्य शिक्षा संस्थाओं में इसके प्रचार, प्रदर्शन, पठन और व्याख्या का प्रबन्ध करें ।  </p>

<p>To see specifically how these techniques are specified in the CSS and HTML view the source to this page and the accompanying CSS file.</p>
	
</body>
</html>