aboutsummaryrefslogtreecommitdiff
path: root/README.android
blob: adc7a2c117c093b4d7eea4ba1cd1bc6df371a97a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Freetype

There are the following local modifications:

The following modules are disabled in include/freetype/config/ftmodule.h:
  pfr
  t42
  winfnt
  pcf
  bdf

The following options are disabled in include/freetype/config/ftoption.h:

  FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES
  FT_CONFIG_OPTION_INCREMENTAL
  TT_CONFIG_OPTION_SUBPIXEL_HINTING

The following option is enabled to support color fonts.

  FT_CONFIG_OPTION_USE_PNG

HOW TO UPDATE
* Check out external/freetype to <checkout_dir>
  ex: git clone https://android.googlesource.com/platform/external/freetype
* Locate the commit you'd like to move.
  ex: for 2.8.1: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?h=VER-2-8-1&id=39ce3ac499d4cd7371031a062f410953c8ecce29
* In <checkout_dir>, run git merge <commit_sha>
  i.e. git merge 39ce3ac499d4cd7371031a062f410953c8ecce29
* Update version and last upgrade date in MEATADATA file.
* Upload the changes.
  ex: git push origin HEAD:refs/for/master
* Gerrit will run the text related tests.

NOTE:
 Since Chromium updates FreeType more frequently, you can check the following URL for their changes
 and latest merges:
 https://chromium.googlesource.com/chromium/src/+log/master/third_party/freetype