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...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yu, Yongfu, Zhu, Shunyan, He, Xiaopeng, Liang, Jie, Zhou, Chao
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
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.