In pre-WPTools 5 versions, CurrAttr.Size was of type Integer. Now it's of type Single.
Does that property now refer to something different than Font Size? The source PascalHigh.Pas in Demos\Tasks\HighlightPascalCode suggests that it's still referring to Font Size. Why the change to type Single?
diamond