mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
Co-authored-by: Marc Durdin <marc@durdin.net> Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
1.2 KiB
1.2 KiB
| title |
|---|
| KMManager.getKeyboardOskFontFilename() |
Summary
The getKeyboardOskFontFilename() method returns the selected
keyboard's OSK font filename and full path.
Syntax
KMManager.getKeyboardOskFontFilename()
Returns
Returns the selected keyboard's OSK font filename and full path as
String if it has any, empty string otherwise. Note that the
on-screen keyboard will fallback to the keyboard text font if
no OSK font is specified.
The OSK font should not be used for a text view, because some
OSK fonts are appropriate for use only in the on screen keyboard;
see &displayMap for
reference.
Description
Use this method to get the OSK font filename of the selected keyboard.
Examples
Example: Using getKeyboardOskFontFilename()
The following script illustrate the use of
getKeyboardOskFontFilename():
String oskFontFilename = KMManager.getKeyboardOskFontFilename();