Font style in MSCX gives meaningless diff

• Dec 7, 2018 - 11:43
Reported version
3.0
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
active
Regression
Yes
Workaround
No
Project

This MSCX code describes a text style that is Bold and Underlined:

      <staffFontStyle>5</staffFontStyle>

Compare this with the syntax for the alignment property:

      <staffAlign>center,baseline</staffAlign>

I don't need to tell you that this text is center aligned and sits on the baseline. Couldn't the font style syntax be equally clear?


Comments

Guess we store the ORed enum class FontStyle members here, 0 for Normal, 1 for Bold, 2 for Italic, 4 for Underline, rather than plain text.

Changing that would mean a file format change, which in turn would require a compatibility read functionality?