added linetype scale.