Add line-cap on primary-casing

This resolves #470.
Merge pull request #507 from math1985/primary-line-cap

Add line-cap on primary-casing