bug(android): Longpress keys don't apply special characters to keymanweb-osk.ttf
- Dominant language
- Pascal
- Stars
- 534
- Forks
- 143
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 113
Description
> The special characters on longpress keys on Android also don't render. (They show the text e.g. `*Alt*`). Is that Java or KMW code in #9187?
A separate issue needs to be tracked for this:
1. transforming the `*token*` patterns in the longpress captions in Java code (can't be done KMW side, because legit keyboards could use the same codepoints)
2. using the kmw font where the `*token*` captions are found (and only there)
Resolution for this depends on our decision on Android Longpress in the upcoming Keyman Planning Conference.
_Originally posted by @mcdurdin in https://github.com/keymanapp/keyman/issues/9469#issuecomment-1683267077_
### Steps to Reproduce the Issue
On an Android emulator/device, install the 17.0 build of the /android/Tests/KeyboardHarness
1. Launch the KeyboardHarness app
2. Use the globe key to switch to the test9469 keyboard (exercises the special PUA characters in keyamnweb-osk.ttf)
3. On the default layer, longpress on the shift key
4. Verify tokens are shown instead of the special layers.
Contributor guide
Assessment
This issue has not been assessed yet.