Strip trailing whitespace
Allow both kinds of bounding box for arc()