发明名称 Techniques for analyzing web pages to determine font subsets
摘要 A computer-implemented method technique can intercept, at a server including one or more processors, a first request for a source document representing a web page, the first request being transmitted from a computing device to a web server. The first request can include web browser information indicating web browser software executing on the computing device. The technique can intercept the source document being transmitted from the web server to the computing device in response to the first request. The source document can specify one or more fonts in which to display text in the source document. The technique can generate the web page, determine unique characters displayed at the web page, and obtain one or more font subsets. The technique can then transmit information to the computing device based on whether the web browser software is capable of displaying a font family having a plurality of fonts.
申请公布号 US9275018(B2) 申请公布日期 2016.03.01
申请号 US201213558699 申请日期 2012.07.26
申请人 Google Inc. 发明人 Levien Raphael Linus;Kuettel David;Stell Brian
分类号 G06F17/20;G06F17/21;G06F17/30;G06F17/22 主分类号 G06F17/20
代理机构 Remarck Law Group PLC 代理人 Remarck Law Group PLC
主权项 1. A computer-implemented method, comprising: intercepting, at a proxy server including one or more processors, a request for a source document representing a web page, the request being transmitted from a remote computing device to a remote web server via a network, the request including web browser information indicating web browser software executing on the remote computing device; intercepting, at the proxy server, the source document being transmitted from the remote web server to the remote computing device via the network in response to the request, the source document including a text and specifying one or more fonts in which to display the text; rendering, at the proxy server, the web page using the source document, the web page including the text displayed in the one or more fonts; determining, at the proxy server, unique characters displayed at the web page for each of the specified one or more fonts in which the text is displayed; obtaining, at the proxy server, one or more font subsets based on the unique characters, wherein at least one of the one or more font subsets includes the unique characters in the source document and one or more additional characters related to the unique characters in the source document, and wherein the one or more additional characters related to the unique characters include at least one of (i) one or more characters having a different case than one or more of the unique characters and (ii) one or more characters having a different accent than one or more of the unique characters; determining, at the proxy server, whether the one or more fonts in which the text is displayed form a font family having a plurality of fonts, each of the plurality of fonts having at least one of a different weight and a different style; determining, at the proxy server, whether the web browser software indicated by the web browser information is capable of displaying the font family having the plurality of fonts; and modifying, at the proxy server, the source document by embedding the plurality of fonts therein to obtain a modified source document when the one or more fonts displayed at the web page form the font family having the plurality of fonts and the web browser software indicated by the web browser information is incapable of displaying the font family having the plurality of fonts; and transmitting, from the proxy server to the remote computing device, information specifying the one or more font subsets when the web browser software indicated by the web browser information is capable of displaying the font family having the plurality of fonts, the modified source document, or a command and a single font subset.
地址 Mountain View CA US