Woff2: Difference between revisions

From annawiki
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
  https://gist.github.com/moltomedia/07cd1ad01c617a8924db
  https://gist.github.com/moltomedia/07cd1ad01c617a8924db
  https://github.com/google/woff2
  https://github.com/google/woff2
https://caniuse.com/#feat=woff2


  apt-get install fonts-noto
  woff2_compress NotoSans-Bold.ttf
woff2_compress NotoSans-Regular.ttf
woff2_compress NotoSans-Italic.ttf
woff2_compress NotoSans-BoldItalic.ttf


  Reading package lists... Done
  mkdir ../woff2
  Building dependency tree
  mv *.woff2 ../woff2
Reading state information... Done
 
  The following additional packages will be installed:
  for f in *.ttf ; do woff2_compress $f ; done
  fonts-noto-hinted
 
Recommended packages:
==Mime-type==
  fonts-noto-unhinted fonts-noto-mono fonts-noto-cjk
https://www.iana.org/assignments/media-types/media-types.xhtml#font
The following NEW packages will be installed:
  font/woff2
  fonts-noto fonts-noto-hinted
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,657 kB of archives.
After this operation, 26.7 MB of additional disk space will be used.
  Do you want to continue? [Y/n]

Latest revision as of 2018-08-25T12:21:27

https://gist.github.com/moltomedia/07cd1ad01c617a8924db
https://github.com/google/woff2
https://caniuse.com/#feat=woff2
woff2_compress NotoSans-Bold.ttf
woff2_compress NotoSans-Regular.ttf
woff2_compress NotoSans-Italic.ttf
woff2_compress NotoSans-BoldItalic.ttf
mkdir ../woff2
mv *.woff2 ../woff2
for f in *.ttf ; do woff2_compress $f ; done

Mime-type

https://www.iana.org/assignments/media-types/media-types.xhtml#font

font/woff2