Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(android): keyboard font size is affected by system font setting #11279

Closed
1 of 8 tasks
Nnyny opened this issue Apr 22, 2024 · 1 comment · Fixed by #11281
Closed
1 of 8 tasks

bug(android): keyboard font size is affected by system font setting #11279

Nnyny opened this issue Apr 22, 2024 · 1 comment · Fixed by #11281
Assignees
Milestone

Comments

@Nnyny
Copy link
Contributor

Nnyny commented Apr 22, 2024

Describe the bug

From the community site: https://community.software.sil.org/t/android-font-size-inside-of-keyboard/8689/2

The size of the letters on the Keyman keys is affected by the system-wide Android font settings.

Other keyboards (Gboard, AOSP) don’t seem to scale the letters like this. Is this a problem with Keyman, or is there something that I (the keyboard developer for this specific language) can do to make sure this doesn’t happen on end users phone.

[By the way, I had to restart the phone after changing font settings.]

What I would expect to happen would be for:

  • Keyman to ignore the system-wide font settings, and just use the font size that I (the keyboard developer) chose to best fit the keyboard, or (maybe) for
  • Keyman to accept the system-wide font, but then automatically try to adjust the height to fit it (still allowing for that choice to be manually overridden later if desired).

Reproduce the bug

No response

Expected behavior

No response

Related issues

No response

Keyman apps

  • Keyman for Android
  • Keyman for iPhone and iPad
  • Keyman for Linux
  • Keyman for macOS
  • Keyman for Windows
  • Keyman Developer
  • KeymanWeb
  • Other - give details at bottom of form

Keyman version

16.0.147

Operating system

No response

Device

OnePlus 6t (a6013)

Target application

No response

Browser

No response

Keyboard name

No response

Keyboard version

No response

Language name

No response

Additional context

No response

@jahorton
Copy link
Contributor

Interestingly, this does not appear to affect Keyman Engine for Web when not embedded in the WebView. Testing with Chrome 106, there is no visible scaling of OSK fonts. This only appears to be an issue within the app's WebView.

@mcdurdin mcdurdin modified the milestones: 18.0, B17S6 Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants