source: general/graphlib/woff2.xml@ 427b46a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 427b46a was d437f756, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

More library tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24257 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY woff2-download-http "https://github.com/google/woff2/archive/v&woff2-version;/woff2-&woff2-version;.tar.gz">
8 <!ENTITY woff2-download-ftp " ">
9 <!ENTITY woff2-md5sum "793c8844845351cb80730a74937e411b">
10 <!ENTITY woff2-size "39 KB">
11 <!ENTITY woff2-buildsize "1.6 MB">
12 <!ENTITY woff2-time "less than 0.1 SBU">
13]>
14
15<sect1 id="woff2" xreflabel="WOFF2-&woff2-version;">
16 <?dbhtml filename="woff2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>woff2-&woff2-version;</title>
24
25 <indexterm zone="woff2">
26 <primary sortas="a-woff2">woff2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to WOFF2</title>
31
32 <para>
33 <application>WOFF2</application> is a library for converting fonts from
34 the TTF format to the WOFF 2.0 format. It also allows decompression from
35 WOFF 2.0 to TTF. The WOFF 2.0 format uses the Brotli compression algorithm
36 to compress fonts suitable for downloading in CSS @font-face rules.
37 </para>
38
39 &lfs101_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&woff2-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&woff2-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &woff2-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &woff2-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &woff2-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &woff2-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74<!--
75 <note>
76 <para>
77 The <application>WOFF2</application> source tarball shown above
78 downloads with the correct name, woff2-&woff2-version;.tar.gz,
79 if using a browser such as Firefox. If you prefer to use a command line
80 program such as wget, you normally would obtain
81 v&woff2-version;.tar.gz. To obtain this package with the proper
82 filename, run:
83
84<screen><userinput>wget -c https://github.com/google/woff2/v&brotli-version;.tar.gz \
85 -O woff2-&woff2-version;.tar.gz</userinput></screen>.
86 </para>
87 </note>
88-->
89 <bridgehead renderas="sect3">WOFF2 Dependencies</bridgehead>
90
91 <bridgehead renderas="sect4">Required</bridgehead>
92 <para role="required">
93 <xref linkend="brotli"/> and
94 <xref linkend="cmake"/>
95 </para>
96
97 <para condition="html" role="usernotes">
98 User Notes: <ulink url="&blfs-wiki;/woff2"/>
99 </para>
100 </sect2>
101
102 <sect2 role="installation">
103 <title>Installation of WOFF2</title>
104
105 <para>
106 Install <application>WOFF2</application> by running the following
107 commands:
108 </para>
109
110<screen><userinput>mkdir out &amp;&amp;
111cd out &amp;&amp;
112cmake -DCMAKE_INSTALL_PREFIX=/usr \
113 -DCMAKE_BUILD_TYPE=Release .. &amp;&amp;
114make</userinput></screen>
115
116 <para>
117 This package does not come with a test suite.
118 </para>
119
120 <para>
121 Now, as the <systemitem class="username">root</systemitem> user:
122 </para>
123
124<screen role="root"><userinput>make install</userinput></screen>
125 </sect2>
126
127 <sect2 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Program</segtitle>
132 <segtitle>Installed Libraries</segtitle>
133 <segtitle>Installed Directory</segtitle>
134
135 <seglistitem>
136 <seg>
137 None
138 </seg>
139 <seg>
140 libwoff2common.so, libwoff2dec.so and libwoff2enc.so
141 </seg>
142 <seg>
143 /usr/include/woff2
144 </seg>
145 </seglistitem>
146 </segmentedlist>
147
148 <variablelist>
149 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
150 <?dbfo list-presentation="list"?>
151 <?dbhtml list-presentation="table"?>
152
153 <varlistentry id="libwoff2common">
154 <term><filename class="libraryfile">libwoff2common.so</filename></term>
155 <listitem>
156 <para>
157 provides shared data used by the libwoff2dec and libwoff2enc libraries
158 </para>
159 <indexterm zone="woff2 libwoff2common">
160 <primary sortas="c-libwoff2common">libwoff2common.so</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="libwoff2dec">
166 <term><filename class="libraryfile">libwoff2dec.so</filename></term>
167 <listitem>
168 <para>
169 is the WOFF2 decoder library
170 </para>
171 <indexterm zone="woff2 libwoff2dec">
172 <primary sortas="c-libwoff2dec">libwoff2dec.so</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="libwoff2enc">
178 <term><filename class="libraryfile">libwoff2enc.so</filename></term>
179 <listitem>
180 <para>
181 is the WOFF2 encoder library
182 </para>
183 <indexterm zone="woff2 libwoff2enc">
184 <primary sortas="c-libwoff2common">libwoff2enc.so</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 </variablelist>
190 </sect2>
191
192</sect1>
Note: See TracBrowser for help on using the repository browser.