Apache OpenOffice (AOO) Bugzilla – Issue 116634
DirectX canvas has wrong scale with dashed lines
Last modified: 2017-05-20 10:34:08 UTC
Dashed lines are not correctly scaled when displayed by the DirectX canvas. The line width (pen size) is multiplied by the dash and gap lengths which therefore become too large. The VCL canvas displays dashed lines correctly. This error can not be observed directly because dashed lines are usually rendered via metafiles and thus represented as a set of dashes.
Fixed by multiplying the dash and gap lengths by the inverse of the line width.