What is the difference between a NC Docker installation and Bare Metal?

Neither Chinese, Thai or Lao works in NC Office at Bare Metal installation.

Square placeholders are shown instead of Chinese characters.

I updated Nextcloud to version 30.0.5 and NC Office to version 24.04.11.2 on Debian 12 with PHP 8.3.

The additional uploaded Arial fonts of Windows 11 now show up in the font menu and i can format the document using Arial fonts, but Chinese characters still don’t work. Even if i format the document with the Liberation Sans font it doesn’t work.

Can anyone confirm this or what am I doing wrong?

Many thanks!

Hi Sanook,

Your thread title asks “What is the difference between a NC Docker installation and Bare Metal”, while your post does not mention “docker” at all and asks about how to get multi-byte characters to display.

You may consider changing the thread title to get replies that help in solving your problem, or change the post to reflect which differences you are interested in!

As for the fonts, for me Chinese and Lao work ‘out of the box’, but Thai stays square:

image

I tried a couple of fonts; most do show Chinese (top) and Lao (bottom), but none of them supports Thai. There is a package on Debian to support Thai fonts, I have it not installed and did not try if that resolved the issue.

This is Nextcloud “bare metal” (Nextcloud on Debian + Yunohost in LXC container)

Collabora Online will use whatever fonts you have installed in your Nextcloud environment. This is true even for Built-in CODE.

Just reproduced your situation then fixed it (on Debian 12 in a test environment that has Built-in CODE) like this:

apt install fonts-wqy-zenhei
fc-cache -v

Restart Apache/FPM/etc.

To find other fonts:

apt-cache search fonts

Or browse Debian’s Fonts section.

Also, see Debian: Fonts.

To clarify:

  • Nextcloud Office integration app = richdocuments

Then you must deploy Collabora Online (CODE):

  • Collabora Online (CODE) Server = either a dedicated CODE instance (deployed via bare metal or a Docker image known as collabora/code)
  • Built-in Collabora Online (CODE) Server App = richdocumentscode

The integration app is required regardless of which Collabora Online deployment method you’re using.

Regardless of your CODE installation method: Collabora Online comes with some fonts… others will be picked up from installation environment (like tested above on Debian 12) and/or can be deployed by uploading manually via Nextcloud Office–>Fonts.

And, yeah, this should probably be better documented I guess.

2 Likes

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.