File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -700,12 +700,14 @@ protected function ExtractFontTable($fontTblGrp)
700700 case 'fprq ' : // Font pitch
701701 $ fonttbl [$ fN ]->fprq = $ child ->parameter ;
702702 break ;
703- default : continue 2 ;
703+ default : break ;
704704 }
705705 } elseif ($ child instanceof RtfText) {
706706 // Save font name
707707 $ fname .= $ child ->text ;
708- } elseif ($ child instanceof RtfGroup) {
708+ }
709+ /*
710+ elseif ($child instanceof RtfGroup) {
709711 // possible subgroups:
710712 // '{\*' \falt #PCDATA '}' = alternate font name
711713 // '{\*' \fontemb <fonttype> <fontfname>? <data>? '}'
@@ -716,7 +718,8 @@ protected function ExtractFontTable($fontTblGrp)
716718 // the only authorized symbol here is '*':
717719 // \*\fname = non tagged file name (only WordPad uses it)
718720 continue;
719- }
721+ }
722+ */
720723 }
721724 // Remove end ; delimiter from font name
722725 $ fonttbl [$ fN ]->fontname = substr ($ fname ,0 ,-1 );
You can’t perform that action at this time.
0 commit comments