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