I'm confident that this bug is now fixed in core-8-6-branch. Tested on Ubuntu, where there indeed were some fonts which returned 0 for "font actial -size", after this fix the font size returns 9.

Please confirm, then I'll close this issue.