OLD | NEW |
---|---|
(Empty) | |
1 # Updating Blimp Fonts | |
2 | |
3 1. Clone the git-repositories listed in `//blimp/fonts/README.chromium`, and ro ll | |
4 forward to the commit you want. | |
5 1. Copy the necessary files to `//blimp/fonts`. | |
6 1. Verify that the `LICENSE` file is still up to date and lists all relevant | |
7 licenses and which fonts use which license. | |
8 1. Update the `//blimp/fonts:fonts` target to include all the current fonts and | |
9 their license files. | |
10 1. Update the engine dependencies using | |
11 `//blimp/tools/generate-engine-manifest.py`. This step is documented in | |
12 `//blimp/docs/container.md`. | |
13 1. Run the `upload_to_google_storage.py` (from depot_tools) script to upload th e | |
14 files. To do this, execute: | |
15 | |
16 ```bash | |
17 $ find ./blimp/fonts -regex '^.*.\(ttf\|otf\)$' -type f -print0 | \ | |
maniscalco
2016/02/25 00:56:54
We usually omit the $ prompt in ```bash``` section
nyquist
2016/02/25 01:16:40
Doh! My bad. Removed.
| |
18 upload_to_google_storage.py --use_null_terminator -b chromium-fonts - | |
19 ``` | |
20 | |
21 If the set of fonts includes more than `.ttf` or `.otf` files, you must upda te | |
maniscalco
2016/02/25 00:56:54
What do we wrap our .md's to? 80 cols? Wrapping
nyquist
2016/02/25 01:16:40
Doh! My bad. I had '* ' before, and that took up t
| |
22 the regular expression to include such fonts. | |
23 1. Verify that `//blimp/fonts/.gitignore` lists the correct files to ignore. | |
24 1. Add all the `.sha1` files to the chromium src repository, by executing the | |
25 following command: | |
26 | |
27 ```bash | |
28 git add ./blimp/fonts/*.sha1 | |
29 ``` | |
30 | |
31 1. Commit and upload the change for review: | |
32 | |
33 ```bash | |
34 git commit | |
35 git cl upload | |
36 ``` | |
OLD | NEW |