* add copy_trim and inplace_trim function
* bugfix loading SVG path crash.