Announcement

Collapse
No announcement yet.

Fonts Used In Reports

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fonts Used In Reports

    How can we use standard fonts in reports?

    For example, how can we use Verdana or Tahoma?

  • #2
    Hello.
    There is no such ability.

    Comment


    • #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...
      X