Method and device for scaling font size of page in mobile terminal
Techniques for scaling font size of a page in a mobile terminal, such as a method including: parsing a page of a web page acquired from a content server, and acquiring the block width and the size of a style font of each underlying block node contained in a render tree of the parsed web page; based...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Techniques for scaling font size of a page in a mobile terminal, such as a method including: parsing a page of a web page acquired from a content server, and acquiring the block width and the size of a style font of each underlying block node contained in a render tree of the parsed web page; based on the acquired block width of each underlying block node and the width of a screen of the mobile terminal, determining a font scaling coefficient of each underlying block node; and based on the determined font scaling coefficient of each underlying block node and the size of the style font, scaling the style font of each underlying block node. Advantageously, an enlarged window can completely display a content block and a font can be displayed clearly, without a need to slide the screen to the left or right side. |
---|