Font loading system and method
First Claim
1. On a computer comprising a display screen, a method for loading a font, the method comprising:
- requesting a load of a font for a document;
receiving font information in response to the request;
determining 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;
drawing the viewable test character on the 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.
3 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.
14 Citations
20 Claims
-
1. On a computer comprising a display screen, a method for loading a font, the method comprising:
-
requesting a load of a font for a document; receiving font information in response to the request; determining 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; drawing the viewable test character on the 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 (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A font loading system comprising a first device that carries out actions comprising:
-
receiving at least a portion of a document; 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; loading 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, refraining from drawing the viewable test character. - View Dependent Claims (13, 14, 15)
-
-
16. A computer comprising a display screen, wherein the computer carries out actions comprising:
-
requesting a load of a font for a document; receiving font information in response to the request; determining 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; drawing the viewable test character on the 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 (17, 18, 19, 20)
-
Specification