Sample OpenType Font Pack

This topic provides an overview of the sample font pack containing OpenType fonts that are distributed with the Windows SDK. The sample fonts support extended OpenType features that can be used by Windows Presentation Foundation (WPF) applications.

This topic contains the following sections.

  • Fonts in the OpenType Font Pack
  • Using the Fonts
  • Related Topics

Fonts in the OpenType Font Pack

The Windows SDK provides a set of sample OpenType fonts that you can use in creating Windows Presentation Foundation (WPF) applications. The sample fonts are supplied under license from Ascender Corporation. These fonts implement only a subset of the total features defined by the OpenType format. The following list contains the names of the sample OpenType fonts, with the name using the corresponding font.


Fonts in the OpenType Font Pack

List of font names in sample font pack

NoteNote:

Ascender is a provider of advanced font products specializing in font design, development and licensing. To license extended or custom versions of the sample fonts please contact Ascender Corporation directly via their Web site http://www.ascendercorp.com/WPF_fonts.html.

Accessing the Sample OpenType Fonts

The sample OpenType fonts are used as resources for the Using OpenType Fonts Sample. This sample shows text content hosted in a FlowDocumentReader, which provides search, navigation, pagination, and content scaling support.


OpenType fonts sample

Using OpenType fonts sample screen shot

When you download this sample, the project directory contains a fonts subdirectory containing the following fonts:

Name File

Kootenay

Kooten.ttf

Lindsey

Linds.ttf

Miramonte

Miramo.ttf

Miramonte Bold

Miramob.ttf

Pericles

Peric.ttf

Pericles Light

Pericl.ttf

Pescadero

Pesca.ttf

Pescadero Bold

Pescab.ttf

NoteNote:

As a developer it is your responsibility to ensure that you have the required license rights for any font you embed within an application or otherwise redistribute. Please see the Using OpenType Fonts Sample Readme.htm file for information on restrictions for using these sample OpenType fonts with an application.

Once these fonts are on your machine, you can display a representative set of characters in several font sizes by doubling-clicking the name of the font file in the subdirectory. The following screenshot shows the displayed output of the Lindsey font file, Linds.ttf.


Displaying the Lindsey font

Lindsey font (OpenType)

Using the Fonts

You can add fonts to your application as project content items that are separate from the application's assembly files. This means that content items are not embedded as resources within an assembly. Alternatively, you can add fonts to your application as project resource items that are embedded within the application's assembly files. For more information, see Packaging Fonts with Applications.

Installing the Fonts

You have the option of installing the sample OpenType fonts to the default Windows font directory, ~\WINDOWS\Fonts. Use the Fonts applet in the Windows Control Panel for installing fonts to the default Windows font directory. Once the fonts are installed, they are accessible to all applications, including XamlPad, that reference default Windows fonts.

A useful technique for viewing OpenType features is to use XamlPad for creating markup that experiments with using different typographic styles. For more information, see XAMLPad.


Testing fonts with XamlPad

XamlPad displaying OpenType features

See Also

Reference

Typography

Concepts

OpenType Font Features
Packaging Fonts with Applications

Other Resources

XAMLPad