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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/freetype2/BUILD.gn ('k') | third_party/freetype2/freetype2.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/freetype2/README.chromium
diff --git a/third_party/freetype2/README.chromium b/third_party/freetype2/README.chromium
index efc0f4320a113f0deef45461082bcbb1eb2292da..bb4aa228cba9fb5ab545a8c09e18b8257a0a8a6f 100644
--- a/third_party/freetype2/README.chromium
+++ b/third_party/freetype2/README.chromium
@@ -1,59 +1,52 @@
Name: freetype2
URL: git://git.sv.nongnu.org/freetype/freetype2.git
-Version: 2.4.8-1ubuntu2.3
-Security Critical: no
-License: BSD
-License File: NOT_SHIPPED
+Version: unknown
+Security Critical: yes
+License: Custom license "inspired by the BSD, Artistic, and IJG (Independent
+ JPEG Group) licenses"
+License File: src/docs/FTL.TXT
+License Android Compatible: yes
Description:
-This mirrors the version of Freetype2 that was distributed with Ubuntu Precise
-(Version 2.4.8, git hash 9d7f0957fbd10fdbabf9815e37857a910ad4f4ac, plus
-applicable debian/patches-freetype as seen in
-https://launchpad.net/ubuntu/lucid/+source/freetype ).
-
-To get the code and patches:
-
-sudo apt-add-repository -s "deb http://archive.ubuntu.com/ubuntu precise-security main"
-sudo apt-key update
-sudo apt-get update
-apt-get source -t precise freetype=2.4.8-1ubuntu2.3
-
-and then to apply the patches (quilt):
-
-cd freetype-2.4.8/
-./debian/rules patch
-
-The tree produced by this should match the tree in this repo on the
-chromium/ubuntu/precise branch.
+This version of Freetype is updated by checking out freetype from the above git
+URL, currently it is at master@f44ddfda45eaded9, containing the latest GX
+variation font fixes.
The build files should approximate the output of
make -Bn | rev | cut -d ' ' -f 1 | rev | grep "\.c$" | sort
-Currently the cache, validators, patent checker (no longer used), and bzip2
-are excluded.
-
-We link this library into DumpRenderTree so that we can run the layout tests
-on later versions of Ubuntu and still get the same font rendering so that
-we don't have to support two sets of pixel test baselines.
+Currently the cache, patent checker (no longer used), bzip2 are excluded, as
+well as the following modules:
+t1cid_driver_class
+pfr_driver_class
+t42_driver_class
+winfnt_driver_class
+pcf_driver_class
+
+base/ftotval.c
+base/ftpfr.c
+base/ftwinfnt.c
+cid/type1cid.c
+pcf/pcf.c
+pfr/pfr.c
+type42/type42.c
+winfonts/winfnt.c
Freetype depends on two header files to be supplied by the user to specify
how to build the library, ftconfig.h and ftmodule.h (or equivalent filenames
as defined by the FT_CONFIG_CONFIG_H and FT_CONFIG_MODULES_H #defines).
-The versions in include/ were generated as follows (on a Precise machine):
+The versions in include/ were generated as follows:
- % cd ext
+ % cd <dir-where-you-cloned-freetype-to>
% bash autogen.sh
% ./configure
% cp objs/ftmodule.h ../include
% cp builds/unix/ftconfig.h ../include
- % git apply freetype2.patch
-
-(Basically we use the stock list of modules, and define the FT_EXPORT
-and FT_EXPORT_DEF macros to work properly when building a linux shared lib.)
+ % git apply patches/freetype2_symbols_visbility.patch
-This code is not considered security critical since it is only to be linked
-into test binaries! This should never be linked into chrome or any production
-code.
+Then we disable modules in include/ftmodule.h, then apply the symbols visibility
+patch to define the FT_EXPORT and FT_EXPORT_DEF macros to work properly when
+building a linux shared lib.
« 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