|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| .ci/ | | 23-Nov-2023 | - | 83 | 53 |
| .circleci/ | | 23-Nov-2023 | - | 360 | 298 |
| docs/ | | 23-Nov-2023 | - | 3,474 | 3,254 |
| m4/ | | 23-Nov-2023 | - | 1,809 | 1,492 |
| src/ | | 23-Nov-2023 | - | 97,702 | 69,553 |
| test/ | | 23-Nov-2023 | - | 46,107 | 42,177 |
| util/ | | 23-Nov-2023 | - | 4,399 | 3,279 |
| .codecov.yml | D | 23-Nov-2023 | 84 | 8 | 6 |
| .editorconfig | D | 23-Nov-2023 | 315 | 22 | 16 |
| .git | D | 01-Jan-1970 | 0 | | |
| .travis.yml | D | 23-Nov-2023 | 3.3 KiB | 91 | 74 |
| AUTHORS | D | 23-Nov-2023 | 156 | 12 | 11 |
| Android.bp | D | 23-Nov-2023 | 4.1 KiB | 139 | 133 |
| BUILD.md | D | 23-Nov-2023 | 1.7 KiB | 51 | 30 |
| CMakeLists.txt | D | 23-Nov-2023 | 29.8 KiB | 899 | 753 |
| COPYING | D | 22-Nov-2023 | 1.7 KiB | 37 | 30 |
| MODULE_LICENSE_MIT | D | 22-Nov-2023 | 0 | | |
| Makefile.am | D | 23-Nov-2023 | 2.1 KiB | 87 | 58 |
| NEWS | D | 23-Nov-2023 | 64.1 KiB | 2,215 | 1,662 |
| NOTICE | D | 22-Nov-2023 | 1.7 KiB | 37 | 30 |
| OWNERS | D | 23-Nov-2023 | 73 | 5 | 4 |
| README | D | 23-Nov-2023 | 1.2 KiB | 19 | 13 |
| README.android | D | 23-Nov-2023 | 717 | 18 | 15 |
| README.md | D | 23-Nov-2023 | 1.2 KiB | 19 | 13 |
| README.python.md | D | 23-Nov-2023 | 1 KiB | 37 | 25 |
| README.version | D | 23-Nov-2023 | 125 | 4 | 3 |
| README.wine.md | D | 23-Nov-2023 | 1.9 KiB | 41 | 27 |
| RELEASING.md | D | 23-Nov-2023 | 4 KiB | 114 | 87 |
| THANKS | D | 22-Nov-2023 | 106 | 8 | 7 |
| TODO | D | 23-Nov-2023 | 436 | 29 | 15 |
| appveyor.yml | D | 23-Nov-2023 | 3.2 KiB | 71 | 53 |
| autogen.sh | D | 23-Nov-2023 | 1.1 KiB | 49 | 33 |
| azure-pipelines.yml | D | 23-Nov-2023 | 709 | 22 | 19 |
| configure.ac | D | 23-Nov-2023 | 17.1 KiB | 550 | 481 |
| git.mk | D | 22-Nov-2023 | 12.3 KiB | 401 | 293 |
| harfbuzz.doap | D | 22-Nov-2023 | 775 | 25 | 21 |
| mingw32.sh | D | 23-Nov-2023 | 548 | 23 | 16 |
| mingw64.sh | D | 23-Nov-2023 | 550 | 23 | 16 |
| replace-enum-strings.cmake | D | 22-Nov-2023 | 352 | 21 | 17 |
README
README.android
README.python.md
1To enable HarfBuzz bindings for Python among other languages, make sure
2you have latest version of gobject-introspection available. On Ubuntu,
3you can install that this way:
4
5```bash
6sudo apt-get install libgirepository1.0-dev
7```
8
9And then run autogen.sh (if building from git), and then:
10
11```bash
12./configure --with-gobject --enable-introspection
13```
14
15Make sure that gobject-introspection is enabled then in the final report.
16
17Compile and install.
18
19Make sure you have the installation lib dir in LD_LIBRARY_PATH, as needed
20for the linker to find the library.
21
22Then make sure you also have GI_TYPELIB_PATH pointing to the resulting
23$prefix/lib/girepository-* directory.
24
25Make sure you have pygobject installed. Then check that the following
26import works in your Python interpreter:
27
28```python
29from gi.repository import HarfBuzz
30```
31
32If it does, you are ready to call HarfBuzz from Python! Congratulations.
33See src/sample.py.
34
35The Python API will change. Let us know on the mailing list if you are
36using it, and send lots of feedback.
37
README.version
README.wine.md
1For the development of HarfBuzz, the Microsoft shaping technology, Uniscribe,
2as a widely used and tested shaper is used as more-or-less OpenType reference
3implementation and that specially is important where OpenType specification
4is or wasn't that clear. For having access to Uniscribe on Linux/macOS these
5steps are recommended:
6
71. Install Wine from your favorite package manager.
8
92. And `mingw-w64` compiler.
10 With `brew` on macOS, you can have it like `brew install mingw-w64`
11
123. Download and put [this](https://drive.google.com/open?id=0B3_fQkxDZZXXbWltRGd5bjVrUDQ)
13 on your `~/.local/i686-w64-mingw32`.
14
154. Replace all the instances of `/home/behdad/.local/i586-mingw32msvc`
16 and `/home/behdad/.local/i686-w64-mingw32` with `<$HOME>/.local/i686-w64-mingw32`
17 on that folder. (`<$HOME>` replace it with `/home/XXX` or `/Users/XXX` on macOS)
18
19 Probably you shouldn't replace the ones are inside binaries.
20
215. `NOCONFIGURE=1 ./autogen.sh && mkdir winbuild && cd winbuild`
22
236. `../mingw32.sh --with-uniscribe && cd ..`
24
257. `make -Cwinbuild`
26
27Now you can use hb-shape using `wine winbuild/util/hb-shape.exe` but if you like to
28to use the original Uniscribe,
29
308. Bring a 32bit version of `usp10.dll` for yourself from `C:\Windows\SysWOW64\usp10.dll` of your
31 Windows installation (assuming you have a 64-bit installation, otherwise `C:\Windows\System32\usp10.dll`)
32 that it is not a DirectWrite proxy ([for more info](https://en.wikipedia.org/wiki/Uniscribe)).
33 Rule of thumb, your `usp10.dll` should have a size more than 500kb, otherwise
34 it is designed to work with DirectWrite which Wine can't work with its original one.
35
36 Put the dll on the folder you are going to run the next command,
37
389. `WINEDLLOVERRIDES="usp10=n" wine winbuild/util/hb-shape.exe fontname.ttf -u 0061,0062,0063 --shaper=uniscribe`
39
40(`0061,0062,0063` means `abc`, use test/shaping/hb-unicode-decode to generate ones you need)
41