Windows Media Player 11 SDK TEXT.fontSmoothing 

Windows Media Player SDK banner art

Previous Next

TEXT.fontSmoothing

The fontSmoothing attribute specifies or retrieves a value indicating whether font smoothing is enabled.

Syntax

  

Possible Values

This attribute is a read/write Boolean.

Value Description
true Font smoothing is enabled.
false Default. Font smoothing is disabled.

Remarks

Font smoothing uses the anti-aliasing feature of the operating system. If font smoothing is enabled and the operating system supports anti-aliasing, Windows Media Player attempts to smooth the text. Not all fonts support anti-aliasing. Windows Media Player 10 uses the Windows XP ClearType anti-aliasing method.

Warning Font smoothing over a transparent color may cause the transparent color to blend into the characters. It is not recommended that you use fontSmoothing if the text will display over a transparency.

Example

See the value attribute for a sample illustrating how the attributes of the TEXT element are used.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next