James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 1 | Name: freetype2 |
| 2 | URL: git://git.sv.nongnu.org/freetype/freetype2.git |
James Robinson | e2ac7e8 | 2014-10-15 13:21:59 -0700 | [diff] [blame] | 3 | Version: 2.4.8-1ubuntu2.1 |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 4 | Security Critical: no |
| 5 | License: BSD |
| 6 | License File: NOT_SHIPPED |
| 7 | |
| 8 | Description: |
| 9 | |
James Robinson | e2ac7e8 | 2014-10-15 13:21:59 -0700 | [diff] [blame] | 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 ). On Ubuntu Precise |
| 14 | this code should be the same as the result of |
| 15 | |
| 16 | apt-get source freetype && cd freetype-2.4.8/ && ./debian/rules patch |
| 17 | |
| 18 | The build files should approximate the output of |
| 19 | |
| 20 | make -Bn | rev | cut -d ' ' -f 1 | rev | grep "\.c$" | sort |
| 21 | |
| 22 | Currently the cache, validators, patent checker (no longer used), and bzip2 |
| 23 | are excluded. |
| 24 | |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 25 | We link this library into DumpRenderTree so that we can run the layout tests |
| 26 | on later versions of Ubuntu and still get the same font rendering so that |
| 27 | we don't have to support two sets of pixel test baselines. |
| 28 | |
| 29 | Freetype depends on two header files to be supplied by the user to specify |
| 30 | how to build the library, ftconfig.h and ftmodule.h (or equivalent filenames |
| 31 | as defined by the FT_CONFIG_CONFIG_H and FT_CONFIG_MODULES_H #defines). |
| 32 | |
| 33 | The 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 |
| 43 | and FT_EXPORT_DEF macros to work properly when building a linux shared lib.) |
| 44 | |
| 45 | This code is not considered security critical since it is only to be linked |
| 46 | into test binaries! This should never be linked into chrome or any production |
| 47 | code. |