Code Duplication    Length = 3-3 lines in 2 locations

lib/Cpdf.php 2 locations

@@ 968-970 (lines=3) @@
965
                        $res .= "/Widths " . $o['info']['Widths'] . " 0 R\n";
966
                    }
967
968
                    if (isset($o['info']['FontDescriptor'])) {
969
                        $res .= "/FontDescriptor " . $o['info']['FontDescriptor'] . " 0 R\n";
970
                    }
971
972
                    $res .= ">>\n";
973
                    $res .= "endobj";
@@ 1169-1171 (lines=3) @@
1166
                //      if (isset($o['info']['LastChar'])) {
1167
                //        $res.= "/LastChar ".$o['info']['LastChar']."\n";
1168
                //      }
1169
                if (isset($o['info']['FontDescriptor'])) {
1170
                    $res .= "/FontDescriptor " . $o['info']['FontDescriptor'] . " 0 R\n";
1171
                }
1172
1173
                if (isset($o['info']['MissingWidth'])) {
1174
                    $res .= "/DW " . $o['info']['MissingWidth'] . "\n";