fix logtool and borders to work with dxf output format