摘要 |
A computer-implemented technique is presented. The technique can include receiving, at a server comprising one or more processors, a first request from a computing device, the first request being for a source document associated with a web page, the source document specifying a font in which to display text in the source document. The technique can include obtaining, at the server, the source document indicated by the first request. The technique can include determining, at the server, a subset of the font by identifying unique characters in the source document, the subset of the font including less than all of the characters of the font. The technique can also include providing, from the server, the source document and information identifying the subset of the font to the computing device. |
主权项 |
1. A computer-implemented method, comprising:
receiving, at a server including one or more processors, a first request from a computing device, the first request being for a source document associated with a web page, the source document specifying a font in which to display text in the source document; obtaining, at the server, the source document indicated by the first request; determining, at the server, a subset of the font by identifying unique characters in the source document, the subset of the font including less than all of the characters of the font; providing, from the server, the source document and information specifying the subset of the font to the computing device; receiving, at the server, a second request from the computing device when the computing device does not have the subset of the font specified by the information, the second request indicating a request for the subset of the font; embedding, at the server, the subset of the font in the source document to obtain a modified source document; and providing, from the server, the modified source document to the computing device. |