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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Collabora Online (CODE)
  3. Custom fonts not working

Custom fonts not working

Scheduled Pinned Locked Moved Collabora Online (CODE)
4 Posts 2 Posters 37 Views 2 Watching
  • 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.
  • subvenS Offline
    subvenS Offline
    subven
    wrote last edited by
    #1

    I'm aware of the original thread Adding fonts to NextCloud + Collabora.

    Docs say throw your fonts into (Collabora Server) /app/data/fonts --> restart app and you're done. However, I went the extra mile and also uploaded my tft (and otf) fonts to Nextcloud --> Admin --> Offce --> Custom Fonts.

    If I open up a text document (docx) I can choose my fonts but they are not rendered within the editor.

    Do I miss something? Does it work for anybody else?

    1 Reply Last reply
    0
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @subven
      Does the browser console, Nextcloud logs or Collabora logs maybe print any message/error?

      1 Reply Last reply
      0
      • subvenS Offline
        subvenS Offline
        subven
        wrote last edited by
        #3

        @james nothing font related in browser console, Nextcloud or Collabora logs. However what I figured was that the custom fonts at /app/data/fonts are never loaded. Seems like the directory is not even beeing looked at.

        root@e5fa3d92-8f21-4d3a-bfed-4f24403d76f3:/app/code# fc-cache -v
        Font directories:
                /root/.local/share/fonts
                /usr/local/share/fonts
                /usr/share/fonts
                /root/.fonts
                /usr/share/fonts/X11
                /usr/share/fonts/cMap
                /usr/share/fonts/cmap
                /usr/share/fonts/opentype
                /usr/share/fonts/truetype
                /usr/share/fonts/type1
                /usr/share/fonts/X11/Type1
                /usr/share/fonts/X11/encodings
                /usr/share/fonts/X11/util
                /usr/share/fonts/cmap/adobe-cns1
                /usr/share/fonts/cmap/adobe-gb1
                /usr/share/fonts/cmap/adobe-japan1
                /usr/share/fonts/cmap/adobe-japan2
                /usr/share/fonts/cmap/adobe-korea1
                /usr/share/fonts/opentype/urw-base35
                /usr/share/fonts/truetype/dejavu
                /usr/share/fonts/truetype/open-sans
                /usr/share/fonts/type1/urw-base35
                /usr/share/fonts/X11/encodings/large
        /root/.local/share/fonts: skipping, no such directory
        /usr/local/share/fonts: skipping, existing cache is valid: 0 fonts, 0 dirs
        /usr/share/fonts: skipping, existing cache is valid: 0 fonts, 6 dirs
        /usr/share/fonts/X11: skipping, existing cache is valid: 0 fonts, 3 dirs
        /usr/share/fonts/X11/Type1: skipping, existing cache is valid: 35 fonts, 0 dirs
        /usr/share/fonts/X11/encodings: skipping, existing cache is valid: 0 fonts, 1 dirs
        /usr/share/fonts/X11/encodings/large: skipping, existing cache is valid: 0 fonts, 0 dirs
        /usr/share/fonts/X11/util: skipping, existing cache is valid: 0 fonts, 0 dirs
        /usr/share/fonts/cMap: skipping, existing cache is valid: 0 fonts, 0 dirs
        /usr/share/fonts/cmap: skipping, existing cache is valid: 0 fonts, 5 dirs
        /usr/share/fonts/cmap/adobe-cns1: skipping, existing cache is valid: 0 fonts, 0 dirs
        /usr/share/fonts/cmap/adobe-gb1: skipping, existing cache is valid: 0 fonts, 0 dirs
        /usr/share/fonts/cmap/adobe-japan1: skipping, existing cache is valid: 0 fonts, 0 dirs
        /usr/share/fonts/cmap/adobe-japan2: skipping, existing cache is valid: 0 fonts, 0 dirs
        /usr/share/fonts/cmap/adobe-korea1: skipping, existing cache is valid: 0 fonts, 0 dirs
        /usr/share/fonts/opentype: skipping, existing cache is valid: 0 fonts, 1 dirs
        /usr/share/fonts/opentype/urw-base35: skipping, existing cache is valid: 35 fonts, 0 dirs
        /usr/share/fonts/truetype: skipping, existing cache is valid: 0 fonts, 2 dirs
        /usr/share/fonts/truetype/dejavu: skipping, existing cache is valid: 8 fonts, 0 dirs
        /usr/share/fonts/truetype/open-sans: skipping, existing cache is valid: 13 fonts, 0 dirs
        /usr/share/fonts/type1: skipping, existing cache is valid: 0 fonts, 1 dirs
        /usr/share/fonts/type1/urw-base35: skipping, existing cache is valid: 35 fonts, 0 dirs
        /root/.fonts: skipping, no such directory
        /usr/share/fonts/X11: skipping, looped directory detected
        /usr/share/fonts/cMap: skipping, looped directory detected
        /usr/share/fonts/cmap: skipping, looped directory detected
        /usr/share/fonts/opentype: skipping, looped directory detected
        /usr/share/fonts/truetype: skipping, looped directory detected
        /usr/share/fonts/type1: skipping, looped directory detected
        /usr/share/fonts/X11/Type1: skipping, looped directory detected
        /usr/share/fonts/X11/encodings: skipping, looped directory detected
        /usr/share/fonts/X11/util: skipping, looped directory detected
        /usr/share/fonts/cmap/adobe-cns1: skipping, looped directory detected
        /usr/share/fonts/cmap/adobe-gb1: skipping, looped directory detected
        /usr/share/fonts/cmap/adobe-japan1: skipping, looped directory detected
        /usr/share/fonts/cmap/adobe-japan2: skipping, looped directory detected
        /usr/share/fonts/cmap/adobe-korea1: skipping, looped directory detected
        /usr/share/fonts/opentype/urw-base35: skipping, looped directory detected
        /usr/share/fonts/truetype/dejavu: skipping, looped directory detected
        /usr/share/fonts/truetype/open-sans: skipping, looped directory detected
        /usr/share/fonts/type1/urw-base35: skipping, looped directory detected
        /usr/share/fonts/X11/encodings/large: skipping, looped directory detected
        /var/cache/fontconfig: not cleaning unwritable cache directory
        /root/.cache/fontconfig: cleaning cache directory
        /root/.cache/fontconfig: invalid cache file: 9b5b740b6269753c3eba86fc14d9c368-le64.cache-9
        /root/.fontconfig: not cleaning non-existent cache directory
        fc-cache: succeeded
        
        1 Reply Last reply
        0
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #4

          Hello @subven
          Thanks for reporting.
          I will look into it.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search