Fonts Used In Reports

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • blueprint
    Active Community Member
    • Jan 2019
    • 223

    Fonts Used In Reports

    How can we use standard fonts in reports?

    For example, how can we use Verdana or Tahoma?
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello.
    There is no such ability.

    Comment

    • blueprint
      Active Community Member
      • Jan 2019
      • 223

      #3
      I've managed to figure it out...

      If you navigate to the `vendor\tecnickcom\tcpdf` directory and copy in the desired TTF font files (in my case, verdana.ttf and tahoma.ttf) then run the following script:
      Code:
      php -r "require 'tcpdf.php'; TCPDF_FONTS::addTTFfont('tahoma.ttf');"
      The converted font files will be present in the "fonts" subdirectory.

      Next, edit the 'Template' entity via the Administration interface, adding the relevant fonts to the "fontFace" field.
      Last edited by blueprint; 05-14-2019, 02:19 PM.

      Comment

      Working...