Unable to type in Japanese text in LibreOffice Writer or Calc

I used to be able to do this and not I can’t after a previous issue.
I can type in Japanese in my browser though たとえば

More information is needed to be able to help.

  • Which operating system and which LibreOffice version are you working with?
  • In which file format are you saving?
  • Which language settings are set in Writer (menu Tools > Options > Languages and locale > General)?
  • Is the Japanese font available in LibreOffice (can be seen in the formatting toolbar)?
  • How is formatting generally carried out in the document, direct formatting or with styles?

Please upload a sample document (2-3 pages) with the problem here. Thank you.

  • Manjaro Libre Office Version 24.2.6.2
    *.odt file format
  • Yes the font can be seen in the formatting toolbar
  • I use direct formating throughout the document