Skip to content

Issue 7091 - create font generation tool

Manvel Saroyan requested to merge font-tools into release-2018-5

This is the PR for https://gitlab.com/eyeo/adblockplus/abpui/adblockplusui/issues/115

Total sizes:

  • Input - 187M
  • Output - 1.8M
  • Output using only SourceHanSansZhCn.otf for CJK fonts generation - 1.2M
  • Output without CJK fonts - 204K

Input sizes per file(weight - 300):

  • Athiti.ttf - 176K
  • Cairo.ttf - 132K
  • SourceHanSansJp.otf - 14M
  • SourceHanSansKo.otf - 14M
  • SourceHanSansZhCn.otf - 14M
  • SourceHanSansZhTw.otf - 14M
  • SourceSansPro.ttf - 288K

Output size per file(weight - 300):

  • Athiti.woff2 - 16K
  • Cairo.woff2 - 20K
  • SourceHanSansJp.woff2 - 152K
  • SourceHanSansKo.woff2 - 40K
  • SourceHanSansZhCn.woff2 - 156K
  • SourceHanSansZhTw.woff2 - 192K
  • SourceSansPro.woff2 - 28K
  • fonts.css - 48K

Note: CJK fonts were removed from the final commit, because output file size still is not small enough.

Edited by Manvel Saroyan

Merge request reports