×

Apparatus and method for extracting circumscribed rectangles of characters in transplantable electronic document

  • US 8,452,097 B2
  • Filed: 11/23/2010
  • Issued: 05/28/2013
  • Est. Priority Date: 11/27/2009
  • Status: Expired due to Fees
First Claim
Patent Images

1. An apparatus for extracting circumscribed rectangles of one or more characters in a transplantable electronic document, comprising:

  • a command and resource extraction device configured to extract one or more text-segment-related commands and one or more original font resources corresponding to text segments in one or more pages of the transplantable electronic document;

    a division device configured to divide the original font resources into one or more fonts that need to be replaced, and one or more fonts that do not need to be replaced, in which the fonts that need to be replaced serve as fonts prepared to be replaced;

    a font replacement device configured to seek fonts most similar to the fonts prepared to be replaced based on the aspect of character shape measurement in an outer replacement font table as candidate fonts for replacing the fonts prepared to be replaced, and then let the candidate fonts and the fonts that do not need to be replaced make up font resources after font replacement;

    a measurement information extraction device configured to extract character shape measurement information of the characters in the text segments based on the font resources after font replacement; and

    a calculation device configured to calculate the circumscribed rectangles of the characters based on the text-segment-related commands and the character shape measurement information of the characters,wherein the font replacement device utilizes a matching approach to determine similarities between fonts in the outer replacement font table, prepared to be selected and the fonts prepared to be replaced based on the aspect of character shape measurement, and then lets the fonts prepared to be selected having highest similarities serve as the candidate fonts, whereinthe font replacement device determines a similarity between a font prepared to be selected and a font prepared to be replaced based on a distance dis, calculated in equation (1) as follows, between the font prepared to be selected and the font prepared to be replaced;

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×