woff2-1.0.2

Introduction to WOFF2

WOFF2 is a library for converting fonts from the TTF format to the WOFF 2.0 format. It also allows decompression from WOFF 2.0 to TTF. The WOFF 2.0 format uses the Brotli compression algorithm to compress fonts suitable for downloading in CSS @font-face rules.

This package is known to build using an LFS 9.0 platform but has not been tested.

Package Information

WOFF2 Dependencies

Required

Brotli-1.0.7, CMake-3.16.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/woff2

Installation of WOFF2

Install WOFF2 by running the following commands:

mkdir out                           &
cd out                              &
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release .. &
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Program:
Installed Libraries: libwoff2common.so, libwoff2dec.so and libwoff2enc.so.
Installed Directory: /usr/include/woff2.

Short Descriptions

libwoff2common.so

provides shared data used by the libwoff2dec and libwoff2enc libraries.

libwoff2dec.so

is the WOFF2 decoder library.

libwoff2enc.so

is the WOFF2 encoder library.

Last updated on 2019-11-03 00:14:23 -0500