Code Duplication    Length = 7-7 lines in 3 locations

fpdf/chinese.php 1 location

@@ 225-231 (lines=7) @@
222
  $this->x=$this->lMargin;
223
}
224
225
function Write($h,$txt,$link='')
226
{
227
  if($this->CurrentFont['type']=='Type0')
228
    $this->MBWrite($h,$txt,$link);
229
  else
230
    parent::Write($h,$txt,$link);
231
}
232
233
function MBWrite($h,$txt,$link)
234
{

fpdf/japanese.php 1 location

@@ 218-224 (lines=7) @@
215
  $this->x=$this->lMargin;
216
}
217
218
function Write($h,$txt,$link='')
219
{
220
  if($this->CurrentFont['type']=='Type0')
221
    $this->SJISWrite($h,$txt,$link);
222
  else
223
    parent::Write($h,$txt,$link);
224
}
225
226
function SJISWrite($h,$txt,$link)
227
{

fpdf/korean.php 1 location

@@ 195-201 (lines=7) @@
192
  $this->x=$this->lMargin;
193
}
194
195
function Write($h,$txt,$link='')
196
{
197
  if($this->CurrentFont['type']=='Type0')
198
    $this->MBWrite($h,$txt,$link);
199
  else
200
    parent::Write($h,$txt,$link);
201
}
202
203
function MBWrite($h,$txt,$link)
204
{