mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
Several functions got deprecated and replaced with a function with same name and parameters but different return type. The original function no longer exists. This change removes the documentation for those no longer existing deprecated functions. Also update the documentation for two deprecated functions to show what should be used instead. Build-bot: skip Test-bot: skip
41 lines
910 B
Markdown
41 lines
910 B
Markdown
---
|
|
title: KMManager.getKeyboardFontFilename() (Deprecated)
|
|
---
|
|
|
|
## Summary
|
|
|
|
(Deprecated) The **`getKeyboardFontFilename()`** method returns the
|
|
selected keyboard's font filename.
|
|
|
|
## Syntax
|
|
|
|
``` javascript
|
|
KMManager.getKeyboardFontFilename()
|
|
```
|
|
|
|
### Returns
|
|
|
|
Returns the selected keyboard's font filename as `String` if it has any,
|
|
empty string otherwise.
|
|
|
|
## Description
|
|
|
|
Use this method to get the font filename of the selected keyboard.
|
|
|
|
Deprecated. Use `getKeyboardTextFontFilename()` instead.
|
|
|
|
## Examples
|
|
|
|
### Example: Using `getKeyboardFontFilename()`
|
|
|
|
The following script illustrate the use of `getKeyboardFontFilename()`:
|
|
|
|
``` javascript
|
|
String fontFilename = KMManager.getKeyboardFontFilename();
|
|
```
|
|
|
|
## See also
|
|
|
|
- [`getKeyboardTextFontFilename()`](getKeyboardTextFontFilename)
|
|
- [`getKeyboardFontTypeface()` (Deprecated)](getKeyboardFontTypeface)
|
|
- [`getFontTypeface()`](getFontTypeface)
|