Compression method and device of electronic file, electronic equipment and storage medium

The embodiment of the invention discloses an electronic file compression method and device, electronic equipment and a storage medium. The compression method of the electronic file comprises the following steps: obtaining font resources of fonts in the electronic file and a font set of the used font...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: SHAO GUANGMING
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 embodiment of the invention discloses an electronic file compression method and device, electronic equipment and a storage medium. The compression method of the electronic file comprises the following steps: obtaining font resources of fonts in the electronic file and a font set of the used fonts; according to the types of the fonts, removing selectable font lists from the corresponding font resources to obtain a preliminary screening result of the font resources of the fonts; according to the font set of the used fonts, performing subset extraction from the preliminary screening result of the font resources of the fonts to obtain a font stream after subset extraction; and according to the font stream, updating a font dictionary to realize compression of the electronic file. According to the embodiment of the invention, the occupied size of embedded font resources in the electronic file can be reduced to a great extent, so that the compression rate of the electronic file is improved, lossless compression