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(linux): problems typing Khmer in LibreOffice Writer #6193

Closed ermshiperete closed 2 years ago

ermshiperete commented 2 years ago

With the Khmer Angkor keyboard, typing xEjmr should result in ខ្មែរ​. However, when typing this sequence in LibreOffice Writer 6.4 with Keyman 15, the result is ខ្មែរ, displayed in Writer is

Screenshot from 2022-02-22 19-07-31

With Khmer Mondulkiri selected instead of the default font the display is correct:

Screenshot from 2022-02-22 19-09-50

Keyman for Linux:

Keyboard

EDIT: I initially typed the wrong characters (kEjmr) which showed wrong both with the correct and default fonts. After noticing this I updated this issue with the right characters. The settings mentioned in the comment below might still be helpful.

ermshiperete commented 2 years ago

Same thing happens on Windows 10 with LO 6.4.7.2 and 7.2.5.2 with Keyman 14.0.286.

ermshiperete commented 2 years ago

This works with the right settings in LO:

In LO Tools/Options, go to the Language Settings/Languages tab. Under "Default Languages for Documents" check the box for Complex text layout and select Khmer as language.

Screenshot from 2022-02-18 12-01-23

You'll also have to change the default style: go to Styles/Manage Styles, right-click on "Default Paragraph Style" and select Modify. Go to the Font tab. For CTL Font, select Family "Khmer Mondulkiri" and Language "Khmer".

Screenshot from 2022-02-18 12-04-15

With that things work as expected.

rc-swag commented 2 years ago

The changes to the Libre Office settings does not work for Windows 10. Windows 10 LO version: 7.0.6.2 However, it doesn't work in Notepad or Google Docs either. kEjmr => ក្មែរ​ However xEjmr => ខ្មែរ which to me looks like the expected result detailed above.

ermshiperete commented 2 years ago

Thanks @rc-swag! Looks like I mixed up the characters to type :smile: