Skip to main content
Tab

FlashObjectProperties.DeviceFont Property

Gets or sets whether device fonts may be used instead of the fonts not installed on the user’s system.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool DeviceFont { get; set; }

Property Value

Type Default Description
Boolean false

true to allow device fonts to be used instead of the fonts not installed on the user’s system; otherwise, false.

Remarks

When you publish or export a SWF file containing static text, Flash creates outlines of the text and uses the outlines to display the text in Flash Player.

For static horizontal text only, you can use special fonts in Flash called device fonts as an alternative to exporting font outline information. To do this, set the DeviceFont property to true. Device fonts are not embedded in the Flash SWF file. Instead, Flash Player uses the font on the local computer that most closely resembles the device font. Since device font information is not embedded, using device fonts results in a smaller SWF file.

See Also