You are here

protected static function Utility::getKPathFonts in Views PDF 8

Help to get the Fonts path from TCPDF.

Return value

string

1 call to Utility::getKPathFonts()
ViewsPdfBase::getAvailableFonts in src/ViewsPdfBase.php
This method returns a list of available fonts.

File

src/Share/Utility.php, line 49
Contains \Drupal\views_pdf\Share\Utility

Class

Utility

Namespace

Drupal\views_pdf\Share

Code

protected static function getKPathFonts() {
  $tcpdfPath = self::getPathTcpdf();
  return !empty($tcpdfPath) ? $tcpdfPath . '/fonts/' : '';
}