Overjoyed at this new feature. Just what our projects need!
I would like to increase the font size (and font) of the characters on the key-caps of the phone touch-layout. I tried to do this through the āKeyboardā ā āFontsā¦ā menu dialog box, but it didnāt seem to change the size when I compiled the keyboard and tried to install it on my android phone.
Is there a different way to do this, or did I just mess up doing it the right way?
My understanding is that the Fonts menu in Keyman Developer is purely for the developer as he/she develops the keyboard. I think itās the Keyman 15 app on your phone that needs adjusting for font size. I havenāt tried Keyman 15 yet, but I think thatās right. Also, the font would need to be included in the keyboard package (kps file should include it).
Font scaling is probably best handled in a custom CSS. This can be included in the keyboard with the &kmw_embedcss system store. You will want to take care to handle various screen sizes and device scales, which can be controlled with CSS media queries. Testing can be a bit of a pain if you donāt have access to a wide range of devicesā¦
Hmm, this was not intentional ā we were working on font size for tablets where there were some inconsistencies. Looks like we have a regression from https://github.com/keymanapp/keyman/pull/5906.
Can you give some detail on the situation in which you are using the keyboard?
Is it in the app, the emulator, Keyman Developer web debugger, or elsewhere?
What is the device, and Android version you are using?
Is this the published version of obolo_chwerty?
Have you specified a font and/or size in the .keyman-touch-layout file?
With that detail, weāll re-open this and work to fix it. Itās not simple because of the wide variety of devices we are dealing with!
The keyboard in the 1st image (top) is the published version, while that in the 2nd image is not yet published. Both versions used to display with those small fonts until 15.165 and 15.169. I canāt tell the behaviour in 15.166-8; I havenāt tested those.
Iāve specified a font but not size. The keyboard font is NotoSans Regular. Iām not aware font size could be specified.
Thank you for the additional feedback ā thatās helpful.
I will work on resolving this before release. I will try to get the patch in before beta but definitely we will fix before 15.0 stable is released. About to go on break for Christmas/New Year so will be January at earliest.
Iām awfully sorry, my phone is Pop 2, Android 8.1, not Pop 3. I noticed it later but I thought thereās no much difference. So sorry. I can send you the current version (unreleased) of the keyboard if that would help.
I think the basic specs are very similar, so it probably doesnāt change anything in our testing. It would be good to see your keyboard as I am not reproducing the issue in the way you experience it.
Thank you for sharing the project. Iāve replicated the font size here. It turns out that this was inconsistent in earlier versions of Keyman for Android, as your phone was being treated as a tablet. So the font size is more consistent in Keyman 15 as your phone is being treated as a phone :). We are hoping to dramatically improve the whole look and feel and customisability of the on screen keyboard in Keyman 16, so can you live with the change in font size for now?
Great, thank you! Weāre getting very close to beta ā had to delay a little as we had a set of issues with text selection that needed careful attention.
Ok. Just one more thing, in case that might help in any way:
This keyboard doesnāt have a phone layout; only a tablet layout. So, phones use the tablet layout.
I was just wondering today why my phone was being treated as tablet, then I remembered the design.
Keeping my fingers crossed for 15 beta. More strength to the Keyman team.
Yeah, that doesnāt impact Keymanās tablet detection code ā itās a completely separate issue. Tablet detection is fraught because Android doesnāt actually define what a tablet is. We may improve on this in future versions with specific form factor dimension breakpoints (based most likely on horizontal physical size of screen), and map tablet to >= 7 inches or something like that.
The issues with text selection and editing have (finally!) been fixed ā a big job across 3 platforms (web, iOS, Android)! They should land in release 15.0.204