# How to adjust fonts

**URL:** <https://forum.collaboraonline.com/t/how-to-adjust-fonts/2988>\
**Category:** Installation & Configuration\
**Created:** [September 19, 2024, 9:16am UTC](https://forum.collaboraonline.com/t/how-to-adjust-fonts/2988 "2024-09-19T09:16:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wait-sunshine](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wait-sunshine/32/1323_2.png) [@wait-sunshine](https://forum.collaboraonline.com/u/wait-sunshine)\
**Post date:** [September 19, 2024, 9:16am UTC](https://forum.collaboraonline.com/t/how-to-adjust-fonts/2988/1 "2024-09-19T09:16:05Z")

</div>

I am /opt/collaboraoffice/share/fonts/truetype path added Chinese fonts, but on the page does not display Chinese, how to show it into Chinese?  
Also, how to adjust the size of the above navigation bar font, I want to make it smaller.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/2X/a/a4883a36de68d07b6763d4ce5be3c73bd0139615.png)

---

<div class="post-metadata">

**Author:** ![darshan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/darshan/32/2230_2.png) [@darshan](https://forum.collaboraonline.com/u/darshan)\
**Post date:** [September 19, 2024, 9:37am UTC](https://forum.collaboraonline.com/t/how-to-adjust-fonts/2988/2 "2024-09-19T09:37:12Z")

</div>

To display Chinese fonts in Collabora Online after adding them to `/opt/collaboraoffice/share/fonts/truetype`, you may need to take a few additional steps to ensure they are properly recognized and used.

### Steps:

1. **Ensure the Fonts are Installed Correctly** :

2. **Rebuild the Font Cache** :

3. **Restart Collabora** :

4. **Test Font Display** :

### Optional Step: Install Additional Chinese Fonts

If you haven’t installed any Chinese fonts yet, you may want to install popular Chinese fonts like `Noto Sans CJK SC` or `WenQuanYi Zen Hei` to ensure broad coverage of Chinese characters.

- For Ubuntu or Debian, you can install these fonts using:

```bash
sudo apt-get install fonts-noto-cjk
sudo apt-get install fonts-wqy-zenhei

```

Following these steps should help ensure Chinese characters are displayed properly in Collabora Online. Let me know if any specific issue persists!

---

<div class="post-metadata">

**Author:** ![wait-sunshine](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wait-sunshine/32/1323_2.png) [@wait-sunshine](https://forum.collaboraonline.com/u/wait-sunshine)\
**Post date:** [September 20, 2024, 3:16am UTC](https://forum.collaboraonline.com/t/how-to-adjust-fonts/2988/3 "2024-09-20T03:16:41Z")

</div>

I have carried out the operation according to the above steps, but still no Chinese is displayed.

I have tried many things, without exception, to no avail.

Is there any other way?

---

<div class="post-metadata">

**Author:** ![bearon](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bearon](https://forum.collaboraonline.com/u/bearon)\
**Post date:** [September 20, 2024, 8:10am UTC](https://forum.collaboraonline.com/t/how-to-adjust-fonts/2988/4 "2024-09-20T08:10:19Z")

</div>

Please see the comments here:

> <https://github.com/CollaboraOnline/online/issues/4555>
>
> I've installed a few custom fonts in a directory on the server and passed it as …a volume for the docker container to both \`/usr/local/share/fonts/lool\` and \`/opt/lool/systemplate/usr/share/fonts/lool\`. 
> Now the fonts are displayed in the dropdown in the collabora online editor. When I select the new font the text vanishes and I can't select it.
> 
> The fonts are located directly in the directory and are in the format \`TTF\`.
