Beispiel #1
0
 /**
  * @param string $name
  * @return string
  * @see http://www.tcpdf.org/doc/code/classTCPDF__FONTS.html
  */
 public static function installBuiltinFont($name)
 {
     $filename = self::getBuiltinFontPath($name);
     $font_name = \TCPDF_FONTS::addTTFFont($filename, 'TrueTypeUnicode', '', 32);
     static::$installed_builtin_fonts[$name] = $font_name;
     return $font_name;
 }