blob: 9442685dedae1704cbf6b2e7956d13fc9a4827f1 [file] [log] [blame]
James Robinson646469d2014-10-03 15:33:28 -07001Name: freetype2
2URL: git://git.sv.nongnu.org/freetype/freetype2.git
James Robinsone2ac7e82014-10-15 13:21:59 -07003Version: 2.4.8-1ubuntu2.1
James Robinson646469d2014-10-03 15:33:28 -07004Security Critical: no
5License: BSD
6License File: NOT_SHIPPED
7
8Description:
9
James Robinsone2ac7e82014-10-15 13:21:59 -070010This mirrors the version of Freetype2 that was distributed with Ubuntu Precise
11(Version 2.4.8, git hash 9d7f0957fbd10fdbabf9815e37857a910ad4f4ac, plus
12applicable debian/patches-freetype as seen in
13https://launchpad.net/ubuntu/lucid/+source/freetype ). On Ubuntu Precise
14this code should be the same as the result of
15
16apt-get source freetype && cd freetype-2.4.8/ && ./debian/rules patch
17
18The build files should approximate the output of
19
20make -Bn | rev | cut -d ' ' -f 1 | rev | grep "\.c$" | sort
21
22Currently the cache, validators, patent checker (no longer used), and bzip2
23are excluded.
24
James Robinson646469d2014-10-03 15:33:28 -070025We link this library into DumpRenderTree so that we can run the layout tests
26on later versions of Ubuntu and still get the same font rendering so that
27we don't have to support two sets of pixel test baselines.
28
29Freetype depends on two header files to be supplied by the user to specify
30how to build the library, ftconfig.h and ftmodule.h (or equivalent filenames
31as defined by the FT_CONFIG_CONFIG_H and FT_CONFIG_MODULES_H #defines).
32
33The versions in include/ were generated as follows (on a Precise machine):
34
35 % cd ext
36 % bash autogen.sh
37 % ./configure
38 % cp objs/ftmodule.h ../include
39 % cp builds/unix/ftconfig.h ../include
40 % git apply freetype2.patch
41
42(Basically we use the stock list of modules, and define the FT_EXPORT
43and FT_EXPORT_DEF macros to work properly when building a linux shared lib.)
44
45This code is not considered security critical since it is only to be linked
46into test binaries! This should never be linked into chrome or any production
47code.