Code Duplication    Length = 7-7 lines in 3 locations

fpdf/chinese.php 1 location

@@ 121-127 (lines=7) @@
118
  return $l*$this->FontSize/1000;
119
}
120
121
function MultiCell($w,$h,$txt,$border=0,$align='L',$fill=0)
122
{
123
  if($this->CurrentFont['type']=='Type0')
124
    $this->MBMultiCell($w,$h,$txt,$border,$align,$fill);
125
  else
126
    parent::MultiCell($w,$h,$txt,$border,$align,$fill);
127
}
128
129
function MBMultiCell($w,$h,$txt,$border=0,$align='L',$fill=0)
130
{

fpdf/japanese.php 1 location

@@ 100-106 (lines=7) @@
97
  return $l*$this->FontSize/1000;
98
}
99
100
function MultiCell($w,$h,$txt,$border=0,$align='L',$fill=0)
101
{
102
  if($this->CurrentFont['type']=='Type0')
103
    $this->SJISMultiCell($w,$h,$txt,$border,$align,$fill);
104
  else
105
    parent::MultiCell($w,$h,$txt,$border,$align,$fill);
106
}
107
108
function SJISMultiCell($w,$h,$txt,$border=0,$align='L',$fill=0)
109
{

fpdf/korean.php 1 location

@@ 91-97 (lines=7) @@
88
  return $l*$this->FontSize/1000;
89
}
90
91
function MultiCell($w,$h,$txt,$border=0,$align='L',$fill=0)
92
{
93
  if($this->CurrentFont['type']=='Type0')
94
    $this->MBMultiCell($w,$h,$txt,$border,$align,$fill);
95
  else
96
    parent::MultiCell($w,$h,$txt,$border,$align,$fill);
97
}
98
99
function MBMultiCell($w,$h,$txt,$border=0,$align='L',$fill=0)
100
{