1. A computer-implemented method for formatting electronic documents, comprising: receiving, at a computer system, a source version of an electronic document in a source format; processing the source version of the electronic document to generate a target version of the electronic document in a target format, the processing comprising compressing one or more images embedded in the source version of the electronic document, compressing one or more Type 1 fonts embedded in the source version of the electronic document, and unifying object duplicates embedded in the source version of the electronic document, the target version of the electronic document in the target format including both the compressed one or more images and the compressed one or more Type 1 fonts and excluding one of each of the object duplicates; and outputting the target version of the electronic document in the target.