1. A method of converting an input document having a fixed-layout into a portable format, the method comprising, for each page of the input document: extracting a font used on the page; converting the extracted font into a format compatible with a web browser program, wherein said converting comprises: converting the extracted font into an intermediate font format; normalizing the intermediate font format by adjusting metrics of the intermediate font format to cause glyphs in a final font to have the same positioning and line spacing as the input document, based on characteristics of an operating system within which the final font will be displayed, wherein said adjusting includes, for said line spacing: keeping hhead ascent and descent values of the intermediate font format as they appear in the extracted font; and converting windows descent values of the intermediate font format to negative values; and converting the normalized intermediate font format into the final font; extracting text from the page; rendering content of the page, other than the font and the text, as one or more content images; storing the final font, the extracted text and the one or more content images; combining the final font, the extracted text and the one or more content images as a corresponding page of an output document formatted according to a markup language compatible with the web browser program; comparing an image of the page of the input document to an image of the corresponding page of the output document to generate an error score; and if the error score exceeds a threshold, replacing the corresponding page of the output document with an image of the page of the input document.
1. A method of converting an input document having a fixed-layout into a portable format, the method comprising, for each page of the input document: extracting a font used on the page; converting the extracted font into a format compatible with a web browser program, wherein said converting comprises: converting the extracted font into an intermediate font format; normalizing the intermediate font format by adjusting metrics of the intermediate font format to cause glyphs in a final font to have the same positioning and line spacing as the input document, based on characteristics of an operating system within which the final font will be displayed, wherein said adjusting includes, for said line spacing: keeping hhead ascent and descent values of the intermediate font format as they appear in the extracted font; and converting windows descent values of the intermediate font format to negative values; and converting the normalized intermediate font format into the final font; extracting text from the page; rendering content of the page, other than the font and the text, as one or more content images; storing the final font, the extracted text and the one or more content images; combining the final font, the extracted text and the one or more content images as a corresponding page of an output document formatted according to a markup language compatible with the web browser program; comparing an image of the page of the input document to an image of the corresponding page of the output document to generate an error score; and if the error score exceeds a threshold, replacing the corresponding page of the output document with an image of the page of the input document. 4. The method of claim 1 , wherein said extracting a font comprises: extracting a mapping of document-specific character codes used in a first page of the input document to corresponding glyphs; and replacing the document-specific character codes with Unicode-compatible character codes.