Code Duplication    Length = 3-3 lines in 2 locations

src/Intraface/LegacyCpdf.php 2 locations

@@ 841-843 (lines=3) @@
838
                    if (isset($o['info']['Widths'])) {
839
                        $res.="/Widths ".$o['info']['Widths']." 0 R ";
840
                    }
841
                    if (isset($o['info']['FontDescriptor'])) {
842
                        $res.="/FontDescriptor ".$o['info']['FontDescriptor']." 0 R ";
843
                    }
844
                    $res.=">>\nendobj";
845
                }
846
                return $res;
@@ 991-993 (lines=3) @@
988
            case 'out':
989
                  $res = "\n$id 0 obj\n";
990
                  $res.= "<</Type /Font /Subtype /CIDFontType2 /BaseFont /".$o['info']['name']." /CIDSystemInfo << /Registry (Adobe) /Ordering (Identity) /Supplement 0 >>";
991
                if (isset($o['info']['FontDescriptor'])) {
992
                    $res.= " /FontDescriptor ".$o['info']['FontDescriptor']." 0 R";
993
                }
994
995
                if (isset($o['info']['MissingWidth'])) {
996
                    $res.= " /DW ".$o['info']['MissingWidth']."";