blob: b6da041ebd789e5f351b750aad4d11984c4721a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<html>
<!--
This file is from the Gentium project (https://software.sil.org/gentium/).
Copyright (c) 2003-2023 SIL International (http://www.sil.org/) with Reserved
Font Names "Gentium" and "SIL". This Font Software is licensed under the SIL
Open Font License, Version 1.1 (http://scripts.sil.org/OFL).
-->
<head>
<link rel="stylesheet" href="GentiumPlus-webfont-example.css" type="text/css">
</head>
<body>
<div style="font-size: 150%;">
<h1>Using Gentium Plus webfonts</h1>
<p>The page demonstrates how to use the WOFF2 version of Gentium PlusL for web pages, using local copies of the .woff2 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 Gentium Plus set as the default font, and loaded directly as a WOFF2 file using the @font-face rule. If you're seeing a serif font here then it is working. Otherwise the text will be in a sans-serif or your browser default. <i>Here is some italic, </i><b>some bold text, <i>some bold italic</i></b> and back to regular. This technique is supported in all modern browsers.</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>
|