#574 Incorrect Constant Names in \Style\Font.php

Correct constants mapped to "dotDash" and "dotDashHeavy", leaving old spellings for backwards compatibility.
This commit is contained in:
Russ 2015-07-22 08:57:15 -05:00
parent cd2e7f7347
commit 304765162e
1 changed files with 4 additions and 2 deletions

View File

@ -33,8 +33,10 @@ class Font extends AbstractStyle
const UNDERLINE_DASHLONG = 'dashLong';
const UNDERLINE_DASHLONGHEAVY = 'dashLongHeavy';
const UNDERLINE_DOUBLE = 'dbl';
const UNDERLINE_DOTHASH = 'dotDash';
const UNDERLINE_DOTHASHHEAVY = 'dotDashHeavy';
const UNDERLINE_DOTHASH = 'dotDash'; // Incorrect spelling, for backwards compatibility
const UNDERLINE_DOTHASHHEAVY = 'dotDashHeavy'; // Incorrect spelling, for backwards compatibility
const UNDERLINE_DOTDASH = 'dotDash'; // Correct spelling
const UNDERLINE_DOTDASHHEAVY = 'dotDashHeavy'; // Correct spelling
const UNDERLINE_DOTDOTDASH = 'dotDotDash';
const UNDERLINE_DOTDOTDASHHEAVY = 'dotDotDashHeavy';
const UNDERLINE_DOTTED = 'dotted';