9684986

Constructing Fonts from Scanned Images for Rendering Text

PublishedJune 20, 2017
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
20 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A method comprising: receiving, by one or more computer processors, a scanned image of a source text comprising a first glyph and a second glyph, wherein the first glyph and the second glyph correspond to a first instance and a second instance of a character in the source text, respectively, and wherein the first instance of the character appears in a first word of the source text and the second instance of the character appears in a second word of the source text, the first word including a first group of characters and the second word including a second group of characters; generating, by the one or more computer processors, a vector image representative of each of the first glyph and the second glyph; determining, by the one or more computer processors, a first horizontal reference line indicative of a default vertical alignment of the first instance of the character with respect to the first group of characters, wherein the first horizontal reference line indicates an origin of the first instance of the character; determining, by the one or more computer processors, a second horizontal reference line indicative of a vertical alignment of the first group of characters and a third horizontal reference line indicative of a vertical alignment of the second group of characters; determining, by the one or more computer processors, a first vertical distance value between the first horizontal reference line and the second horizontal reference line; assigning, by the one or more computer processors, a first numerical identifier to the first glyph; generating, by the one or more computer processors, first glyph data associated with the first glyph, the first glyph data comprising the first numerical identifier and the first vertical distance value; determining, by the one or more computer processors, a second vertical distance value for the second glyph by determining a second vertical distance between the first horizontal reference line and the third horizontal reference line; determining, by the one or more computer processors, that the second vertical distance value is different than the first vertical distance value; assigning, by the one or more computer processors, a second numerical identifier to the second glyph, wherein the second numerical identifier is different from the first numerical identifier; generating, by the one or more computer processors, second glyph data associated with the second glyph, the second glyph data comprising the second vertical distance value; generating, by the one or more computer processors, a font file configured to be executed by a renderer to render the source text, the font file comprising the vector image, the first glyph data, and the second glyph data; and generating, by the one or more computer processors, a digitally renderable format for the source text based at least in part on the font file and the scanned image.

2

2. The method of claim 1 , wherein the character is a first character, the method further comprising: identifying, by the one or more computer processors, a third glyph corresponding to an instance of a second character adjacent to the first instance of the first character in the first word and a fourth glyph corresponding to an instance of a third character adjacent to the second instance of the first character in the second word; determining, by the one or more computer processors, that the second character and the third character are a same character; determining, by the one or more computer processors, a first vertical reference line indicative of a default horizontal alignment of the first instance of the first character on the second horizontal reference line with respect to the first group of characters, wherein the first vertical reference line indicates an origin of the first instance of the first character; determining, by the one or more computer processors, a second vertical reference line indicative of a horizontal alignment of the second instance of the first character on the third horizontal reference line with respect to the second group of characters, and a third vertical reference line indicative of a default horizontal alignment of the second group of characters; determining, by the one or more computer processors, a first horizontal distance value for the third glyph by determining a horizontal distance between the first vertical reference line and the second vertical reference line; assigning, by the one or more computer processors, a third numerical identifier to the third glyph; generating, by the one or more computer processors, third glyph data associated with the third glyph, the third glyph data comprising the third numerical identifier and the first horizontal distance value; determining, by the one or more computer processors, a second horizontal distance value for the fourth glyph by determining a second horizontal distance between the second vertical reference line and the third vertical reference line; determining, by the one or more computer processors, that the second horizontal distance value is different than the first horizontal distance value; assigning, by the one or more computer processors, a fourth numerical identifier to the fourth glyph, wherein the fourth numerical identifier is different from the third numerical identifier; and generating, by the one or more computer processors, fourth glyph data associated with the fourth glyph, the fourth glyph data comprising the second horizontal distance value; wherein the font file further comprises the third glyph data and the fourth glyph data.

3

3. The method of claim 1 , further comprising: determining, by the one or more computer processors, that the first instance of the character has a first resolution; determining, by the one or more computer processors, that the second instance of the character has a second resolution that is less than the first resolution; and upscaling, by the one or more computer processors, the second character to the first resolution, such that each instance of the character is at the first resolution.

4

4. A method comprising: receiving, by one or more computer processors, a scanned image of a source text, the scanned image comprising a first glyph and a second glyph, wherein the first glyph and the second glyph correspond to a first instance and a second instance of a character in the source text, respectively, and wherein the first instance of the character appears in a first word of the source text and the second instance of the character appears in a second word of the source text; generating, by the one or more computer processors, an image representative of each of the first glyph and the second glyph; determining, by the one or more computer processors, a first positional reference line indicative of a default position of a first character along a horizontal or vertical baseline, wherein the default position indicates an origin of the first character; determining, by the one or more computer processors, a second positional reference line indicative of an alignment of characters forming the first word and a third positional reference line indicative of an alignment of characters forming the second word; determining, by the one or more computer processors, a first distance value between the first positional reference line and the second positional reference line; assigning, by the one or more computer processors, a first numerical identifier to the first glyph; generating, by the one or more computer processors, first glyph data associated with the first glyph, the first glyph data comprising the first numerical identifier and the first distance value; generating, by the one or more computer processors, a font file configured to be executed by a renderer to render the source text, the font file comprising the image and the first glyph data; and generating, by the one or more computer processors, a digitally renderable format for the source text based at least in part on the font file and the scanned image.

5

5. The method of claim 4 , further comprising: determining, by the one or more computer processors, a second distance value between the first positional reference line and the third positional reference line; determining, by the one or more computer processors, that the second distance value is different than the first distance value; assigning, by the one or more computer processors, a second numerical identifier to the second glyph, wherein the second numerical identifier is different from the first numerical identifier; and generating, by the one or more computer processors, second glyph data associated with the second glyph, the second glyph data comprising the second distance value; wherein the font file further comprises the second glyph data.

6

6. The method of claim 5 , wherein: the first positional reference line is a first horizontal line indicative of a vertical alignment of the first character; the second positional reference line is a second horizontal reference line indicative of a vertical alignment of a first group of characters forming the first word; the third positional reference line is a third horizontal reference line indicative of a vertical alignment of a second group of characters forming the second word; and the first distance value for the first glyph is a first vertical adjustment for the first glyph between the first horizontal reference line and the second horizontal reference line.

7

7. The method of claim 5 , wherein: the first positional reference line is a first vertical reference line indicative of a horizontal alignment of the first character; the second positional reference line is a second vertical reference line indicative of a horizontal alignment of a first group of characters forming the first word; the third positional reference line is a third vertical reference line indicative of a horizontal alignment of a second group of characters forming the second word; and the first distance value for the first glyph is a first horizontal adjustment for the first glyph between the first vertical reference line and the second vertical reference line.

8

8. The method of claim 5 , wherein the first numerical identifier and the second numerical identifier are custom Unicode values selected from a Private Use Area range of code points.

9

9. The method of claim 4 , wherein the image is a vector image.

10

10. The method of claim 4 , further comprising scaling, by the one or more computer processors, the first glyph and the second glyph to a uniform resolution.

11

11. The method of claim 4 , further comprising: identifying, by the one or more computer processors, the character by analyzing the scanned image; identifying, by the one or more computer processors, a first bounding region encompassing the character; based at least in part on the first bounding region, extracting, by the one or more computer processors, each instance of the character from the scanned image to generate an extracted character; and generating, by the one or more computer processors, the image representative of the character by converting the extracted character to a vector image.

12

12. The method of claim 11 , further comprising categorizing, by the one or more computer processors, each instance of the character in a first bin such that characters in the first bin are associated with a single image, wherein characters are binned based at least in part on a threshold variance between binned characters.

13

13. The method of claim 4 , further comprising: determining, by the one or more computer processors, that the first word and the second word are positioned on a first line of text in the source text; increasing, by the one or more computer processors, a glyph size of the first instance of the first character; and shifting, by the one or more computer processors, the second word from a first rendered line of text to a second rendered line of text.

14

14. The method of claim 4 , further comprising rendering the source text on a display based at least in part on the scanned image and the font file.

15

15. A computer device comprising: at least one memory that stores computer-executable instructions; at least one processor configured to access the at least one memory and execute the computer-executable instructions to: receive a scanned image of a source text, the scanned image comprising a first glyph and a second glyph, wherein the first glyph and the second glyph correspond to a first instance and a second instance of a character in the source text, respectively, and wherein the first instance of the character appears in a first word of the source text and the second instance of the character appears in a second word of the source text; generate an image representative of each of the first glyph and the second glyph; determine a first positional reference line indicative of a default positioning of a first character along a horizontal or vertical baseline; determine a second positional reference line indicative of an alignment of characters forming the first word and a third positional reference line indicative of an alignment of characters forming the second word; determine a first distance value between the first positional reference line and the second positional reference line; assign a first numerical identifier to the first glyph; generate first glyph data associated with the first glyph, the first glyph data comprising the first numerical identifier and the first distance value; generate a font file configured to be executed by a renderer to render the source text, the font file comprising the image and the first glyph data; and generate a digitally renderable format for the source text based at least in part on the font file and the scanned image.

16

16. The computer device of claim 15 , wherein the at least one processor is further configured to execute the computer-executable instructions to: determine a second distance value between the first positional reference line and the third positional reference line; determine that the second distance value is different than the first distance value; assign a second numerical identifier to the second glyph, wherein the second numerical identifier is different from the first numerical identifier; and generate second glyph data associated with the second glyph, the second glyph data comprising the second distance value; wherein the font file further comprises the second glyph data.

17

17. The computer device of claim 16 , wherein: the first positional reference line is a first horizontal line indicative of a vertical alignment of the first character; the second positional reference line is a second horizontal reference line indicative of a vertical alignment of a first group of characters forming the first word; the third positional reference line is a third horizontal reference line indicative of a vertical alignment of a second group of characters forming the second word; and the first distance value for the first glyph is a first vertical adjustment for the first glyph between the first horizontal reference line and the second horizontal reference line.

18

18. The computer device of claim 16 , wherein: the first positional reference line is a first vertical reference line indicative of a horizontal alignment of the first character; the second positional reference line is a second vertical reference line indicative of a horizontal alignment of a first group of characters forming the first word; the third positional reference line is a third vertical reference line indicative of a horizontal alignment of a second group of characters forming the second word; and the first distance value for the first glyph is a first horizontal adjustment for the first glyph between the first vertical reference line and the second vertical reference line.

19

19. The computer device of claim 15 , wherein the at least one processor is further configured to execute the computer-executable instructions to render the source text on a display based at least in part on the scanned image and the font file.

20

20. The computer device of claim 15 , wherein the image is a vector image.

Patent Metadata

Filing Date

Unknown

Publication Date

June 20, 2017

Inventors

Prannoy Vargis C
Tony Johri
Adarsh Natarajan

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “CONSTRUCTING FONTS FROM SCANNED IMAGES FOR RENDERING TEXT” (9684986). https://patentable.app/patents/9684986

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.