2 URL: git://git.sv.nongnu.org/freetype/freetype2.git
3 Version: 2.4.8-1ubuntu2.3
6 License File: NOT_SHIPPED
10 This mirrors the version of Freetype2 that was distributed with Ubuntu Precise
11 (Version 2.4.8, git hash 9d7f0957fbd10fdbabf9815e37857a910ad4f4ac, plus
12 applicable debian/patches-freetype as seen in
13 https://launchpad.net/ubuntu/lucid/+source/freetype ).
15 To get the code and patches:
17 sudo apt-add-repository -s "deb http://archive.ubuntu.com/ubuntu precise-security main"
20 apt-get source -t precise freetype=2.4.8-1ubuntu2.3
22 and then to apply the patches (quilt):
27 The tree produced by this should match the tree in this repo on the
28 chromium/ubuntu/precise branch.
30 The build files should approximate the output of
32 make -Bn | rev | cut -d ' ' -f 1 | rev | grep "\.c$" | sort
34 Currently the cache, validators, patent checker (no longer used), and bzip2
37 We link this library into DumpRenderTree so that we can run the layout tests
38 on later versions of Ubuntu and still get the same font rendering so that
39 we don't have to support two sets of pixel test baselines.
41 Freetype depends on two header files to be supplied by the user to specify
42 how to build the library, ftconfig.h and ftmodule.h (or equivalent filenames
43 as defined by the FT_CONFIG_CONFIG_H and FT_CONFIG_MODULES_H #defines).
45 The versions in include/ were generated as follows (on a Precise machine):
50 % cp objs/ftmodule.h ../include
51 % cp builds/unix/ftconfig.h ../include
52 % git apply freetype2.patch
54 (Basically we use the stock list of modules, and define the FT_EXPORT
55 and FT_EXPORT_DEF macros to work properly when building a linux shared lib.)
57 This code is not considered security critical since it is only to be linked
58 into test binaries! This should never be linked into chrome or any production