Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: third_party/freetype2/README.chromium

Issue 2300973002: NOT FOR LANDING Update FreeType to upstream 57a6733dcf7828fe3db9254edab33fda7c9f6a10. (Closed)
Patch Set: Rebase, see trybot results again Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/freetype2/BUILD.gn ('k') | third_party/freetype2/freetype2.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Name: freetype2 1 Name: freetype2
2 URL: git://git.sv.nongnu.org/freetype/freetype2.git 2 URL: git://git.sv.nongnu.org/freetype/freetype2.git
3 Version: 2.4.8-1ubuntu2.3 3 Version: unknown
4 Security Critical: no 4 Security Critical: yes
5 License: BSD 5 License: Custom license "inspired by the BSD, Artistic, and IJG (Independent
6 License File: NOT_SHIPPED 6 JPEG Group) licenses"
7 License File: src/docs/FTL.TXT
8 License Android Compatible: yes
7 9
8 Description: 10 Description:
9 11
10 This mirrors the version of Freetype2 that was distributed with Ubuntu Precise 12 This version of Freetype is updated by checking out freetype from the above git
11 (Version 2.4.8, git hash 9d7f0957fbd10fdbabf9815e37857a910ad4f4ac, plus 13 URL, currently it is at master@f44ddfda45eaded9, containing the latest GX
12 applicable debian/patches-freetype as seen in 14 variation font fixes.
13 https://launchpad.net/ubuntu/lucid/+source/freetype ).
14
15 To get the code and patches:
16
17 sudo apt-add-repository -s "deb http://archive.ubuntu.com/ubuntu precise-securit y main"
18 sudo apt-key update
19 sudo apt-get update
20 apt-get source -t precise freetype=2.4.8-1ubuntu2.3
21
22 and then to apply the patches (quilt):
23
24 cd freetype-2.4.8/
25 ./debian/rules patch
26
27 The tree produced by this should match the tree in this repo on the
28 chromium/ubuntu/precise branch.
29 15
30 The build files should approximate the output of 16 The build files should approximate the output of
31 17
32 make -Bn | rev | cut -d ' ' -f 1 | rev | grep "\.c$" | sort 18 make -Bn | rev | cut -d ' ' -f 1 | rev | grep "\.c$" | sort
33 19
34 Currently the cache, validators, patent checker (no longer used), and bzip2 20 Currently the cache, patent checker (no longer used), bzip2 are excluded, as
35 are excluded. 21 well as the following modules:
22 t1cid_driver_class
23 pfr_driver_class
24 t42_driver_class
25 winfnt_driver_class
26 pcf_driver_class
36 27
37 We link this library into DumpRenderTree so that we can run the layout tests 28 base/ftotval.c
38 on later versions of Ubuntu and still get the same font rendering so that 29 base/ftpfr.c
39 we don't have to support two sets of pixel test baselines. 30 base/ftwinfnt.c
31 cid/type1cid.c
32 pcf/pcf.c
33 pfr/pfr.c
34 type42/type42.c
35 winfonts/winfnt.c
40 36
41 Freetype depends on two header files to be supplied by the user to specify 37 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 38 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). 39 as defined by the FT_CONFIG_CONFIG_H and FT_CONFIG_MODULES_H #defines).
44 40
45 The versions in include/ were generated as follows (on a Precise machine): 41 The versions in include/ were generated as follows:
46 42
47 % cd ext 43 % cd <dir-where-you-cloned-freetype-to>
48 % bash autogen.sh 44 % bash autogen.sh
49 % ./configure 45 % ./configure
50 % cp objs/ftmodule.h ../include 46 % cp objs/ftmodule.h ../include
51 % cp builds/unix/ftconfig.h ../include 47 % cp builds/unix/ftconfig.h ../include
52 % git apply freetype2.patch 48 % git apply patches/freetype2_symbols_visbility.patch
53 49
54 (Basically we use the stock list of modules, and define the FT_EXPORT 50 Then we disable modules in include/ftmodule.h, then apply the symbols visibility
55 and FT_EXPORT_DEF macros to work properly when building a linux shared lib.) 51 patch to define the FT_EXPORT and FT_EXPORT_DEF macros to work properly when
56 52 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
59 code.
OLDNEW
« no previous file with comments | « third_party/freetype2/BUILD.gn ('k') | third_party/freetype2/freetype2.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698