« MBS FileMaker Plugin,… | Home | MBS Xojo Web Starter … »

Install fonts for PDF generation in FileMaker Cloud

As you may have noted, FileMaker Could comes preinstalled with around 50 font faces. The font you love and use in layouts may not be included in the list. The fonts include in various styles:
  • Baekmuk Batang
  • Utopia
  • URW Gothic L
  • URW Bookman L
  • Century Schoolbook L
  • Dingbats
  • Nimbus Sans L
  • Nimbus Roman No9 L
  • Nimbus Mono L
  • URW Palladio L
  • Standard Symbols L
  • URW Chancery L
  • IPAPGothic
  • Liberation Mono
  • Liberation Sans
  • WenQuanYi Micro Hei Mono
  • WenQuanYi Micro Hei
  • WenQuanYi Zen Hei Mono
  • WenQuanYi Zen Hei Sharp
  • WenQuanYi Zen Hei
If you like, you can install more fonts with those easy steps:
  1. Get login for your FileMaker Cloud Server via SSH.
  2. Create a new folder in /usr/share/fonts folder for your fonts.
    e.g. sudo mkdir --mode=777 /usr/share/fonts/myfonts
  3. Copy fonts in your new folder.
  4. Run "fc-cache -f -v" command to update cache.
  5. You can verify with "fc-list" command whether fonts were found.
  6. Reboot machine or at least restart the WebDirect engine.
Now you can create PDFs with any font you like. Let me know if it works for you.

You can use MBS( "DynaPDF.AddFontSearchPath"; $PDF; "/usr/share/fonts"; 1 ) with our DynaPDF functions to use the fonts on the FileMaker Cloud.
11 12 17 - 15:59