source: general/graphlib/woff2.xml@ 48771ae

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 48771ae was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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