public function rtf::getFontTable in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/rtf/rtf_export.inc \rtf::getFontTable()
- 6 class_rtf.php \rtf::getFontTable()
- 7.2 modules/rtf/rtf_export.inc \rtf::getFontTable()
Font table.
1 call to rtf::getFontTable()
- rtf::getDocument in modules/
rtf/ rtf_export.inc - Ouput the RTF file.
File
- modules/
rtf/ rtf_export.inc, line 269
Class
Code
public 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;
}