Handling Artifacts in digitally reproduced documents