forked from tangrams/harfbuzz-icu-freetype
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c38801e
commit 7de8a7f
Showing
1 changed file
with
13 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,21 @@ | ||
# Updating harfbuzz | ||
|
||
## Update subtree | ||
1. Add harfbuzz as remote to your local repo | ||
```bash | ||
git remote add <remote name> https://github.com/behdad/harfbuzz | ||
``` | ||
2. Update harfbuzz to appropriate release tag | ||
```bash | ||
git subtree pull --prefix=harfbuzz --squash <remote name> <release tag> | ||
``` | ||
## Update harfbuzz-generated | ||
1. Build harfbuzz to get generate shape file information | ||
```bash | ||
cd harfbuzz | ||
NOCONFIGURE=1 ./autogen.sh | ||
./configure --with-freetype --with-icu | ||
make | ||
``` | ||
2. compare and copy generated files in `harfbuzz-generated` | ||
- Get the latest release source code from: https://github.com/behdad/harfbuzz | ||
|
||
- Remove the `tests` folder (it contains a large amount of font data that isn't useful for this repo). | ||
|
||
- Update the Harfbuzz section of [CMakeLists.txt](CMakeLists.txt) for any new or moved source files. Also check the Harfbuzz [CMakeLists.txt](harfbuzz/CMakeLists.txt) for new compile definitions and flags. | ||
|
||
# Updating ICU | ||
|
||
We update `ICU` project from the main ICU source page directly: http://source.icu-project.org/repos/icu/ | ||
- Get the latest release source code from: https://github.com/unicode-org/icu | ||
|
||
- Take only the `source/common` and `source/stubdata` folders and copy them into `icu/`. | ||
|
||
- Update the ICU section of [CMakeLists.txt](CMakeLists.txt) for any new or moved source files. | ||
|
||
# Updating Freetype | ||
|
||
We update `Freetype` project from the main Freetype source page directly: https://www.freetype.org/download.html | ||
- Get the latest release source code from: https://www.freetype.org/download.html | ||
|
||
- That's it! |