mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
41 lines
927 B
Markdown
41 lines
927 B
Markdown
---
|
|
title: KMManager.getKeyboardTextFontFilename()
|
|
---
|
|
|
|
## Summary
|
|
|
|
The **`getKeyboardTextFontFilename()`** method returns the selected
|
|
keyboard's text font filename.
|
|
|
|
## Syntax
|
|
|
|
``` javascript
|
|
KMManager.getKeyboardTextFontFilename()
|
|
```
|
|
|
|
### Returns
|
|
|
|
Returns the selected keyboard's text font filename as `String` if it has
|
|
any, empty string otherwise.
|
|
|
|
## Description
|
|
|
|
Use this method to get the text font filename of the selected keyboard.
|
|
|
|
## Examples
|
|
|
|
### Example: Using `getKeyboardTextFontFilename()`
|
|
|
|
The following script illustrate the use of
|
|
`getKeyboardTextFontFilename()`:
|
|
|
|
``` javascript
|
|
String textFontFilename = KMManager.getKeyboardTextFontFilename();
|
|
```
|
|
|
|
## See also
|
|
|
|
- [`getKeyboardOskFontFilename()`](getKeyboardOskFontFilename)
|
|
- [`getKeyboardTextFontTypeface()`](getKeyboardTextFontTypeface)
|
|
- [`getKeyboardOskFontTypeface()`](getKeyboardOskFontTypeface)
|
|
- [`getFontTypeface()`](getFontTypeface)
|