Document display method and device, equipment and storage medium

The invention provides a document display method and device, equipment and a storage medium, and relates to the field of data processing, in particular to the field of text processing. According to the specific implementation scheme, in response to a document display request, a canvas used for displ...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG TONGLONG, WANG SUYAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a document display method and device, equipment and a storage medium, and relates to the field of data processing, in particular to the field of text processing. According to the specific implementation scheme, in response to a document display request, a canvas used for displaying a document is created through a dynamic library; obtaining target data corresponding to the document, wherein the target data comprises font information of the document; when it is determined that the fonts in the font information do not exist in the font library, calling a dynamic library to create hidden tags corresponding to the font information; calling a label to use fonts in the font information so as to load the fonts in the font information to a font library; and rendering the document to a canvas according to fonts in the font information. By means of the document display method and device, when the document is displayed to the user, typesetting of the original document can be reserved, fonts can be