Code Duplication    Length = 5-5 lines in 2 locations

pdf/tcpdf.php 2 locations

@@ 3852-3856 (lines=5) @@
3849
							}
3850
						}
3851
					}
3852
					if ((isset($attr['bgcolor'])) AND ($attr['bgcolor'] != '')) {
3853
						$coul = $this->convertColorHexToDec($attr['bgcolor']);
3854
						$this->SetFillColor($coul['R'], $coul['G'], $coul['B']);
3855
						$this->tdbgcolor=true;
3856
					}
3857
					$this->tdbegin=true;
3858
					break;
3859
				}
@@ 3969-3973 (lines=5) @@
3966
					break;
3967
				}
3968
				case 'font': {
3969
					if (isset($attr['color']) AND $attr['color']!='') {
3970
						$coul = $this->convertColorHexToDec($attr['color']);
3971
						$this->SetTextColor($coul['R'],$coul['G'],$coul['B']);
3972
						$this->issetcolor=true;
3973
					}
3974
					if (isset($attr['face']) and in_array(strtolower($attr['face']), $this->fontlist)) {
3975
						$this->SetFont(strtolower($attr['face']));
3976
						$this->issetfont=true;