The TFontMode enumerates the possible Font Modes that Thinfinity® VirtualUI™ for FireMonkey® works with.
Values
fmWebFont
|
This mode sets the application to use Web Fonts. Thinfinity® VirtualUI™ for FireMonkey® automatically maps some not supported fonts and you are able to map others by calling the method RegisterWebFont for each one of them.
|
fmBitmap
|
This mode will send each letter as a small png image and will store them into the web browser cache. This will ensure maximum fidelity, but it can sometimes be a little slower than the WebFonts mode.
|
fmAuto
|
Under this mode, Thinfinity® VirtualUI™ for FireMonkey® will use WebFont or Bitmap based on the result of the OnSupportsWebFont event.
Inside the event you should indicate the environments where the WebFonts should be enabled and the other ones where Thinfinity® VirtualUI™ for FireMonkey® should work with the Bitmaps mode.
|
See also
Read about the FontMode property, the OnSupportsWebFont event and the methods AddDefaultWebFonts, ClearWebFonts and RegisterWebFont.
|