Code Duplication    Length = 4-4 lines in 2 locations

web_interface/astpp/application/libraries/html2pdf/_class/parsingCss.class.php 2 locations

@@ 322-325 (lines=4) @@
319
        $style = $b.$i;
320
321
        if ($this->_defaultFont) {
322
            if ($family == 'arial')
323
                $family = 'helvetica';
324
            elseif ($family == 'symbol' || $family == 'zapfdingbats')
325
                $style = '';
326
327
            $fontkey = $family.$style;
328
            if ( ! $this->_pdf->isLoadedFont($fontkey))
@@ 332-335 (lines=4) @@
329
                $family = $this->_defaultFont;
330
        }
331
332
        if ($family == 'arial')
333
            $family = 'helvetica';
334
        elseif ($family == 'symbol' || $family == 'zapfdingbats')
335
            $style = '';
336
337
        // complete style
338
        $style .= $u.$d.$o;