×

Method and apparatus for modifying the font size of a webpage according to the screen resolution of a client device

  • US 10,042,950 B2
  • Filed: 12/05/2014
  • Issued: 08/07/2018
  • Est. Priority Date: 08/11/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method of displaying a webpage, comprising:

  • receiving a first request message from a client requesting to browse a webpage and information indicative of a screen resolution adopted by the client;

    selecting a font size corresponding to the screen resolution adopted by the client according to the screen resolution adopted by the client and predetermined correlations between screen resolutions and font sizes;

    generating the webpage in a scale corresponding to the screen resolution adopted by the client and the selected font size, wherein;

    the selected font size relates to a first proportion of the screen resolution;

    an attribute of a webpage element of the webpage relates to a second proportion of the screen resolution, the attribute of the webpage element including a table font size of text in a table, a line spacing, or a combination thereof;

    sending the webpage to the client;

    when the screen resolution is reset to a user-set screen resolution at a time after sending the webpage to the client;

    obtaining a ratio between the user-set screen resolution and the screen resolution adopted by the client prior to resetting; and

    causing a webpage displayed at the client to be proportionally scaled according to the ratio; and

    upon receiving a second request message from the client indicative of the font size being reset to a user-set font size at a time after the webpage has been sent to the client, generating a revised webpage in a scale according to the screen resolution adopted by the client and the user-set font size, wherein the revised webpage includes a revised attribute of the webpage element, and wherein a size of the revised attribute of the webpage element is different from a size of the attribute of the webpage element.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×