Optimization of Web Font 04: “Subsetting”

In the utilization of web font, subsetting is the first method to be considered in the optimization of the font file itself.

Subsetting means generating a font file in which only the required glyphs are collected.

At that time, it is not only necessary to delete unnecessary glyphs, but also to restructure the GSUB, SPOS, and various other tables.

In web font distribution services, there are many “dynamic subsetting” services that perform dynamic subsetting and distribution after analyzing the pages utilized.

In the case of subsetting, it is convenient to use fonttools pyftsubset. It is also applicable to modification of the font file, and most font makers including Type Project do not normally approve it. To perform this processing, it is necessary to clarify the font license and relations of right.


Series archive Web Font / Optimization of Web Font