Debian Codegraph @

texmf-dist/doc/fonts/gentium-sil/Gentium/web/Gentium-webfont-example.html

raw symbols SCIP
1 <html>
2 <!--
3 This file is from the Gentium project (https://software.sil.org/gentium/).
4 Copyright (c) 2003-2025 SIL Global (https://www.sil.org/) with Reserved
5 Font Names "Gentium" and "SIL". This Font Software is licensed under the SIL
6 Open Font License, Version 1.1 (https://openfontlicense.org).
7 -->
8 <head>
9 <link rel="stylesheet" href="Gentium-webfont-example.css" type="text/css">
10 </head>
11 <body>
12 <div style="font-size: 150%;">
13
14 <h1>Using Gentium webfonts</h1>
15
16 <p>The page demonstrates how to use the WOFF2 version of Gentium 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="https://software.sil.org/fonts/webfonts">Using SIL Fonts on Web Pages</a>.</p>
17
18 <p>The body of this document is styled using an external stylesheet, with Gentium 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. Styling can be done with HTML tags: <i>Here is some italic, </i><b>some bold text, <i>some bold italic</i></b> and back to regular. It can also be done by referring to specific CSS weight axis values:</p>
19
20 <p style="font-weight: 400;">This is 400 (Regular).</p>
21 <p style="font-weight: 500;">This is 500 (Medium).</p>
22 <p style="font-weight: 600;">This is 600 (SemiBold).</p>
23 <p style="font-weight: 700;">This is 700 (Bold).</p>
24 <p style="font-weight: 800;">This is 800 (ExtraBold).</p>
25
26 <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>
27
28 </body>
29 </html>