Code Duplication    Length = 6-6 lines in 2 locations

includes/libraries/Pdf/Tfpdf/tfpdf.class.php 2 locations

@@ 927-932 (lines=6) @@
924
    while ($i < $nb)
925
    {
926
        // Get next character
927
        if ($this->unifontSubset) {
928
            $c = mb_substr($s, $i, 1, 'UTF-8');
929
        } else {
930
            $c = $s[$i];
931
        }
932
        if ($c == "\n")
933
        {
934
            // Explicit line break
935
            if ($this->ws > 0)
@@ 1051-1056 (lines=6) @@
1048
    while ($i < $nb)
1049
    {
1050
        // Get next character
1051
        if ($this->unifontSubset) {
1052
            $c = mb_substr($s, $i, 1, 'UTF-8');
1053
        } else {
1054
            $c = $s[$i];
1055
        }
1056
        if ($c == "\n")
1057
        {
1058
            // Explicit line break
1059
            if ($this->unifontSubset) {