Font loading system and method in a client-server architecture
First Claim
1. A method for downloading fonts associated with a document in a client-server architecture, comprising:
- on a server comprising a server processor;
parsing the document;
extracting information for reconstructing the document on a client device, including at least font information associated with the document, wherein the font information comprises a font usable to display a page of the document on the client device;
determining whether a valid test character in the font exists, wherein the valid test character is a viewable character;
based on the determination that the valid test character in the font exists, including the valid test character in the font information;
based on the determination that the valid test character in the font does not exist, the valid test character is not included in the font information; and
storing the extracted information in a database;
on the client device that is connected to the server via a network connection;
receiving some or all of the document;
receiving the font information associated with the document;
requesting a processor to load the font included in the font information;
determining whether the valid test character is included in the font information;
based on the determination that the valid test character is included in the font information;
drawing the valid test character on a display screen of the client device;
recording a width of the drawn test character;
determining that the drawn test character was in the font if the width of the drawn test character is not equal to zero; and
determining that the drawn test character was in a fallback font if the width of the drawn test character is equal to zero;
based on the determination that the valid test character is not included in the font information, not drawing the valid test character.
4 Assignments
0 Petitions
Accused Products
Abstract
Disclosed herein is a system and related method for downloading fonts associated with a document in a client-server architecture. On a client side the client is: receiving some of the document to reproduce; retrieving fonts needed to display a page of the document on the client device by: requesting a font loader to load a requested font; determining if the font is loaded by: determining a valid test character of the font that is a viewable character; attempting to draw the test character in a small portion of a display screen of the client device; recording a width of the drawn character; determining that the test character was written in the requested font if its character width is not equal to zero; and determining that the test character was written in a fallback font if its character width is equal to zero.
9 Citations
20 Claims
-
1. A method for downloading fonts associated with a document in a client-server architecture, comprising:
-
on a server comprising a server processor; parsing the document; extracting information for reconstructing the document on a client device, including at least font information associated with the document, wherein the font information comprises a font usable to display a page of the document on the client device; determining whether a valid test character in the font exists, wherein the valid test character is a viewable character; based on the determination that the valid test character in the font exists, including the valid test character in the font information; based on the determination that the valid test character in the font does not exist, the valid test character is not included in the font information; and storing the extracted information in a database; on the client device that is connected to the server via a network connection; receiving some or all of the document; receiving the font information associated with the document; requesting a processor to load the font included in the font information; determining whether the valid test character is included in the font information; based on the determination that the valid test character is included in the font information; drawing the valid test character on a display screen of the client device; recording a width of the drawn test character; determining that the drawn test character was in the font if the width of the drawn test character is not equal to zero; and determining that the drawn test character was in a fallback font if the width of the drawn test character is equal to zero; based on the determination that the valid test character is not included in the font information, not drawing the valid test character. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method carry out by a client device, the method comprising:
-
receiving at least a portion of a document stored on a server; receiving font information associated with the document, wherein the font information comprises a font usable to display a page of the document; determining whether a viewable test character in the font is included in the received font information; requesting a processor to load the font; based on the determination that the viewable test character in the font is included in the received font information; drawing the viewable test character on a display screen; recording a width of the drawn test character; determining that the drawn test character was in the font if the width of the drawn character is not equal to zero; determining that the drawn test character was in a fallback font if the width of the drawn test character is equal to zero; and based on the determination that the viewable test character is not included in the font information, not drawing the viewable test character. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. An electronic device comprising:
-
a receiver that receives at least a portion of a document stored on a server and receives font information associated with the document, wherein the font information comprises a font usable to display a page of the document; a display screen; and a processor electronically coupled to the receiver and the display screen, the processor; determines whether a viewable test character in the font is included in the received font information; based on the determination that the viewable test character in the font is included in the received font information; draws the viewable test character on a display screen; records a width of the drawn test character; determines that the drawn test character was in the font if the width of the drawn character is not equal to zero; and determines that the drawn test character was in a fallback font if the width of the drawn test character is equal to zero; and based on the determination that the viewable test character is not included in the font information, does not draw the viewable test character. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification