| Index: blimp/docs/fonts.md
|
| diff --git a/blimp/docs/fonts.md b/blimp/docs/fonts.md
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7b552faf7004d4963c52cea9f793485ad7965553
|
| --- /dev/null
|
| +++ b/blimp/docs/fonts.md
|
| @@ -0,0 +1,36 @@
|
| +# Updating Blimp Fonts
|
| +
|
| +1. Clone the git-repositories listed in `//blimp/fonts/README.chromium`, and
|
| + roll forward to the commit you want.
|
| +1. Copy the necessary files to `//blimp/fonts`.
|
| +1. Verify that the `LICENSE` file is still up to date and lists all relevant
|
| + licenses and which fonts use which license.
|
| +1. Update the `//blimp/fonts:fonts` target to include all the current fonts and
|
| + their license files.
|
| +1. Update the engine dependencies using
|
| + `//blimp/tools/generate-engine-manifest.py`. This step is documented in
|
| + `//blimp/docs/container.md`.
|
| +1. Run the `upload_to_google_storage.py` (from depot_tools) script to upload
|
| + the files. To do this, execute:
|
| +
|
| + ```bash
|
| + find ./blimp/fonts -regex '^.*.\(ttf\|otf\)$' -type f -print0 | \
|
| + upload_to_google_storage.py --use_null_terminator -b chromium-fonts -
|
| + ```
|
| +
|
| + If the set of fonts includes more than `.ttf` or `.otf` files, you must
|
| + update the regular expression to include such fonts.
|
| +1. Verify that `//blimp/fonts/.gitignore` lists the correct files to ignore.
|
| +1. Add all the `.sha1` files to the chromium src repository, by executing the
|
| + following command:
|
| +
|
| + ```bash
|
| + git add ./blimp/fonts/*.sha1
|
| + ```
|
| +
|
| +1. Commit and upload the change for review:
|
| +
|
| + ```bash
|
| + git commit
|
| + git cl upload
|
| + ```
|
|
|