OnSupportsWebFont |
Top Previous Next |
The OnSupportsWebfont event is fired when a browser connects to the application. Inside this event you can describe how Thinfinity® VirtualUI™ for FireMonkey® should handle the fonts mapping.
Delphi Syntax
Arguments
Remarks In order to find out the kind of browser that is connecting to the application, you should read the RemoteInfo.UserAgent property. The code below is used as a default behavior that allows Thinfinity® VirtualUI™ for FireMonkey® to disable WebFonts for versions under 6 of iPad, iPod and iPhone.
See also Read the TFontMode, FontMode, AddDefaultWebFonts ClearWebFonts and RegisterWebFont topics.
|