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, where one or more Type 1 fonts are embedded in the source version of the electronic document; processing the source version of the electronic document by unifying object duplicates in the electronic document to generate a target version of the electronic document in a target format, the target version of the electronic document in the target format excluding one of each of the object duplicates; and outputting the target version of the electronic document in a target format, wherein unifying object duplicates comprises: detecting content duplication at a sub-object level; extracting duplicated content as individual objects; 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.
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, where one or more Type 1 fonts are embedded in the source version of the electronic document; processing the source version of the electronic document by unifying object duplicates in the electronic document to generate a target version of the electronic document in a target format, the target version of the electronic document in the target format excluding one of each of the object duplicates; and outputting the target version of the electronic document in a target format, wherein unifying object duplicates comprises: detecting content duplication at a sub-object level; extracting duplicated content as individual objects; 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. 2. The method of claim 1 , wherein the target format is a compressed version of the source format.