@@ 527-529 (lines=3) @@ | ||
524 | $font['name'] = strval($style['font']); |
|
525 | } |
|
526 | if (isset($style['font-style']) && is_string($style['font-style'])) { |
|
527 | if (strpos($style['font-style'], 'bold') !== false) { |
|
528 | $font['bold'] = true; |
|
529 | } |
|
530 | if (strpos($style['font-style'], 'italic') !== false) { |
|
531 | $font['italic'] = true; |
|
532 | } |
|
@@ 530-532 (lines=3) @@ | ||
527 | if (strpos($style['font-style'], 'bold') !== false) { |
|
528 | $font['bold'] = true; |
|
529 | } |
|
530 | if (strpos($style['font-style'], 'italic') !== false) { |
|
531 | $font['italic'] = true; |
|
532 | } |
|
533 | if (strpos($style['font-style'], 'strike') !== false) { |
|
534 | $font['strike'] = true; |
|
535 | } |
|
@@ 533-535 (lines=3) @@ | ||
530 | if (strpos($style['font-style'], 'italic') !== false) { |
|
531 | $font['italic'] = true; |
|
532 | } |
|
533 | if (strpos($style['font-style'], 'strike') !== false) { |
|
534 | $font['strike'] = true; |
|
535 | } |
|
536 | if (strpos($style['font-style'], 'underline') !== false) { |
|
537 | $font['underline'] = true; |
|
538 | } |
|
@@ 536-538 (lines=3) @@ | ||
533 | if (strpos($style['font-style'], 'strike') !== false) { |
|
534 | $font['strike'] = true; |
|
535 | } |
|
536 | if (strpos($style['font-style'], 'underline') !== false) { |
|
537 | $font['underline'] = true; |
|
538 | } |
|
539 | } |
|
540 | if (isset($style['color']) && is_string($style['color']) && $style['color'][0] == '#') { |
|
541 | $v = substr($style['color'], 1, 6); |