Question about adding fonts and custom samples for OnlyOffice ?
-
Adding more fonts
Based on this documentation they suggesting to add fonts in
/usr/share/fonts/
.Custom Templates/Sample
Based on this issue customizing the default font is only a matter of declaring it in these samples but I can't find this
public/samples
directory.My question for Cloudron are
- Someone knows where is
public/samples
dir ? - How to make my new fonts and samples persistent ?
- Does these modifications be included in the backup since it is not under
/app
?
- Someone knows where is
-
I was not aware of that feature actually and thus the app package does not support this yet.
Since apps on Cloudron run on a read-only filesystem, we have to symlink those folders into /app/data/ somewhere, that way they are also part of the backup.I created an issue in the app package repo at https://git.cloudron.io/cloudron/onlyoffice-app/issues/1 so we don't forget about it
-
@nebulon Stumbled across this while trying to find out how to add custom fonts. I would appreciate this option as well since standard fonts like Helvetica aren't included plus I would like to import a company-specific font that aligns with their CI
-
@nebulon I followed these instructions but the fonts are not shown in the web-app. I'm trying to add up the iA Writer fonts (all TTF), but restarting the app and the browser doesn't show any of the new fonts in the app.
Any hint of what else should I do?
-
@chetbaker said in Question about adding fonts and custom samples for OnlyOffice ?:
@nebulon I followed these instructions but the fonts are not shown in the web-app. I'm trying to add up the iA Writer fonts (all TTF), but restarting the app and the browser doesn't show any of the new fonts in the app.
Any hint of what else should I do?
Hello, you need not only to restart your brower but before doing so, you must clear the cache of it. One way to find out is trying the app in another browser, so if it works then that means the other one cache is not fully cleared. If it does not work in both, then the issue is elsewhere.