WMF: parse line cap and line join

Change-Id: I5a19a724856938d5a0495ee1e454582238dbd3f0
EMF/WMF: fix rendering of pen styles (dash, dot, dashdot, dashdotdot)

Change-Id: I226bac370601b75f2589f7a7c5e8830746b31e2e