I must admit I don't totally understand what's going on there. The svg formatter's type printer dict gets cleared