Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Question about adding fonts and custom samples for OnlyOffice ?

    OnlyOffice
    onlyoffice
    6
    9
    435
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by girish

      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

      1. Someone knows where is public/samples dir ?
      2. How to make my new fonts and samples persistent ?
      3. Does these modifications be included in the backup since it is not under /app ?
      1 Reply Last reply Reply Quote 3
      • nebulon
        nebulon Staff last edited by

        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

        andreasdueren 1 Reply Last reply Reply Quote 4
        • andreasdueren
          andreasdueren @nebulon last edited by

          @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

          1 Reply Last reply Reply Quote 1
          • darkben
            darkben last edited by

            @nebulon +1 to add custom fonts in Onlyoffice. Do you think it will be possible in a next release of the pakage ?
            Thanks !

            1 Reply Last reply Reply Quote 1
            • nebulon
              nebulon Staff last edited by

              The latest app package now supports adding custom fonts. See https://docs.cloudron.io/apps/onlyoffice/#custom-fonts for details.

              andreasdueren chetbaker 2 Replies Last reply Reply Quote 5
              • andreasdueren
                andreasdueren @nebulon last edited by

                @nebulon Awesome!

                1 Reply Last reply Reply Quote 0
                • chetbaker
                  chetbaker @nebulon last edited by

                  @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?

                  micmc 1 Reply Last reply Reply Quote 0
                  • micmc
                    micmc @chetbaker last edited by micmc

                    @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. 🙂


                    https://marketingtechnology.agency
                    For cutting edge web technologies

                    chetbaker 1 Reply Last reply Reply Quote 0
                    • chetbaker
                      chetbaker @micmc last edited by

                      @micmc hey thanks! Yeah, I tried in another browser and no new fonts appears 😞

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB