| @@ 561-563 (lines=3) @@ | ||
| 558 | $font['name'] = strval($style['font']); |
|
| 559 | } |
|
| 560 | if (isset($style['font-style']) && is_string($style['font-style'])) { |
|
| 561 | if (strpos($style['font-style'], 'bold') !== false) { |
|
| 562 | $font['bold'] = true; |
|
| 563 | } |
|
| 564 | if (strpos($style['font-style'], 'italic') !== false) { |
|
| 565 | $font['italic'] = true; |
|
| 566 | } |
|
| @@ 564-566 (lines=3) @@ | ||
| 561 | if (strpos($style['font-style'], 'bold') !== false) { |
|
| 562 | $font['bold'] = true; |
|
| 563 | } |
|
| 564 | if (strpos($style['font-style'], 'italic') !== false) { |
|
| 565 | $font['italic'] = true; |
|
| 566 | } |
|
| 567 | if (strpos($style['font-style'], 'strike') !== false) { |
|
| 568 | $font['strike'] = true; |
|
| 569 | } |
|
| @@ 567-569 (lines=3) @@ | ||
| 564 | if (strpos($style['font-style'], 'italic') !== false) { |
|
| 565 | $font['italic'] = true; |
|
| 566 | } |
|
| 567 | if (strpos($style['font-style'], 'strike') !== false) { |
|
| 568 | $font['strike'] = true; |
|
| 569 | } |
|
| 570 | if (strpos($style['font-style'], 'underline') !== false) { |
|
| 571 | $font['underline'] = true; |
|
| 572 | } |
|
| @@ 570-572 (lines=3) @@ | ||
| 567 | if (strpos($style['font-style'], 'strike') !== false) { |
|
| 568 | $font['strike'] = true; |
|
| 569 | } |
|
| 570 | if (strpos($style['font-style'], 'underline') !== false) { |
|
| 571 | $font['underline'] = true; |
|
| 572 | } |
|
| 573 | } |
|
| 574 | if (isset($style['color']) && is_string($style['color']) && $style['color'][0] == '#') { |
|
| 575 | $v = substr($style['color'], 1, 6); |
|