Custom fonts not working using helm chart
Describe the Bug
We want to use custom fonts in collabora-online. When adding the fonts to /opt/cool/systemplate/tmpfonts the fonts are not visible in thew Fonts dropdown. When adding the fonts to /usr/local/share/fonts/truetype/ the fonts are visible in the Fonts dropdown. But we cannot use them. If you put the cursor in the document and choose one of the fonts, the cursor disappears. When clicking again in the document the default font is active again. When you select a piece of text and choose one of the fonts the selected text disappears.
Steps to Reproduce
S1.
- Open a document in the editior.
- Put the cursor anywhere in the document.
- Choose a font from the dropdown.
S2.
- Open a document in the editor.
- Select a text fragment.
- Choose a font from the dropdown.
Expected Behavior
When I choose a font I want to add text with that typeface.
Actual Behavior
S1. The cursor disappears. S2. The text fragment disappears.
Screenshots
If applicable, add screenshots to help explain your problem.
Kubernetes
(Please complete the following information)
- Collabora version: [e.g. 24.04.3.1.1]
- OS and version: Azure AKS 1.28.9, Helm 3.13.0, Collabora Online Helm Chart 1.1.24
- Browser and version: [e.g. Chrome 130.0.6723.116 ]
Additional Context
We used this font family.
CC: @Rash419
Is this still valid? Did you try in all apps: Writer, Calc, Impress?
When adding the fonts to /usr/local/share/fonts/truetype/ the fonts are visible in the Fonts dropdown. But we cannot use them. If you put the cursor in the document and choose one of the fonts, the cursor disappears. When clicking again in the document the default font is active again. When you select a piece of text and choose one of the fonts the selected text disappears.
I can reproduce this issue in the 1.1.49 helm chart, using the chart provided font pvc. I can select the font, but then everything that uses this font is not rendered anymore. If I change the font back, the text reappears.
tested:
- writer, impress, calc
- multiple fonts, ttf, otf
https://github.com/CollaboraOnline/online/issues/13146 https://github.com/CollaboraOnline/online/pull/13147
This seems to fixes this issue as well, it probably was the missing additional mountpoint #worksforme