Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelsousa committed Mar 1, 2019
2 parents fbda466 + b4e31e3 commit a8bc391
Show file tree
Hide file tree
Showing 434 changed files with 15,171 additions and 987 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ image: Visual Studio 2017
environment:
global:
CIBW_SKIP: cp33-* cp34-* cp35-* cp37-* cp27-win_amd64 cp36-win32
CIBW_TEST_REQUIRES: pytest-cov==2.5.1 codecov subprocess32
CIBW_TEST_COMMAND: cd {project} && pytest --cov -v && coverage combine && codecov && pip uninstall --yes afdko
CIBW_TEST_REQUIRES: pytest-cov codecov subprocess32
CIBW_TEST_COMMAND: cd {project} && pytest --cov -v && codecov && pip uninstall --yes afdko
TWINE_USERNAME: adobe-type-tools-ci
# Note: TWINE_PASSWORD is set in AppVeyor settings

Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ language: python
env:
global:
- CIBW_SKIP="cp34-* cp35-* cp37-* *i686"
- CIBW_TEST_REQUIRES_MACOS="pytest-cov==2.5.1 codecov subprocess32"
- CIBW_TEST_REQUIRES_MACOS="pytest-cov codecov subprocess32"
- CIBW_TEST_REQUIRES_LINUX="pytest subprocess32"
- CIBW_TEST_COMMAND_MACOS="cd {project} && pytest --cov -v && coverage combine && codecov && pip uninstall --yes afdko"
- CIBW_TEST_COMMAND_MACOS="cd {project} && pytest --cov -v && codecov && pip uninstall --yes afdko"
- CIBW_TEST_COMMAND_LINUX="cd {project} && pytest -v && pip uninstall --yes afdko"
- TWINE_USERNAME="adobe-type-tools-ci"
# Note: TWINE_PASSWORD is set in Travis settings
Expand Down Expand Up @@ -74,7 +74,7 @@ after_success:
if [[ $TRAVIS_TAG ]]; then
python -m pip install twine
python -m twine upload wheelhouse/*.whl
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
if [[ $TRAVIS_OS_NAME == "linux" ]]; then
python setup.py sdist
python -m twine upload dist/*.tar.gz
fi
Expand Down
27 changes: 27 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
Changelog
=========

2.8.6 (released 2019-03-01)
---------------------------

- Updated FEA syntax spec to allow `subtable` statements in lookups
other than PairPos Format 2.
- [makeotf] Added `features.fea` to list of default FEA file names,
and gave preference to it
- [tx] Don't fake font name or version if they're not in the source UFO
([#437](https://github.com/adobe-type-tools/afdko/issues/437))
- [makeinstancesufo] Added `--ufo-version` option
- [otfpdf/ttfpdf] Round glyph bounds values
([#128](https://github.com/adobe-type-tools/afdko/issues/128))
- [otfpdf] Provide a glyphset to the pens
([#125](https://github.com/adobe-type-tools/afdko/issues/125))
- [tx] Get UFO's layer file names from the layer's contents.plist
([#740](https://github.com/adobe-type-tools/afdko/issues/740),
[#703](https://github.com/adobe-type-tools/afdko/issues/703))
- [ufotools] Replace `convertGlyphOutlineToBezString()` by
`get_glyph_bez()` from **psautohint**
([#715](https://github.com/adobe-type-tools/afdko/issues/715))
- [makeotf] Update and re-format documentation
([#702](https://github.com/adobe-type-tools/afdko/issues/702))
- [makeotf] Use FontTools to copy font tables
([#739](https://github.com/adobe-type-tools/afdko/pull/739))
- [makeotf] Delete zero-size font on failure
([#736](https://github.com/adobe-type-tools/afdko/issues/736))

2.8.5 (released 2019-02-09)
---------------------------

Expand Down
54 changes: 31 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,15 @@ Please see the
for additional information, such as links to reference materials and related
projects.

Major changes
-------------

The AFDKO has been restructured so that it can be installed as a Python
package. It now depends on the user\'s Python interpreter, and no longer
contains its own Python interpreter. In order to do this, two
Adobe-owned, non-open source programs were dropped: **IS** and
**checkoutlines**. If these turn out to be sorely missed, an installer
for them will be added to the old Adobe AFDKO website. The current
intent is to migrate the many tests in checkoutlines to the newer
**checkoutlinesufo** (which does work with OpenType and Type 1 fonts,
but currently does only overlap detection and removal, and a few basic
path checks).

Installation
------------

The AFDKO requires [Python](http://www.python.org/download) 2.7.x. or
3.6.x.
:warning: **WARNING** :warning: After June 30th 2019 the AFDKO will officially
only support Python 3.6 or later. See [#741](https://github.com/adobe-type-tools/afdko/issues/741)
for details.

The AFDKO requires [Python](http://www.python.org/download) 2.7, 3.6
or later.

Releases are available on the [Python Package
Index](https://pypi.python.org/pypi/afdko) (PyPI) and can be installed
Expand All @@ -50,13 +40,16 @@ with [pip](https://pip.pypa.io).

**Option 1 (Recommended)**

- Install [virtualenv](https://virtualenv.pypa.io):
- Create a virtual environment:

pip install --user virtualenv
- Python 3.6+

- Create a virtual environment:
python3 -m venv afdko_env

python -m virtualenv afdko_env
- Python 2.7

pip install --user virtualenv
python -m virtualenv afdko_env

- Activate the virtual environment:

Expand All @@ -72,7 +65,7 @@ with [pip](https://pip.pypa.io).

pip install afdko

Installing the afdko inside a virtual environment prevents conflicts
Installing the **afdko** inside a virtual environment prevents conflicts
between its dependencies and other modules installed globally.

**Option 2**
Expand Down Expand Up @@ -135,7 +128,7 @@ On Linux, install these with:

On Windows, you need Visual Studio 2017.

To build **afdko** from source, clone the [afdko GitHub
To build the **afdko** from source, clone the [afdko GitHub
repository](https://github.com/adobe-type-tools/afdko), ensure the `wheel`
module is installed (`pip install wheel`), then `cd` to the top-level
directory of the afdko, and run:
Expand All @@ -145,11 +138,26 @@ directory of the afdko, and run:
**Note**

It's not possible to install the afdko in editable/develop mode using
`pip install -e .`; this is because the toolkit includes binary C executables
`pip install -e .` ; this is because the toolkit includes binary C executables
which setup.py tries to install in the bin/ (or Scripts/) folder, however
this process was only meant to be used with text-based scripts (either
written in Python or a shell scripting language). To work around this problem
(which really only impacts the few core afdko developers who need to get live
feedback as they modify the source files) you can use alternative methods like
exporting a PYTHONPATH, using a .pth file or similar hacks.
For further details read [this comment](https://github.com/adobe-type-tools/afdko/pull/677#issuecomment-436747212).

Major changes
-------------

The AFDKO has been restructured so that it can be installed as a Python
package. It now depends on the user\'s Python interpreter, and no longer
contains its own Python interpreter. In order to do this, two
Adobe-owned, non-open source programs were dropped: **IS** and
**checkoutlines**. If these turn out to be sorely missed, an installer
for them will be added to the old Adobe AFDKO website. The current
intent is to migrate the many tests in checkoutlines to the newer
**checkoutlinesufo** (which does work with OpenType and Type 1 fonts,
but currently does only overlap detection and removal, and a few basic
path checks).

Loading

0 comments on commit a8bc391

Please sign in to comment.