You are here

function rtf::getFontTable in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 modules/rtf/rtf_export.inc \rtf::getFontTable()
  2. 7 modules/rtf/rtf_export.inc \rtf::getFontTable()
  3. 7.2 modules/rtf/rtf_export.inc \rtf::getFontTable()
1 call to rtf::getFontTable()
rtf::getDocument in ./class_rtf.php

File

./class_rtf.php, line 217

Class

rtf

Code

function getFontTable() {
  $font_buffer = "{\\fonttbl\n";
  foreach ($this->fonts_array as $fnum => $farray) {
    $font_buffer .= "{\\f{$fnum}\\f{$farray['family']}\\fcharset{$farray['charset']} {$farray['name']}}\n";
  }
  $font_buffer .= "}\n\n";
  return $font_buffer;
}