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