Skip to content

Latest commit

 

History

History
68 lines (38 loc) · 1.99 KB

text-font.md

File metadata and controls

68 lines (38 loc) · 1.99 KB
title description ms.assetid keywords ms.topic ms.date ms.custom
Text Font
Text Font
4f9e305b-bba0-4f39-974b-4ac511656bc3
Windows Media Player Mobile skins,text
skins,text
reference for skins,text
text in skins,fonts
article
4/26/2023
UpdateFrequency5

Text Font

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

You must define the font used by the text display box you want to use. The font is defined by three values, separated by commas, representing the face, size, and weight of the font.

Typeface Values

Any typeface name can be used if it is likely to be installed on the user's machine. If a typeface is not found on the machine, an alternate will be selected by the operating system. The following table shows typefaces that are usually found on Windows Mobile 2003-based devices.

Typeface Description
Tahoma A sans-serif typeface.
Lucida Console A square-serif typeface.

 

Size Values

This is the size of the typeface in points. Any positive integer value is valid, though numbers between 10 and 18 are recommended. Sizes smaller than 10 may be difficult to read, and sizes above 18 may not leave enough space to display more than a few letters at a time.

Weight Values

The only values allowed are shown in the following table.

Value Description
B Bold
N Normal

 

Related topics

Text