Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add extended fonts content resource example page
- Loading branch information
1 parent
29c8258
commit fc8b7a4
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | ||
<title>Extended Fonts Example</title> | ||
</head> | ||
<body data-version="4.1"> | ||
<div id="example-code"> | ||
<p class="wdn-display-font" style="font-size: 23px">Merucry Display is the display version of our serif body copy typeface, Mercury Text (Mercury ScreenSmart). This should be used exclusively for large sizes. This adds 76kb to pages that use this font package.</p> | ||
<p class="wdn-script-font" style="font-size: 23px">Sanelma is our script font.</p> | ||
<p class="wdn-smallcaps">Add small caps to your Mercury Text. This adds 42kb to pages that use this font package.</p> | ||
<p class="wdn-extlatin">Our default Mercury Text (ScreenSmart) includes a minimum set of accented characters for the major Western European languages. The extended latin set adds support for 140 languages throughout the world, including all of Central Europe. This adds 206kb to pages that use this font package.</p> | ||
<script type="text/javascript"> | ||
WDN.initializePlugin('display-font'); | ||
WDN.initializePlugin('script-font'); | ||
WDN.initializePlugin('smallcaps'); | ||
WDN.initializePlugin('extlatin'); | ||
</script> | ||
</div> | ||
</body> | ||
</html> |