OLD | NEW |
| (Empty) |
1 # Updating Blimp Fonts | |
2 | |
3 1. Clone the git-repositories listed in | |
4 `//third_party/blimp_fonts/README.chromium`, and roll forward to the commit | |
5 you want. | |
6 1. Copy the necessary files to `//third_party/blimp_fonts`. | |
7 1. Verify that the `LICENSE` file is still up to date and lists all relevant | |
8 licenses and which fonts use which license. | |
9 1. Update the `//third_party/blimp_fonts:fonts` target to include all the | |
10 current fonts and their license files. | |
11 1. Update the engine dependencies using | |
12 `//blimp/tools/generate-engine-manifest.py`. This step is documented in | |
13 `//blimp/docs/container.md`. | |
14 1. Run the `upload_to_google_storage.py` (from depot_tools) script to upload | |
15 the files. To do this, execute: | |
16 | |
17 ```bash | |
18 find ./third_party/blimp_fonts \ | |
19 -regex '^.*.\(ttf\|otf\)$' -type f -print0 | \ | |
20 upload_to_google_storage.py --use_null_terminator -b chromium-fonts - | |
21 ``` | |
22 | |
23 If the set of fonts includes more than `.ttf` or `.otf` files, you must | |
24 update the regular expression to include such fonts. | |
25 1. Verify that `//third_party/blimp_fonts/.gitignore` lists the correct files | |
26 to ignore. | |
27 1. Add all the `.sha1` files to the chromium src repository, by executing the | |
28 following command: | |
29 | |
30 ```bash | |
31 git add ./third_party/blimp_fonts/*.sha1 | |
32 ``` | |
33 | |
34 1. Commit and upload the change for review: | |
35 | |
36 ```bash | |
37 git commit | |
38 git cl upload | |
39 ``` | |
OLD | NEW |