diff options
author | Norbert Preining <norbert@preining.info> | 2020-06-03 03:02:11 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-06-03 03:02:11 +0000 |
commit | 44fde4a143b75ae4f383b05832343d497c254989 (patch) | |
tree | 6abd083733890a7c60fedca06514c0b4ad057302 /fonts/amiri/README | |
parent | 51cae99db4d58606cdce9181fd1f4c94e1a019de (diff) |
CTAN sync 202006030302
Diffstat (limited to 'fonts/amiri/README')
-rw-r--r-- | fonts/amiri/README | 48 |
1 files changed, 6 insertions, 42 deletions
diff --git a/fonts/amiri/README b/fonts/amiri/README index ed2c3595b2..231bf02aa0 100644 --- a/fonts/amiri/README +++ b/fonts/amiri/README @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/alif-type/amiri.svg?branch=master)](https://travis-ci.org/alif-type/amiri) +[![Build Status](https://travis-ci.com/alif-type/amiri.svg?branch=master)](https://travis-ci.com/alif-type/amiri) Amiri Font ========== @@ -21,10 +21,10 @@ typesetting, and adapting it to the era of digital typesetting, in a publicly available form. Amiri is a free and open source project that everyone is encouraged to use and -modify. Amiri is avialable under the terms of [Open Font License][2], see the +modify. Amiri is available under the terms of [Open Font License][2], see the included license file for more details. -Latest version of the Amiri font can be optained from its web site: +Latest version of the Amiri font can be obtained from its web site: > http://amirifont.org @@ -41,51 +41,15 @@ GUI or from the command line: $ fontforge sources/Amiri-Regular.sfdir -To build the fonts you need FontForge Python module, gpp and FontTools: +To build the fonts you need a few Python packages: - $ sudo apt-get install python-fontforge gpp - $ python -m venv amiri --system-site-packages + $ python -m venv amiri $ . amiri/bin/activate - $ pip install fonttools brotli + $ pip install -r requirements.txt To build the font files run: $ make ttf -To build the font files along with the web files; run: - - $ make web - -Ubuntu 16.04 Contributors -------------------------- - -You might face an error with importing fontforge - - File "tools/build.py", line 18, in <module> - import fontforge - ImportError: No module named fontforge - -This is because fontforge does not work properly with Python 3 on Ubuntu 16.04. -To build the fonts with Python version 2.7 ; install FontForge Python -module by following the instructions from the [official documentation][3]. But -make sure to enable python extension and scripting for Python 2. Use the following -commands instead of the original in the last step of the installation: - - $ cd fontforge - $ ./bootstrap - $ ./configure --enable-python-extension --enable-python-scripting=2 - $ make - $ sudo make install - $ sudo ldconfig - -After that, return back to the directory of the amiri repository and continue -with python-fontforge, gpp, and the virtual environment - - $ sudo apt-get install python-fontforge gpp - $ virtualenv amiri --system-site-packages - $ . amiri/bin/activate - $ pip install fonttools brotli - [1]: http://www.bibalex.org/bulaqpress/en/bulaq.htm "The Bulaq Press" [2]: http://scripts.sil.org/OFL "The Open Font License" -[3]: https://github.com/fontforge/fontforge/blob/master/INSTALL-git.md "FontForge official documentation"
\ No newline at end of file |