keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
403 stars 112 forks source link

bug(android): three Khmer characters are not shown correctly on their keycaps #5986

Closed MakaraSok closed 2 years ago

MakaraSok commented 3 years ago

Describe the bug

On Android 10 API 29, ៊ ៉ and ្ are not rendered correctly. They expected to have dotted circle.


Keyman for Android:


Keyboard

darcywong00 commented 3 years ago

Dotted-circles were removed from KMW rendering in #3039

There's also the separate issue of the Android keyboard not using the right font path (ref #5914)

mcdurdin commented 2 years ago

Dotted-circles were removed from KMW rendering in #3039

I'm not sure that this answers the question though -- do we need dotted circles as a base for those three characters? Should we find a way to include them in the keyboard?

darcywong00 commented 2 years ago

do we need dotted circles as a base for those three characters? Should we find a way to include them in the keyboard?

I thought if we update the OSK to use dotted circles, we end up with inconsistent rendering across the platforms. Some will show dotted circle, some will show two dotted circles...

mcdurdin commented 2 years ago

I thought if we update the OSK to use dotted circles, we end up with inconsistent rendering across the platforms. Some will show dotted circle, some will show two dotted circles...

Yes, this is the problem. The only real solutions AFAIK are:

  1. Allow dev to specify font and even string per platform and add ability to preview in the process (wow big job!), or
  2. Create a specific font for the Khmer OSK that has special characters just for this purpose.

I think (2) is probably a better answer for the Khmer rendering problem here -- I wonder if Didi would be willing to make a custom version of Khmer Mondulkiri for this purpose?

mcdurdin commented 2 years ago

See also https://github.com/keymanapp/keyman/pull/6006#issuecomment-989489983 for related Khmer Angkor OSK render issues. Am working via email on a potential solution.

darcywong00 commented 2 years ago

Triage to 15.0 beta. This issue depends on keymanapp/keyboards#1710

mcdurdin commented 2 years ago

Tracking in keymanapp/keyboards#1710 - this is not an Android-specific bug. Closing here.