aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-12-05 06:34:00 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-12-05 06:34:00 +0000
commitec8b34382baa8e82cf811b53ac56541472d6fa74 (patch)
tree5da5b59f45cfc3365a5d6e254a84285fdc5c7b58
parentb40749d1ba0ba713d47f6888282e6204e13445f7 (diff)
parent61f684e8f842735ca998ba7e80c4bd8c8e4b8673 (diff)
downloadfonttools-ec8b34382baa8e82cf811b53ac56541472d6fa74.tar.gz
Upgrade fonttools to 4.18.0 am: 7de6799fd4 am: f355cda65f am: 61f684e8f8
Original change: https://android-review.googlesource.com/c/platform/external/fonttools/+/1518214 Change-Id: Icf2878d08509880bf6b782ba11c4f9d89f3bde68
-rw-r--r--.appveyor.yml56
-rw-r--r--.gitattributes11
-rw-r--r--.github/workflows/publish.yml31
-rw-r--r--.github/workflows/test.yml86
-rw-r--r--.gitignore60
-rw-r--r--.pyup.yml4
-rw-r--r--.readthedocs.yml29
-rw-r--r--.travis.yml90
-rwxr-xr-x.travis/after_success.sh16
-rwxr-xr-x.travis/before_install.sh6
-rwxr-xr-x.travis/install.sh30
-rwxr-xr-x.travis/run.sh20
-rw-r--r--CODE_OF_CONDUCT.md76
-rw-r--r--CONTRIBUTING.md26
-rw-r--r--Doc/docs-requirements.txt2
-rw-r--r--Lib/fontTools/__init__.py2
-rw-r--r--Lib/fontTools/colorLib/builder.py32
-rw-r--r--Lib/fontTools/feaLib/builder.py9
-rw-r--r--Lib/fontTools/feaLib/lookupDebugInfo.py1
-rw-r--r--Lib/fontTools/otlLib/builder.py216
-rw-r--r--Lib/fontTools/otlLib/builder.py.sketch105
-rw-r--r--Lib/fontTools/pens/momentsPen.py9
-rw-r--r--Lib/fontTools/pens/quartzPen.py46
-rw-r--r--Lib/fontTools/subset/__init__.py23
-rwxr-xr-xLib/fontTools/ttLib/tables/otData.py17
-rw-r--r--Lib/fontTools/ttLib/tables/otTables.py4
-rw-r--r--Lib/fontTools/ttLib/woff2.py5
-rwxr-xr-xLib/fontTools/ufoLib/__init__.py34
-rwxr-xr-xLib/fontTools/ufoLib/glifLib.py6
-rw-r--r--Lib/fontTools/varLib/interpolatable.py518
-rw-r--r--Lib/fonttools.egg-info/PKG-INFO2106
-rw-r--r--Lib/fonttools.egg-info/SOURCES.txt2093
-rw-r--r--Lib/fonttools.egg-info/dependency_links.txt1
-rw-r--r--Lib/fonttools.egg-info/entry_points.txt6
-rw-r--r--Lib/fonttools.egg-info/requires.txt68
-rw-r--r--Lib/fonttools.egg-info/top_level.txt1
-rw-r--r--METADATA8
-rw-r--r--NEWS.rst21
-rw-r--r--PKG-INFO2106
-rw-r--r--README.rst25
-rwxr-xr-xSnippets/fontTools1
-rw-r--r--Snippets/name-viewer.ipynb117
-rw-r--r--Tests/colorLib/builder_test.py40
-rw-r--r--Tests/cu2qu/data/curves.json1
-rw-r--r--Tests/feaLib/builder_test.py3
-rw-r--r--Tests/feaLib/data/ChainPosSubtable.ttx36
-rw-r--r--Tests/feaLib/data/GPOS_8.ttx68
-rw-r--r--Tests/feaLib/data/GSUB_5_formats.fea20
-rw-r--r--Tests/feaLib/data/GSUB_5_formats.ttx197
-rw-r--r--Tests/feaLib/data/GSUB_6.ttx52
-rw-r--r--Tests/feaLib/data/GSUB_6_formats.fea20
-rw-r--r--Tests/feaLib/data/GSUB_6_formats.ttx256
-rw-r--r--Tests/feaLib/data/ZeroValue_ChainSinglePos_horizontal.ttx69
-rw-r--r--Tests/feaLib/data/ZeroValue_ChainSinglePos_vertical.ttx69
-rw-r--r--Tests/feaLib/data/bug512.ttx83
-rw-r--r--Tests/feaLib/data/spec5f_ii_3.ttx212
-rw-r--r--Tests/pens/cocoaPen_test.py59
-rw-r--r--Tests/pens/quartzPen_test.py79
-rw-r--r--Tests/subset/data/expect_layout_scripts.ttx129
-rw-r--r--Tests/subset/data/layout_scripts.ttx997
-rw-r--r--Tests/subset/subset_test.py10
-rw-r--r--Tests/ttLib/tables/C_O_L_R_test.py396
-rw-r--r--Tests/ttLib/woff2_test.py5
-rw-r--r--Tests/ttx/ttx_test.py5
-rw-r--r--Tests/ufoLib/UFO3_test.py20
-rw-r--r--Tests/ufoLib/glifLib_test.py10
-rw-r--r--Tests/ufoLib/testdata/TestFont1 (UFO3).ufozbin0 -> 10577 bytes
-rw-r--r--Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_diff.ttx38
-rw-r--r--Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_same.ttx38
-rw-r--r--Tests/varLib/varLib_test.py53
-rw-r--r--mypy.ini21
-rw-r--r--requirements.txt1
-rw-r--r--setup.cfg7
-rwxr-xr-xsetup.py6
-rw-r--r--tox.ini2
75 files changed, 3787 insertions, 7338 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
deleted file mode 100644
index be60ab52..00000000
--- a/.appveyor.yml
+++ /dev/null
@@ -1,56 +0,0 @@
-environment:
- matrix:
- - JOB: "3.7 64-bit"
- PYTHON_HOME: "C:\\Python37-x64"
- - JOB: "3.8 64-bit"
- PYTHON_HOME: "C:\\Python38-x64"
-
-branches:
- only:
- - master
- # We want to build wip/* branches since these are not usually used for PRs
- - /^wip\/.*$/
- # We want to build version tags as well.
- - /^\d+\.\d+.*$/
-
-install:
- # If there is a newer build queued for the same PR, cancel this one.
- # The AppVeyor 'rollout builds' option is supposed to serve the same
- # purpose but it is problematic because it tends to cancel builds pushed
- # directly to master instead of just PR builds (or the converse).
- # credits: JuliaLang developers.
- - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
- https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
- Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
- throw "There are newer queued builds for this pull request, failing early." }
-
- # Prepend Python to the PATH of this build
- - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
-
- # check that we have the expected version and architecture for Python
- - "python --version"
- - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
-
- # upgrade pip and setuptools to avoid out-of-date warnings
- - "python -m pip install --disable-pip-version-check --user --upgrade pip setuptools virtualenv"
-
- # install the dependencies to run the tests
- - "python -m pip install tox"
-
-build: false
-
-test_script:
- # run tests with the current 'python' in %PATH%, and measure test coverage
- - "tox -e py-cov"
-
-after_test:
- # upload test coverage to Codecov.io
- - "tox -e codecov"
-
-notifications:
- - provider: Email
- to:
- - fonttools-dev@googlegroups.com
- on_build_success: false
- on_build_failure: true
- on_build_status_changed: true
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..b3b2b25e
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,11 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.py text
+
+# Font files are binary (so that autocrlf doesn't muck with them)
+*.lwfn binary
+*.pfa binary
+*.pfb binary
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
new file mode 100644
index 00000000..d43c8408
--- /dev/null
+++ b/.github/workflows/publish.yml
@@ -0,0 +1,31 @@
+# This workflows will upload a Python Package using Twine when a tag is created
+# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
+
+name: Upload Python Package
+
+on:
+ push:
+ # Sequence of patterns matched against refs/tags
+ tags:
+ - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
+
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.x'
+ - name: Install dependencies
+ run: |
+ pip install setuptools wheel twine
+ - name: Build and publish
+ env:
+ TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
+ run: |
+ python setup.py sdist bdist_wheel
+ twine upload dist/*
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 00000000..7c302587
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,86 @@
+name: Test
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ branches: [master]
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python 3.x
+ uses: actions/setup-python@v2
+ with:
+ python-version: "3.x"
+ - name: Install packages
+ run: pip install tox
+ - name: Run Tox
+ run: tox -e mypy,package_readme
+
+ test:
+ runs-on: ${{ matrix.platform }}
+ strategy:
+ matrix:
+ python-version: [3.6, 3.7, 3.8, 3.9]
+ platform: [ubuntu-latest, macos-latest, windows-latest]
+ exclude: # Only test on the oldest and latest supported stable Python on macOS and Windows.
+ - platform: macos-latest
+ python-version: 3.7
+ - platform: macos-latest
+ python-version: 3.8
+ - platform: windows-latest
+ python-version: 3.7
+ - platform: windows-latest
+ python-version: 3.8
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install packages
+ run: pip install tox coverage
+ - name: Run Tox
+ run: tox -e py-cov
+ - name: Run Tox without lxml
+ run: tox -e py-cov-nolxml
+ - name: Produce coverage files
+ run: |
+ coverage combine
+ coverage xml
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v1
+ with:
+ file: coverage.xml
+ flags: unittests
+ name: codecov-umbrella
+ fail_ci_if_error: true
+
+ test-cython:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python 3.x
+ uses: actions/setup-python@v2
+ with:
+ python-version: "3.x"
+ - name: Install packages
+ run: pip install tox
+ - name: Run Tox
+ run: tox -e py-cy-nolxml
+
+ test-pypy3:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python pypy3
+ uses: actions/setup-python@v2
+ with:
+ python-version: "pypy3"
+ - name: Install packages
+ run: pip install tox
+ - name: Run Tox
+ run: tox -e pypy3-nolxml
diff --git a/.gitignore b/.gitignore
index 4fca027d..eba633ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,59 @@
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+# Distribution / packaging
+.Python
+build/
+dist/
+.eggs/
+*.egg-info/
+*.egg
MANIFEST
-build
-dist
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.coverage
+.coverage.*
+.cache
+coverage.xml
+*.cover
+.pytest_cache/
+
+# Environments
+.env
+.venv
+env/
+venv/
+ENV/
+env.bak/
+venv.bak/
+
+# mypy
+.mypy_cache/
+.dmypy.json
+dmypy.json
+
+# emacs backup files
+*~
+
+# OSX Finder
+.DS_Store
+
+# VSCode
+.vscode
+
+# Cython sources (e.g. cu2qu)
+Lib/**/*.c
+
+# Ctags
+tags
diff --git a/.pyup.yml b/.pyup.yml
new file mode 100644
index 00000000..6ea20650
--- /dev/null
+++ b/.pyup.yml
@@ -0,0 +1,4 @@
+# autogenerated pyup.io config file
+# see https://pyup.io/docs/configuration/ for all available options
+
+schedule: every week
diff --git a/.readthedocs.yml b/.readthedocs.yml
new file mode 100644
index 00000000..928d6587
--- /dev/null
+++ b/.readthedocs.yml
@@ -0,0 +1,29 @@
+# .readthedocs.yml
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# Required
+version: 2
+
+build:
+ image: latest
+
+# Build documentation in the docs/ directory with Sphinx
+sphinx:
+ configuration: Doc/source/conf.py
+ fail_on_warning: false
+
+# Optionally build your docs in additional formats such as PDF and ePub
+formats:
+ - htmlzip
+ - epub
+
+# Optionally set the version of Python and requirements required to build your docs
+python:
+ version: 3.8
+ install:
+ - requirements: Doc/docs-requirements.txt
+ - method: pip
+ path: .
+ extra_requirements:
+ - all
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 389d3372..00000000
--- a/.travis.yml
+++ /dev/null
@@ -1,90 +0,0 @@
-dist: xenial
-language: python
-python: 3.6
-
-env:
- global:
- - TWINE_USERNAME="anthrotype"
- - secure: PJuCmlDuwnojiw3QuDhfNAaU4f/yeJcEcRzJAudA66bwZK7hvxV7Tiy9A17Bm6yO0HbJmmyjsIr8h2e7/PyY6QCaV8RqcMDkQ0UraU16pRsihp0giVXJoWscj2sCP4cNDOBVwSaGAX8yZ2OONc5srESywghzcy8xmgw6O+XFqx4=
-
-branches:
- only:
- - master
- # We want to build wip/* branches since these are not usually used for PRs
- - /^wip\/.*$/
- # We want to build version tags as well.
- - /^\d+\.\d+.*$/
-
-matrix:
- fast_finish: true
- include:
- - python: 3.6
- env:
- - TOXENV=mypy
- - python: 3.6
- env:
- - TOXENV=py36-cov,package_readme
- - BUILD_DIST=true
- - python: 3.7
- env: TOXENV=py37-cov
- - python: 3.8
- env: TOXENV=py38-cov
- - python: 3.8
- env: TOXENV=py38-cy
- - python: pypy3
- # disable coverage.py on pypy because of performance problems
- env: TOXENV=pypy3
- dist: xenial
- - language: generic
- os: osx
- env:
- - TOXENV=py3-cov
- - HOMEBREW_NO_AUTO_UPDATE=1
- allow_failures:
- # We use fast_finish + allow_failures because OSX builds take forever
- # https://blog.travis-ci.com/2013-11-27-fast-finishing-builds
- - language: generic
- os: osx
- env:
- - TOXENV=py3-cov
- - HOMEBREW_NO_AUTO_UPDATE=1
-
-cache:
- - pip
- - directories:
- - $HOME/.pyenv_cache
-
-addons:
- apt:
- packages:
- - language-pack-de
-
-before_install:
- - source ./.travis/before_install.sh
-
-install:
- - ./.travis/install.sh
-
-script:
- - ./.travis/run.sh
-
-after_success:
- - ./.travis/after_success.sh
-
-notifications:
- irc: "irc.freenode.org##fonts"
- email: fonttools-dev@googlegroups.com
-
-deploy:
- # deploy to Github Releases on tags
- - provider: releases
- api_key:
- secure: KEcWhJxMcnKay7wmWJCpg2W5GWHTQ+LaRbqGM11IKGcQuEOFxWuG7W1xjGpVdKPj/MQ+cG0b9hGUFpls1hwseOA1HANMv4xjCgYkuvT1OdpX/KOcZ7gfe/qaovzVxHyP9xwohnHSJMb790t37fmDfFUSROx3iEexIX09LLoDjO8=
- skip_cleanup: true
- file_glob: true
- file: "dist/*"
- on:
- tags: true
- repo: fonttools/fonttools
- all_branches: true
- condition: "$BUILD_DIST == true"
diff --git a/.travis/after_success.sh b/.travis/after_success.sh
deleted file mode 100755
index 07bcab5e..00000000
--- a/.travis/after_success.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-set -e
-set -x
-
-if [ "$TRAVIS_OS_NAME" == "osx" ]; then
- source .venv/bin/activate
-fi
-
-# upload coverage data to Codecov.io
-[[ ${TOXENV} == *"-cov"* ]] && tox -e codecov
-
-# if tagged commit, create distribution packages and deploy to PyPI
-if [ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_REPO_SLUG" == "fonttools/fonttools" ] && [ "$BUILD_DIST" == true ]; then
- tox -e pypi
-fi
diff --git a/.travis/before_install.sh b/.travis/before_install.sh
deleted file mode 100755
index 8cc4edba..00000000
--- a/.travis/before_install.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-
-if [[ -n "$PYENV_VERSION" ]]; then
- wget https://github.com/praekeltfoundation/travis-pyenv/releases/download/${TRAVIS_PYENV_VERSION}/setup-pyenv.sh
- source setup-pyenv.sh
-fi
diff --git a/.travis/install.sh b/.travis/install.sh
deleted file mode 100755
index a62b2365..00000000
--- a/.travis/install.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-set -e
-set -x
-
-ci_requirements="pip setuptools tox"
-
-if [ "$TRAVIS_OS_NAME" == "osx" ]; then
- if [[ ${TOXENV} == *"py27"* ]]; then
- # install pip on the system python
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py --user
- python -m pip install --user virtualenv
- python -m virtualenv .venv/
- elif [[ ${TOXENV} == *"py3"* ]]; then
- # install current python3 with homebrew
- # NOTE: the formula is now named just "python"
- brew install python
- command -v python3
- python3 --version
- python3 -m pip install virtualenv
- python3 -m virtualenv .venv/
- else
- echo "unsupported $TOXENV: "${TOXENV}
- exit 1
- fi
- source .venv/bin/activate
-fi
-
-python -m pip install --upgrade $ci_requirements
diff --git a/.travis/run.sh b/.travis/run.sh
deleted file mode 100755
index e947d850..00000000
--- a/.travis/run.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-set -e
-set -x
-
-if [ "$TRAVIS_OS_NAME" == "osx" ]; then
- source .venv/bin/activate
-fi
-
-tox --skip-missing-interpreters false
-
-# re-run all the XML-related tests, this time without lxml but using the
-# built-in ElementTree library.
-if [ -z "$TOXENV" ]; then
- TOXENV="py-nolxml"
-else
- # strip additional tox envs after the comma, add -nolxml factor
- TOXENV="${TOXENV%,*}-nolxml"
-fi
-tox --skip-missing-interpreters false -e $TOXENV -- Tests/ufoLib Tests/misc/etree_test.py Tests/misc/plistlib_test.py
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
new file mode 100644
index 00000000..30f4976b
--- /dev/null
+++ b/CODE_OF_CONDUCT.md
@@ -0,0 +1,76 @@
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+In the interest of fostering an open and welcoming environment, we as
+contributors and maintainers pledge to making participation in our project and
+our community a harassment-free experience for everyone, regardless of age, body
+size, disability, ethnicity, sex characteristics, gender identity and expression,
+level of experience, education, socio-economic status, nationality, personal
+appearance, race, religion, or sexual identity and orientation.
+
+## Our Standards
+
+Examples of behavior that contributes to creating a positive environment
+include:
+
+* Using welcoming and inclusive language
+* Being respectful of differing viewpoints and experiences
+* Gracefully accepting constructive criticism
+* Focusing on what is best for the community
+* Showing empathy towards other community members
+
+Examples of unacceptable behavior by participants include:
+
+* The use of sexualized language or imagery and unwelcome sexual attention or
+ advances
+* Trolling, insulting/derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or electronic
+ address, without explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## Our Responsibilities
+
+Project maintainers are responsible for clarifying the standards of acceptable
+behavior and are expected to take appropriate and fair corrective action in
+response to any instances of unacceptable behavior.
+
+Project maintainers have the right and responsibility to remove, edit, or
+reject comments, commits, code, wiki edits, issues, and other contributions
+that are not aligned to this Code of Conduct, or to ban temporarily or
+permanently any contributor for other behaviors that they deem inappropriate,
+threatening, offensive, or harmful.
+
+## Scope
+
+This Code of Conduct applies both within project spaces and in public spaces
+when an individual is representing the project or its community. Examples of
+representing a project or community include using an official project e-mail
+address, posting via an official social media account, or acting as an appointed
+representative at an online or offline event. Representation of a project may be
+further defined and clarified by project maintainers.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be
+reported by contacting the project team at <cosimo@anthrotype.com>. All
+complaints will be reviewed and investigated and will result in a response that
+is deemed necessary and appropriate to the circumstances. The project team is
+obligated to maintain confidentiality with regard to the reporter of an incident.
+Further details of specific enforcement policies may be posted separately.
+
+Project maintainers who do not follow or enforce the Code of Conduct in good
+faith may face temporary or permanent repercussions as determined by other
+members of the project's leadership.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
+available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
+
+[homepage]: https://www.contributor-covenant.org
+
+For answers to common questions about this code of conduct, see
+https://www.contributor-covenant.org/faq
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 00000000..ea116c41
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,26 @@
+## How to Contribute
+
+FontTools development is on-going in an active community of developers, that includes professional developers employed at major software corporations and at type foundries, as well as hobbyists.
+
+The project is run on Github, in the typical free/libre/open-source software way.
+If you are unfamiliar with that, check out [opensource.guide](https://opensource.guide) and [producingoss.com](http://producingoss.com).
+
+We use Github's Issue Tracker to report, discuss and track bugs, map out future improvements, set priorities, and self-assign issues.
+If you find a bug, have an idea for a new feature, then please [create a new issue](https://github.com/fonttools/fonttools/issues) and we'll be happy to work with you on it!
+
+If you have a question or want to discuss usage from an end-user perspective, there is a mailing list at [groups.google.com/d/forum/fonttools](https://groups.google.com/d/forum/fonttools) mailing list.
+
+If you would like to speak to someone directly, you can also email the project lead, Behdad Esfahbod, privately at <behdad@behdad.org>
+
+If you make a pull request, you (or the organization that owns your copyrights) should be listed in the [README](https://github.com/fonttools/fonttools#copyrights).
+
+(There is also a development [groups.google.com/d/forum/fonttools-dev](https://groups.google.com/d/forum/fonttools-dev) mailing list for Continuous Integration notifications.)
+
+## Code reviews
+
+All submissions, including submissions by project members, go through a review process using GitHub Pull Requests.
+Consult [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more information on making Pull Requests.
+
+## Code of Conduct
+
+This project has a [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)
diff --git a/Doc/docs-requirements.txt b/Doc/docs-requirements.txt
index bf77512f..c62c8d1e 100644
--- a/Doc/docs-requirements.txt
+++ b/Doc/docs-requirements.txt
@@ -1,3 +1,3 @@
-sphinx==3.3.0
+sphinx==3.3.1
sphinx_rtd_theme==0.5.0
reportlab==3.5.55
diff --git a/Lib/fontTools/__init__.py b/Lib/fontTools/__init__.py
index c4ee2653..8a8121dd 100644
--- a/Lib/fontTools/__init__.py
+++ b/Lib/fontTools/__init__.py
@@ -4,6 +4,6 @@ from fontTools.misc.loggingTools import configLogger
log = logging.getLogger(__name__)
-version = __version__ = "4.17.1"
+version = __version__ = "4.18.0"
__all__ = ["version", "log", "configLogger"]
diff --git a/Lib/fontTools/colorLib/builder.py b/Lib/fontTools/colorLib/builder.py
index 5e7d8c6e..d5084f45 100644
--- a/Lib/fontTools/colorLib/builder.py
+++ b/Lib/fontTools/colorLib/builder.py
@@ -542,6 +542,38 @@ class LayerV1ListBuilder:
ot_paint.Paint = self.buildPaint(paint)
return ot_paint
+ def buildPaintRotate(
+ self,
+ paint: _PaintInput,
+ angle: _ScalarInput,
+ centerX: _ScalarInput,
+ centerY: _ScalarInput,
+ ) -> ot.Paint:
+ ot_paint = ot.Paint()
+ ot_paint.Format = int(ot.Paint.Format.PaintRotate)
+ ot_paint.Paint = self.buildPaint(paint)
+ ot_paint.angle = _to_variable_f16dot16_float(angle)
+ ot_paint.centerX = _to_variable_f16dot16_float(centerX)
+ ot_paint.centerY = _to_variable_f16dot16_float(centerY)
+ return ot_paint
+
+ def buildPaintSkew(
+ self,
+ paint: _PaintInput,
+ xSkewAngle: _ScalarInput,
+ ySkewAngle: _ScalarInput,
+ centerX: _ScalarInput,
+ centerY: _ScalarInput,
+ ) -> ot.Paint:
+ ot_paint = ot.Paint()
+ ot_paint.Format = int(ot.Paint.Format.PaintSkew)
+ ot_paint.Paint = self.buildPaint(paint)
+ ot_paint.xSkewAngle = _to_variable_f16dot16_float(xSkewAngle)
+ ot_paint.ySkewAngle = _to_variable_f16dot16_float(ySkewAngle)
+ ot_paint.centerX = _to_variable_f16dot16_float(centerX)
+ ot_paint.centerY = _to_variable_f16dot16_float(centerY)
+ return ot_paint
+
def buildPaintComposite(
self,
mode: _CompositeInput,
diff --git a/Lib/fontTools/feaLib/builder.py b/Lib/fontTools/feaLib/builder.py
index 6baaeeb2..30046bda 100644
--- a/Lib/fontTools/feaLib/builder.py
+++ b/Lib/fontTools/feaLib/builder.py
@@ -2,7 +2,11 @@ from fontTools.misc.py23 import *
from fontTools.misc import sstruct
from fontTools.misc.textTools import binary2num, safeEval
from fontTools.feaLib.error import FeatureLibError
-from fontTools.feaLib.lookupDebugInfo import LookupDebugInfo, LOOKUP_DEBUG_INFO_KEY
+from fontTools.feaLib.lookupDebugInfo import (
+ LookupDebugInfo,
+ LOOKUP_DEBUG_INFO_KEY,
+ LOOKUP_DEBUG_ENV_VAR,
+)
from fontTools.feaLib.parser import Parser
from fontTools.feaLib.ast import FeatureFile
from fontTools.otlLib import builder as otl
@@ -31,6 +35,7 @@ from collections import defaultdict
import itertools
import logging
import warnings
+import os
log = logging.getLogger(__name__)
@@ -210,7 +215,7 @@ class Builder(object):
self.font["BASE"] = base
elif "BASE" in self.font:
del self.font["BASE"]
- if debug:
+ if debug or os.environ.get(LOOKUP_DEBUG_ENV_VAR):
self.buildDebg()
def get_chained_lookup_(self, location, builder_class):
diff --git a/Lib/fontTools/feaLib/lookupDebugInfo.py b/Lib/fontTools/feaLib/lookupDebugInfo.py
index 3b711f64..876cadff 100644
--- a/Lib/fontTools/feaLib/lookupDebugInfo.py
+++ b/Lib/fontTools/feaLib/lookupDebugInfo.py
@@ -1,6 +1,7 @@
from typing import NamedTuple
LOOKUP_DEBUG_INFO_KEY = "com.github.fonttools.feaLib"
+LOOKUP_DEBUG_ENV_VAR = "FONTTOOLS_LOOKUP_DEBUGGING"
class LookupDebugInfo(NamedTuple):
"""Information about where a lookup came from, to be embedded in a font"""
diff --git a/Lib/fontTools/otlLib/builder.py b/Lib/fontTools/otlLib/builder.py
index a9d13ec6..1ba63c35 100644
--- a/Lib/fontTools/otlLib/builder.py
+++ b/Lib/fontTools/otlLib/builder.py
@@ -2,10 +2,16 @@ from collections import namedtuple, OrderedDict
from fontTools.misc.fixedTools import fixedToFloat
from fontTools import ttLib
from fontTools.ttLib.tables import otTables as ot
-from fontTools.ttLib.tables.otBase import ValueRecord, valueRecordFormatDict
+from fontTools.ttLib.tables.otBase import (
+ ValueRecord,
+ valueRecordFormatDict,
+ OTTableWriter,
+ CountReference,
+)
from fontTools.ttLib.tables import otBase
from fontTools.otlLib.error import OpenTypeLibError
import logging
+import copy
log = logging.getLogger(__name__)
@@ -330,6 +336,19 @@ class ChainContextualBuilder(LookupBuilder):
# Squish any empty subtables
return [x for x in ruleset if len(x.rules) > 0]
+ def getCompiledSize_(self, subtables):
+ size = 0
+ for st in subtables:
+ w = OTTableWriter()
+ w["LookupType"] = CountReference(
+ {"LookupType": st.LookupType}, "LookupType"
+ )
+ # We need to make a copy here because compiling
+ # modifies the subtable (finalizing formats etc.)
+ copy.deepcopy(st).compile(w, self.font)
+ size += len(w.getAllData())
+ return size
+
def build(self):
"""Build the lookup.
@@ -342,12 +361,153 @@ class ChainContextualBuilder(LookupBuilder):
rulesets = self.rulesets()
chaining = any(ruleset.hasPrefixOrSuffix for ruleset in rulesets)
for ruleset in rulesets:
+ # Determine format strategy. We try to build formats 1, 2 and 3
+ # subtables and then work out which is best. candidates list holds
+ # the subtables in each format for this ruleset (including a dummy
+ # "format 0" to make the addressing match the format numbers).
+
+ # We can always build a format 3 lookup by accumulating each of
+ # the rules into a list, so start with that.
+ candidates = [None, None, None, []]
for rule in ruleset.rules:
- subtables.append(self.buildFormat3Subtable(rule, chaining))
+ candidates[3].append(self.buildFormat3Subtable(rule, chaining))
+
+ # Can we express the whole ruleset as a format 2 subtable?
+ classdefs = ruleset.format2ClassDefs()
+ if classdefs:
+ candidates[2] = [
+ self.buildFormat2Subtable(ruleset, classdefs, chaining)
+ ]
+
+ if not ruleset.hasAnyGlyphClasses:
+ candidates[1] = [self.buildFormat1Subtable(ruleset, chaining)]
+
+ candidates = [x for x in candidates if x is not None]
+ winner = min(candidates, key=self.getCompiledSize_)
+ subtables.extend(winner)
+
# If we are not chaining, lookup type will be automatically fixed by
# buildLookup_
return self.buildLookup_(subtables)
+ def buildFormat1Subtable(self, ruleset, chaining=True):
+ st = self.newSubtable_(chaining=chaining)
+ st.Format = 1
+ st.populateDefaults()
+ coverage = set()
+ rulesetsByFirstGlyph = {}
+ ruleAttr = self.ruleAttr_(format=1, chaining=chaining)
+
+ for rule in ruleset.rules:
+ ruleAsSubtable = self.newRule_(format=1, chaining=chaining)
+
+ if chaining:
+ ruleAsSubtable.BacktrackGlyphCount = len(rule.prefix)
+ ruleAsSubtable.LookAheadGlyphCount = len(rule.suffix)
+ ruleAsSubtable.Backtrack = [list(x)[0] for x in reversed(rule.prefix)]
+ ruleAsSubtable.LookAhead = [list(x)[0] for x in rule.suffix]
+
+ ruleAsSubtable.InputGlyphCount = len(rule.glyphs)
+ else:
+ ruleAsSubtable.GlyphCount = len(rule.glyphs)
+
+ ruleAsSubtable.Input = [list(x)[0] for x in rule.glyphs[1:]]
+
+ self.buildLookupList(rule, ruleAsSubtable)
+
+ firstGlyph = list(rule.glyphs[0])[0]
+ if firstGlyph not in rulesetsByFirstGlyph:
+ coverage.add(firstGlyph)
+ rulesetsByFirstGlyph[firstGlyph] = []
+ rulesetsByFirstGlyph[firstGlyph].append(ruleAsSubtable)
+
+ st.Coverage = buildCoverage(coverage, self.glyphMap)
+ ruleSets = []
+ for g in st.Coverage.glyphs:
+ ruleSet = self.newRuleSet_(format=1, chaining=chaining)
+ setattr(ruleSet, ruleAttr, rulesetsByFirstGlyph[g])
+ setattr(ruleSet, f"{ruleAttr}Count", len(rulesetsByFirstGlyph[g]))
+ ruleSets.append(ruleSet)
+
+ setattr(st, self.ruleSetAttr_(format=1, chaining=chaining), ruleSets)
+ setattr(
+ st, self.ruleSetAttr_(format=1, chaining=chaining) + "Count", len(ruleSets)
+ )
+
+ return st
+
+ def buildFormat2Subtable(self, ruleset, classdefs, chaining=True):
+ st = self.newSubtable_(chaining=chaining)
+ st.Format = 2
+ st.populateDefaults()
+
+ if chaining:
+ (
+ st.BacktrackClassDef,
+ st.InputClassDef,
+ st.LookAheadClassDef,
+ ) = [c.build() for c in classdefs]
+ else:
+ st.ClassDef = classdefs[1].build()
+
+ inClasses = classdefs[1].classes()
+
+ classSets = []
+ for _ in inClasses:
+ classSet = self.newRuleSet_(format=2, chaining=chaining)
+ classSets.append(classSet)
+
+ coverage = set()
+ classRuleAttr = self.ruleAttr_(format=2, chaining=chaining)
+
+ for rule in ruleset.rules:
+ ruleAsSubtable = self.newRule_(format=2, chaining=chaining)
+ if chaining:
+ ruleAsSubtable.BacktrackGlyphCount = len(rule.prefix)
+ ruleAsSubtable.LookAheadGlyphCount = len(rule.suffix)
+ # The glyphs in the rule may be list, tuple, odict_keys...
+ # Order is not important anyway because they are guaranteed
+ # to be members of the same class.
+ ruleAsSubtable.Backtrack = [
+ st.BacktrackClassDef.classDefs[list(x)[0]]
+ for x in reversed(rule.prefix)
+ ]
+ ruleAsSubtable.LookAhead = [
+ st.LookAheadClassDef.classDefs[list(x)[0]] for x in rule.suffix
+ ]
+
+ ruleAsSubtable.InputGlyphCount = len(rule.glyphs)
+ ruleAsSubtable.Input = [
+ st.InputClassDef.classDefs[list(x)[0]] for x in rule.glyphs[1:]
+ ]
+ setForThisRule = classSets[
+ st.InputClassDef.classDefs[list(rule.glyphs[0])[0]]
+ ]
+ else:
+ ruleAsSubtable.GlyphCount = len(rule.glyphs)
+ ruleAsSubtable.Class = [ # The spec calls this InputSequence
+ st.ClassDef.classDefs[list(x)[0]] for x in rule.glyphs[1:]
+ ]
+ setForThisRule = classSets[
+ st.ClassDef.classDefs[list(rule.glyphs[0])[0]]
+ ]
+
+ self.buildLookupList(rule, ruleAsSubtable)
+ coverage |= set(rule.glyphs[0])
+
+ getattr(setForThisRule, classRuleAttr).append(ruleAsSubtable)
+ setattr(
+ setForThisRule,
+ f"{classRuleAttr}Count",
+ getattr(setForThisRule, f"{classRuleAttr}Count") + 1,
+ )
+ setattr(st, self.ruleSetAttr_(format=2, chaining=chaining), classSets)
+ setattr(
+ st, self.ruleSetAttr_(format=2, chaining=chaining) + "Count", len(classSets)
+ )
+ st.Coverage = buildCoverage(coverage, self.glyphMap)
+ return st
+
def buildFormat3Subtable(self, rule, chaining=True):
st = self.newSubtable_(chaining=chaining)
st.Format = 3
@@ -357,7 +517,10 @@ class ChainContextualBuilder(LookupBuilder):
self.setInputCoverage_(rule.glyphs, st)
else:
self.setCoverage_(rule.glyphs, st)
+ self.buildLookupList(rule, st)
+ return st
+ def buildLookupList(self, rule, st):
for sequenceIndex, lookupList in enumerate(rule.lookups):
if lookupList is not None:
if not isinstance(lookupList, list):
@@ -377,7 +540,6 @@ class ChainContextualBuilder(LookupBuilder):
rec = self.newLookupRecord_(st)
rec.SequenceIndex = sequenceIndex
rec.LookupListIndex = l.lookup_index
- return st
def add_subtable_break(self, location):
self.rules.append(
@@ -398,6 +560,54 @@ class ChainContextualBuilder(LookupBuilder):
setattr(st, f"{self.subtable_type}LookupRecord", [])
return st
+ # Format 1 and format 2 GSUB5/GSUB6/GPOS7/GPOS8 rulesets and rules form a family:
+ #
+ # format 1 ruleset format 1 rule format 2 ruleset format 2 rule
+ # GSUB5 SubRuleSet SubRule SubClassSet SubClassRule
+ # GSUB6 ChainSubRuleSet ChainSubRule ChainSubClassSet ChainSubClassRule
+ # GPOS7 PosRuleSet PosRule PosClassSet PosClassRule
+ # GPOS8 ChainPosRuleSet ChainPosRule ChainPosClassSet ChainPosClassRule
+ #
+ # The following functions generate the attribute names and subtables according
+ # to this naming convention.
+ def ruleSetAttr_(self, format=1, chaining=True):
+ if format == 1:
+ formatType = "Rule"
+ elif format == 2:
+ formatType = "Class"
+ else:
+ raise AssertionError(formatType)
+ subtablename = f"{self.subtable_type[0:3]}{formatType}Set" # Sub, not Subst.
+ if chaining:
+ subtablename = "Chain" + subtablename
+ return subtablename
+
+ def ruleAttr_(self, format=1, chaining=True):
+ if format == 1:
+ formatType = ""
+ elif format == 2:
+ formatType = "Class"
+ else:
+ raise AssertionError(formatType)
+ subtablename = f"{self.subtable_type[0:3]}{formatType}Rule" # Sub, not Subst.
+ if chaining:
+ subtablename = "Chain" + subtablename
+ return subtablename
+
+ def newRuleSet_(self, format=1, chaining=True):
+ st = getattr(
+ ot, self.ruleSetAttr_(format, chaining)
+ )() # ot.ChainPosRuleSet()/ot.SubRuleSet()/etc.
+ st.populateDefaults()
+ return st
+
+ def newRule_(self, format=1, chaining=True):
+ st = getattr(
+ ot, self.ruleAttr_(format, chaining)
+ )() # ot.ChainPosClassRule()/ot.SubClassRule()/etc.
+ st.populateDefaults()
+ return st
+
def attachSubtableWithCount_(
self, st, subtable_name, count_name, existing=None, index=None, chaining=False
):
diff --git a/Lib/fontTools/otlLib/builder.py.sketch b/Lib/fontTools/otlLib/builder.py.sketch
new file mode 100644
index 00000000..9addf8c8
--- /dev/null
+++ b/Lib/fontTools/otlLib/builder.py.sketch
@@ -0,0 +1,105 @@
+
+from fontTools.otlLib import builder as builder
+
+GDEF::mark filtering sets
+name::
+
+lookup_flags = builder.LOOKUP_FLAG_IGNORE_MARKS | builder.LOOKUP_FLAG_RTL
+smcp_subtable = builder.buildSingleSubstitute({'a':'a.scmp'})
+smcp_lookup = builder.buildLookup([smcp_subtable], lookup_flags=lookup_flags, mark_filter_set=int)
+
+lookups = [smcp_lookup, ...]
+
+scmp_feature = builder.buildFeature('smcp', [scmp_lookup], lookup_list=lookups)
+scmp_feature = builder.buildFeature('smcp', [0])
+
+features = [smcp_feature]
+
+default_langsys = builder.buildLangSys(set([scmp_feature]), requiredFeature=None, featureOrder=features)
+default_langsys = builder.buildLangSys(set([0]), requiredFeature=None)
+
+script =
+
+
+#GSUB:
+
+builder.buildSingleSubst({'a':'a.scmp'})
+builder.buildLigatureSubst({('f','i'):'fi'})
+builder.buildMultipleSubst({'a':('a0','a1')})
+builder.buildAlternateSubst({'a':('a.0','a.1')})
+
+
+class ChainSequence : namedtuple(['backtrack', 'input', 'lookahead')])
+ pass
+
+ChainSequence(backtrack=..., input=..., lookahead=...)
+
+klass0 = frozenset()
+
+builder.buildChainContextGlyphs(
+ [
+ ( (None, ('f','f','i'), (,)), ( (1,lookup_fi), (1,lookup_2) ) ),
+ ],
+ glyphMap
+)
+builder.buildChainContextClass(
+ [
+ ( (None, (2,0,1), (,)), ( (1,lookup_fi), (1,lookup_2) ) ),
+ ],
+ klasses = ( backtrackClass, ... ),
+ glyphMap
+)
+builder.buildChainContextCoverage(
+ ( (None, (frozenset('f'),frozenset('f'),frozenset('i')), (,)), ( (1,lookup_fi), (1,lookup_2) ) ),
+ glyphMap
+)
+builder.buildExtension(...)
+
+#GPOS:
+device = builder.buildDevice()
+builder.buildAnchor(100, -200) or (100,-200)
+builder.buildAnchor(100, -200, device=device)
+builder.buildAnchor(100, -200, point=2)
+
+valueRecord = builder.buildValue({'XAdvance':-200, ...})
+
+builder.buildSinglePos({'a':valueRecord})
+builder.buildPairPosGlyphs(
+ {
+ ('a','b'): (valueRecord1,valueRecord2),
+ },
+ glyphMap,
+ , valueFormat1=None, valueFormat2=None
+)
+builder.buildPairPosClasses(
+ {
+ (frozenset(['a']),frozenset(['b'])): (valueRecord1,valueRecord2),
+ },
+ glyphMap,
+ , valueFormat1=None, valueFormat2=None
+)
+
+builder.buildCursivePos(
+ {
+ 'alef': (entry,exit),
+ }
+ glyphMap
+)
+builder.buildMarkBasePos(
+ marks = {
+ 'mark1': (klass, anchor),
+ },
+ bases = {
+ 'base0': [anchor0, anchor1, anchor2],
+ },
+ glyphMap
+)
+builder.buildMarkBasePos(
+ marks = {
+ 'mark1': (name, anchor),
+ },
+ bases = {
+ 'base0': {'top':anchor0, 'left':anchor1},
+ },
+ glyphMap
+)
diff --git a/Lib/fontTools/pens/momentsPen.py b/Lib/fontTools/pens/momentsPen.py
index bc1df94c..694d6b02 100644
--- a/Lib/fontTools/pens/momentsPen.py
+++ b/Lib/fontTools/pens/momentsPen.py
@@ -7,6 +7,10 @@ from fontTools.pens.basePen import BasePen
__all__ = ["MomentsPen"]
+class OpenContourError(NotImplementedError):
+ pass
+
+
class MomentsPen(BasePen):
def __init__(self, glyphset=None):
@@ -30,8 +34,9 @@ class MomentsPen(BasePen):
def _endPath(self):
p0 = self._getCurrentPoint()
if p0 != self.__startPoint:
- # Green theorem is not defined on open contours.
- raise NotImplementedError
+ raise OpenContourError(
+ "Green theorem is not defined on open contours."
+ )
def _lineTo(self, p1):
x0,y0 = self._getCurrentPoint()
diff --git a/Lib/fontTools/pens/quartzPen.py b/Lib/fontTools/pens/quartzPen.py
new file mode 100644
index 00000000..d35a993b
--- /dev/null
+++ b/Lib/fontTools/pens/quartzPen.py
@@ -0,0 +1,46 @@
+from fontTools.misc.py23 import *
+from fontTools.pens.basePen import BasePen
+
+from Quartz.CoreGraphics import CGPathCreateMutable, CGPathMoveToPoint
+from Quartz.CoreGraphics import CGPathAddLineToPoint, CGPathAddCurveToPoint
+from Quartz.CoreGraphics import CGPathAddQuadCurveToPoint, CGPathCloseSubpath
+
+
+__all__ = ["QuartzPen"]
+
+
+class QuartzPen(BasePen):
+
+ """A pen that creates a CGPath
+
+ Parameters
+ - path: an optional CGPath to add to
+ - xform: an optional CGAffineTransform to apply to the path
+ """
+
+ def __init__(self, glyphSet, path=None, xform=None):
+ BasePen.__init__(self, glyphSet)
+ if path is None:
+ path = CGPathCreateMutable()
+ self.path = path
+ self.xform = xform
+
+ def _moveTo(self, pt):
+ x, y = pt
+ CGPathMoveToPoint(self.path, self.xform, x, y)
+
+ def _lineTo(self, pt):
+ x, y = pt
+ CGPathAddLineToPoint(self.path, self.xform, x, y)
+
+ def _curveToOne(self, p1, p2, p3):
+ (x1, y1), (x2, y2), (x3, y3) = p1, p2, p3
+ CGPathAddCurveToPoint(self.path, self.xform, x1, y1, x2, y2, x3, y3)
+
+ def _qCurveToOne(self, p1, p2):
+ (x1, y1), (x2, y2) = p1, p2
+ CGPathAddQuadCurveToPoint(self.path, self.xform, x1, y1, x2, y2)
+
+ def _closePath(self):
+ CGPathCloseSubpath(self.path)
+
diff --git a/Lib/fontTools/subset/__init__.py b/Lib/fontTools/subset/__init__.py
index 4aa97610..d78aa8a8 100644
--- a/Lib/fontTools/subset/__init__.py
+++ b/Lib/fontTools/subset/__init__.py
@@ -175,8 +175,9 @@ Glyph set expansion:
* Keep default set of features plus 'aalt', but drop 'vrt2'.
--layout-scripts[+|-]=<script>[,<script>...]
Specify (=), add to (+=) or exclude from (-=) the comma-separated
- set of OpenType layout script tags that will be preserved. By
- default all scripts are retained ('*').
+ set of OpenType layout script tags that will be preserved. LangSys tags
+ can be appended to script tag, separated by '.', for example:
+ 'arab.dflt,arab.URD,latn.TRK'. By default all scripts are retained ('*').
Hinting options:
--hinting
@@ -1532,13 +1533,29 @@ def subset_feature_tags(self, feature_tags):
@_add_method(ttLib.getTableClass('GSUB'),
ttLib.getTableClass('GPOS'))
-def subset_script_tags(self, script_tags):
+def subset_script_tags(self, tags):
+ langsys = {}
+ script_tags = set()
+ for tag in tags:
+ script_tag, lang_tag = tag.split(".") if "." in tag else (tag, '*')
+ script_tags.add(script_tag.ljust(4))
+ langsys.setdefault(script_tag, set()).add(lang_tag.ljust(4))
+
if self.table.ScriptList:
self.table.ScriptList.ScriptRecord = \
[s for s in self.table.ScriptList.ScriptRecord
if s.ScriptTag in script_tags]
self.table.ScriptList.ScriptCount = len(self.table.ScriptList.ScriptRecord)
+ for record in self.table.ScriptList.ScriptRecord:
+ if record.ScriptTag in langsys and '* ' not in langsys[record.ScriptTag]:
+ record.Script.LangSysRecord = \
+ [l for l in record.Script.LangSysRecord
+ if l.LangSysTag in langsys[record.ScriptTag]]
+ record.Script.LangSysCount = len(record.Script.LangSysRecord)
+ if "dflt" not in langsys[record.ScriptTag]:
+ record.Script.DefaultLangSys = None
+
@_add_method(ttLib.getTableClass('GSUB'),
ttLib.getTableClass('GPOS'))
def prune_features(self):
diff --git a/Lib/fontTools/ttLib/tables/otData.py b/Lib/fontTools/ttLib/tables/otData.py
index f260a542..776cf75b 100755
--- a/Lib/fontTools/ttLib/tables/otData.py
+++ b/Lib/fontTools/ttLib/tables/otData.py
@@ -1665,6 +1665,23 @@ otData = [
('PaintFormat8', [
('uint8', 'PaintFormat', None, None, 'Format identifier-format = 8'),
+ ('Offset24', 'Paint', None, None, 'Offset (from beginning of PaintRotate table) to Paint subtable.'),
+ ('VarFixed', 'angle', None, None, ''),
+ ('VarFixed', 'centerX', None, None, ''),
+ ('VarFixed', 'centerY', None, None, ''),
+ ]),
+
+ ('PaintFormat9', [
+ ('uint8', 'PaintFormat', None, None, 'Format identifier-format = 9'),
+ ('Offset24', 'Paint', None, None, 'Offset (from beginning of PaintRotate table) to Paint subtable.'),
+ ('VarFixed', 'xSkewAngle', None, None, ''),
+ ('VarFixed', 'ySkewAngle', None, None, ''),
+ ('VarFixed', 'centerX', None, None, ''),
+ ('VarFixed', 'centerY', None, None, ''),
+ ]),
+
+ ('PaintFormat10', [
+ ('uint8', 'PaintFormat', None, None, 'Format identifier-format = 8'),
('LOffset24To(Paint)', 'SourcePaint', None, None, 'Offset (from beginning of PaintComposite table) to source Paint subtable.'),
('CompositeMode', 'CompositeMode', None, None, 'A CompositeMode enumeration value.'),
('LOffset24To(Paint)', 'BackdropPaint', None, None, 'Offset (from beginning of PaintComposite table) to backdrop Paint subtable.'),
diff --git a/Lib/fontTools/ttLib/tables/otTables.py b/Lib/fontTools/ttLib/tables/otTables.py
index 7a04d5aa..c4208a55 100644
--- a/Lib/fontTools/ttLib/tables/otTables.py
+++ b/Lib/fontTools/ttLib/tables/otTables.py
@@ -1334,7 +1334,9 @@ class Paint(getFormatSwitchingBaseTableClass("uint8")):
PaintGlyph = 5
PaintColrGlyph = 6
PaintTransform = 7
- PaintComposite = 8
+ PaintRotate = 8
+ PaintSkew = 9
+ PaintComposite = 10
def getFormatName(self):
try:
diff --git a/Lib/fontTools/ttLib/woff2.py b/Lib/fontTools/ttLib/woff2.py
index 67b1d1c1..75b55527 100644
--- a/Lib/fontTools/ttLib/woff2.py
+++ b/Lib/fontTools/ttLib/woff2.py
@@ -19,7 +19,10 @@ log = logging.getLogger("fontTools.ttLib.woff2")
haveBrotli = False
try:
- import brotli
+ try:
+ import brotlicffi as brotli
+ except ImportError:
+ import brotli
haveBrotli = True
except ImportError:
pass
diff --git a/Lib/fontTools/ufoLib/__init__.py b/Lib/fontTools/ufoLib/__init__.py
index 4b92102d..e846d085 100755
--- a/Lib/fontTools/ufoLib/__init__.py
+++ b/Lib/fontTools/ufoLib/__init__.py
@@ -723,6 +723,7 @@ class UFOReader(_UFOBaseIO):
ufoFormatVersion=self._formatVersion,
validateRead=validateRead,
validateWrite=validateWrite,
+ expectContentsFile=True
)
def getCharacterMapping(self, layerName=None, validate=None):
@@ -1422,7 +1423,15 @@ class UFOWriter(UFOReader):
raise UFOLibError("Could not locate a glyph set directory for the layer named %s." % layerName)
return foundDirectory
- def getGlyphSet(self, layerName=None, defaultLayer=True, glyphNameToFileNameFunc=None, validateRead=None, validateWrite=None):
+ def getGlyphSet(
+ self,
+ layerName=None,
+ defaultLayer=True,
+ glyphNameToFileNameFunc=None,
+ validateRead=None,
+ validateWrite=None,
+ expectContentsFile=False,
+ ):
"""
Return the GlyphSet object associated with the
appropriate glyph directory in the .ufo.
@@ -1435,6 +1444,10 @@ class UFOWriter(UFOReader):
class's validate value, can be overridden.
``validateWrte`` will validate the written data, by default it is set to the
class's validate value, can be overridden.
+ ``expectContentsFile`` will raise a GlifLibError if a contents.plist file is
+ not found on the glyph set file system. This should be set to ``True`` if you
+ are reading an existing UFO and ``False`` if you use ``getGlyphSet`` to create
+ a fresh glyph set.
"""
if validateRead is None:
validateRead = self._validate
@@ -1459,7 +1472,12 @@ class UFOWriter(UFOReader):
raise UFOLibError("A layer name must be provided for non-default layers.")
# move along to format specific writing
if self._formatVersion < UFOFormatVersion.FORMAT_3_0:
- return self._getDefaultGlyphSet(validateRead, validateWrite, glyphNameToFileNameFunc=glyphNameToFileNameFunc)
+ return self._getDefaultGlyphSet(
+ validateRead,
+ validateWrite,
+ glyphNameToFileNameFunc=glyphNameToFileNameFunc,
+ expectContentsFile=expectContentsFile
+ )
elif self._formatVersion.major == UFOFormatVersion.FORMAT_3_0.major:
return self._getGlyphSetFormatVersion3(
validateRead,
@@ -1467,11 +1485,18 @@ class UFOWriter(UFOReader):
layerName=layerName,
defaultLayer=defaultLayer,
glyphNameToFileNameFunc=glyphNameToFileNameFunc,
+ expectContentsFile=expectContentsFile,
)
else:
raise NotImplementedError(self._formatVersion)
- def _getDefaultGlyphSet(self, validateRead, validateWrite, glyphNameToFileNameFunc=None):
+ def _getDefaultGlyphSet(
+ self,
+ validateRead,
+ validateWrite,
+ glyphNameToFileNameFunc=None,
+ expectContentsFile=False,
+ ):
from fontTools.ufoLib.glifLib import GlyphSet
glyphSubFS = self.fs.makedir(DEFAULT_GLYPHS_DIRNAME, recreate=True)
@@ -1481,6 +1506,7 @@ class UFOWriter(UFOReader):
ufoFormatVersion=self._formatVersion,
validateRead=validateRead,
validateWrite=validateWrite,
+ expectContentsFile=expectContentsFile,
)
def _getGlyphSetFormatVersion3(
@@ -1490,6 +1516,7 @@ class UFOWriter(UFOReader):
layerName=None,
defaultLayer=True,
glyphNameToFileNameFunc=None,
+ expectContentsFile=False,
):
from fontTools.ufoLib.glifLib import GlyphSet
@@ -1529,6 +1556,7 @@ class UFOWriter(UFOReader):
ufoFormatVersion=self._formatVersion,
validateRead=validateRead,
validateWrite=validateWrite,
+ expectContentsFile=expectContentsFile,
)
def renameGlyphSet(self, layerName, newLayerName, defaultLayer=False):
diff --git a/Lib/fontTools/ufoLib/glifLib.py b/Lib/fontTools/ufoLib/glifLib.py
index 385f54bf..3003110e 100755
--- a/Lib/fontTools/ufoLib/glifLib.py
+++ b/Lib/fontTools/ufoLib/glifLib.py
@@ -135,6 +135,7 @@ class GlyphSet(_UFOBaseIO):
ufoFormatVersion=None,
validateRead=True,
validateWrite=True,
+ expectContentsFile=False,
):
"""
'path' should be a path (string) to an existing local directory, or
@@ -148,6 +149,9 @@ class GlyphSet(_UFOBaseIO):
``validateRead`` will validate read operations. Its default is ``True``.
``validateWrite`` will validate write operations. Its default is ``True``.
+ ``expectContentsFile`` will raise a GlifLibError if a contents.plist file is
+ not found on the glyph set file system. This should be set to ``True`` if you
+ are reading an existing UFO and ``False`` if you create a fresh glyph set.
"""
try:
ufoFormatVersion = UFOFormatVersion(ufoFormatVersion)
@@ -191,6 +195,8 @@ class GlyphSet(_UFOBaseIO):
self.fs = filesystem
# if glyphSet contains no 'contents.plist', we consider it empty
self._havePreviousFile = filesystem.exists(CONTENTS_FILENAME)
+ if expectContentsFile and not self._havePreviousFile:
+ raise GlifLibError(f"{CONTENTS_FILENAME} is missing.")
# attribute kept for backward compatibility
self.ufoFormatVersion = ufoFormatVersion.major
self.ufoFormatVersionTuple = ufoFormatVersion
diff --git a/Lib/fontTools/varLib/interpolatable.py b/Lib/fontTools/varLib/interpolatable.py
index 0aa941c9..cff76ece 100644
--- a/Lib/fontTools/varLib/interpolatable.py
+++ b/Lib/fontTools/varLib/interpolatable.py
@@ -9,200 +9,364 @@ $ fonttools varLib.interpolatable font1 font2 ...
from fontTools.pens.basePen import AbstractPen, BasePen
from fontTools.pens.recordingPen import RecordingPen
from fontTools.pens.statisticsPen import StatisticsPen
+from fontTools.pens.momentsPen import OpenContourError
+from collections import OrderedDict
import itertools
+import sys
class PerContourPen(BasePen):
- def __init__(self, Pen, glyphset=None):
- BasePen.__init__(self, glyphset)
- self._glyphset = glyphset
- self._Pen = Pen
- self._pen = None
- self.value = []
- def _moveTo(self, p0):
- self._newItem()
- self._pen.moveTo(p0)
- def _lineTo(self, p1):
- self._pen.lineTo(p1)
- def _qCurveToOne(self, p1, p2):
- self._pen.qCurveTo(p1, p2)
- def _curveToOne(self, p1, p2, p3):
- self._pen.curveTo(p1, p2, p3)
- def _closePath(self):
- self._pen.closePath()
- self._pen = None
- def _endPath(self):
- self._pen.endPath()
- self._pen = None
-
- def _newItem(self):
- self._pen = pen = self._Pen()
- self.value.append(pen)
+ def __init__(self, Pen, glyphset=None):
+ BasePen.__init__(self, glyphset)
+ self._glyphset = glyphset
+ self._Pen = Pen
+ self._pen = None
+ self.value = []
-class PerContourOrComponentPen(PerContourPen):
+ def _moveTo(self, p0):
+ self._newItem()
+ self._pen.moveTo(p0)
+
+ def _lineTo(self, p1):
+ self._pen.lineTo(p1)
+
+ def _qCurveToOne(self, p1, p2):
+ self._pen.qCurveTo(p1, p2)
+
+ def _curveToOne(self, p1, p2, p3):
+ self._pen.curveTo(p1, p2, p3)
+
+ def _closePath(self):
+ self._pen.closePath()
+ self._pen = None
- def addComponent(self, glyphName, transformation):
- self._newItem()
- self.value[-1].addComponent(glyphName, transformation)
+ def _endPath(self):
+ self._pen.endPath()
+ self._pen = None
+
+ def _newItem(self):
+ self._pen = pen = self._Pen()
+ self.value.append(pen)
+
+
+class PerContourOrComponentPen(PerContourPen):
+ def addComponent(self, glyphName, transformation):
+ self._newItem()
+ self.value[-1].addComponent(glyphName, transformation)
def _vdiff(v0, v1):
- return tuple(b-a for a,b in zip(v0,v1))
+ return tuple(b - a for a, b in zip(v0, v1))
+
+
def _vlen(vec):
- v = 0
- for x in vec:
- v += x*x
- return v
+ v = 0
+ for x in vec:
+ v += x * x
+ return v
+
def _matching_cost(G, matching):
- return sum(G[i][j] for i,j in enumerate(matching))
+ return sum(G[i][j] for i, j in enumerate(matching))
+
def min_cost_perfect_bipartite_matching(G):
- n = len(G)
- try:
- from scipy.optimize import linear_sum_assignment
- rows, cols = linear_sum_assignment(G)
- assert (rows == list(range(n))).all()
- return list(cols), _matching_cost(G, cols)
- except ImportError:
- pass
-
- try:
- from munkres import Munkres
- cols = [None] * n
- for row,col in Munkres().compute(G):
- cols[row] = col
- return cols, _matching_cost(G, cols)
- except ImportError:
- pass
-
- if n > 6:
- raise Exception("Install Python module 'munkres' or 'scipy >= 0.17.0'")
-
- # Otherwise just brute-force
- permutations = itertools.permutations(range(n))
- best = list(next(permutations))
- best_cost = _matching_cost(G, best)
- for p in permutations:
- cost = _matching_cost(G, p)
- if cost < best_cost:
- best, best_cost = list(p), cost
- return best, best_cost
+ n = len(G)
+ try:
+ from scipy.optimize import linear_sum_assignment
+
+ rows, cols = linear_sum_assignment(G)
+ assert (rows == list(range(n))).all()
+ return list(cols), _matching_cost(G, cols)
+ except ImportError:
+ pass
+
+ try:
+ from munkres import Munkres
+
+ cols = [None] * n
+ for row, col in Munkres().compute(G):
+ cols[row] = col
+ return cols, _matching_cost(G, cols)
+ except ImportError:
+ pass
+
+ if n > 6:
+ raise Exception("Install Python module 'munkres' or 'scipy >= 0.17.0'")
+
+ # Otherwise just brute-force
+ permutations = itertools.permutations(range(n))
+ best = list(next(permutations))
+ best_cost = _matching_cost(G, best)
+ for p in permutations:
+ cost = _matching_cost(G, p)
+ if cost < best_cost:
+ best, best_cost = list(p), cost
+ return best, best_cost
def test(glyphsets, glyphs=None, names=None):
- if names is None:
- names = glyphsets
- if glyphs is None:
- glyphs = glyphsets[0].keys()
-
- hist = []
- for glyph_name in glyphs:
- #print()
- #print(glyph_name)
-
- try:
- allVectors = []
- allNodeTypes = []
- for glyphset,name in zip(glyphsets, names):
- #print('.', end='')
- glyph = glyphset[glyph_name]
-
- perContourPen = PerContourOrComponentPen(RecordingPen, glyphset=glyphset)
- glyph.draw(perContourPen)
- contourPens = perContourPen.value
- del perContourPen
-
- contourVectors = []
- nodeTypes = []
- allNodeTypes.append(nodeTypes)
- allVectors.append(contourVectors)
- for contour in contourPens:
- nodeTypes.append(tuple(instruction[0] for instruction in contour.value))
- stats = StatisticsPen(glyphset=glyphset)
- contour.replay(stats)
- size = abs(stats.area) ** .5 * .5
- vector = (
- int(size),
- int(stats.meanX),
- int(stats.meanY),
- int(stats.stddevX * 2),
- int(stats.stddevY * 2),
- int(stats.correlation * size),
- )
- contourVectors.append(vector)
- #print(vector)
-
- # Check each master against the next one in the list.
- for i, (m0, m1) in enumerate(zip(allNodeTypes[:-1], allNodeTypes[1:])):
- if len(m0) != len(m1):
- print('%s: %s+%s: Glyphs not compatible (wrong number of paths %i+%i)!!!!!' % (glyph_name, names[i], names[i+1], len(m0), len(m1)))
- if m0 == m1:
- continue
- for pathIx, (nodes1, nodes2) in enumerate(zip(m0, m1)):
- if nodes1 == nodes2:
- continue
- print('%s: %s+%s: Glyphs not compatible at path %i!!!!!' % (glyph_name, names[i], names[i+1], pathIx))
- if len(nodes1) != len(nodes2):
- print("%s has %i nodes, %s has %i nodes" % (names[i], len(nodes1), names[i+1], len(nodes2)))
- continue
- for nodeIx, (n1, n2) in enumerate(zip(nodes1, nodes2)):
- if n1 != n2:
- print("At node %i, %s has %s, %s has %s" % (nodeIx, names[i], n1, names[i+1], n2))
- continue
-
- for i,(m0,m1) in enumerate(zip(allVectors[:-1],allVectors[1:])):
- if len(m0) != len(m1):
- print('%s: %s+%s: Glyphs not compatible!!!!!' % (glyph_name, names[i], names[i+1]))
- continue
- if not m0:
- continue
- costs = [[_vlen(_vdiff(v0,v1)) for v1 in m1] for v0 in m0]
- matching, matching_cost = min_cost_perfect_bipartite_matching(costs)
- if matching != list(range(len(m0))):
- print('%s: %s+%s: Glyph has wrong contour/component order: %s' % (glyph_name, names[i], names[i+1], matching)) #, m0, m1)
- break
- upem = 2048
- item_cost = round((matching_cost / len(m0) / len(m0[0])) ** .5 / upem * 100)
- hist.append(item_cost)
- threshold = 7
- if item_cost >= threshold:
- print('%s: %s+%s: Glyph has very high cost: %d%%' % (glyph_name, names[i], names[i+1], item_cost))
-
-
- except ValueError as e:
- print('%s: %s: math error %s; skipping glyph.' % (glyph_name, name, e))
- print(contour.value)
- #raise
- #for x in hist:
- # print(x)
+ if names is None:
+ names = glyphsets
+ if glyphs is None:
+ glyphs = glyphsets[0].keys()
+
+ hist = []
+ problems = OrderedDict()
+
+ def add_problem(glyphname, problem):
+ problems.setdefault(glyphname, []).append(problem)
+
+ for glyph_name in glyphs:
+ # print()
+ # print(glyph_name)
+
+ try:
+ allVectors = []
+ allNodeTypes = []
+ for glyphset, name in zip(glyphsets, names):
+ # print('.', end='')
+ if glyph_name not in glyphset:
+ add_problem(glyph_name, {"type": "missing", "master": name})
+ continue
+ glyph = glyphset[glyph_name]
+
+ perContourPen = PerContourOrComponentPen(
+ RecordingPen, glyphset=glyphset
+ )
+ glyph.draw(perContourPen)
+ contourPens = perContourPen.value
+ del perContourPen
+
+ contourVectors = []
+ nodeTypes = []
+ allNodeTypes.append(nodeTypes)
+ allVectors.append(contourVectors)
+ for ix, contour in enumerate(contourPens):
+ nodeTypes.append(
+ tuple(instruction[0] for instruction in contour.value)
+ )
+ stats = StatisticsPen(glyphset=glyphset)
+ try:
+ contour.replay(stats)
+ except OpenContourError as e:
+ add_problem(
+ glyph_name,
+ {"master": name, "contour": ix, "type": "open_path"},
+ )
+ continue
+ size = abs(stats.area) ** 0.5 * 0.5
+ vector = (
+ int(size),
+ int(stats.meanX),
+ int(stats.meanY),
+ int(stats.stddevX * 2),
+ int(stats.stddevY * 2),
+ int(stats.correlation * size),
+ )
+ contourVectors.append(vector)
+ # print(vector)
+
+ # Check each master against the next one in the list.
+ for i, (m0, m1) in enumerate(zip(allNodeTypes[:-1], allNodeTypes[1:])):
+ if len(m0) != len(m1):
+ add_problem(
+ glyph_name,
+ {
+ "type": "path_count",
+ "master_1": names[i],
+ "master_2": names[i + 1],
+ "value_1": len(m0),
+ "value_2": len(m1),
+ },
+ )
+ if m0 == m1:
+ continue
+ for pathIx, (nodes1, nodes2) in enumerate(zip(m0, m1)):
+ if nodes1 == nodes2:
+ continue
+ if len(nodes1) != len(nodes2):
+ add_problem(
+ glyph_name,
+ {
+ "type": "node_count",
+ "path": pathIx,
+ "master_1": names[i],
+ "master_2": names[i + 1],
+ "value_1": len(nodes1),
+ "value_2": len(nodes2),
+ },
+ )
+ continue
+ for nodeIx, (n1, n2) in enumerate(zip(nodes1, nodes2)):
+ if n1 != n2:
+ add_problem(
+ glyph_name,
+ {
+ "type": "node_incompatibility",
+ "path": pathIx,
+ "node": nodeIx,
+ "master_1": names[i],
+ "master_2": names[i + 1],
+ "value_1": n1,
+ "value_2": n2,
+ },
+ )
+ continue
+
+ for i, (m0, m1) in enumerate(zip(allVectors[:-1], allVectors[1:])):
+ if len(m0) != len(m1):
+ # We already reported this
+ continue
+ if not m0:
+ continue
+ costs = [[_vlen(_vdiff(v0, v1)) for v1 in m1] for v0 in m0]
+ matching, matching_cost = min_cost_perfect_bipartite_matching(costs)
+ if matching != list(range(len(m0))):
+ add_problem(
+ glyph_name,
+ {
+ "type": "contour_order",
+ "master_1": names[i],
+ "master_2": names[i + 1],
+ "value_1": list(range(len(m0))),
+ "value_2": matching,
+ },
+ )
+ break
+ upem = 2048
+ item_cost = round(
+ (matching_cost / len(m0) / len(m0[0])) ** 0.5 / upem * 100
+ )
+ hist.append(item_cost)
+ threshold = 7
+ if item_cost >= threshold:
+ add_problem(
+ glyph_name,
+ {
+ "type": "high_cost",
+ "master_1": names[i],
+ "master_2": names[i + 1],
+ "value_1": item_cost,
+ "value_2": threshold,
+ },
+ )
+
+ except ValueError as e:
+ add_problem(
+ glyph_name,
+ {"type": "math_error", "master": name, "error": e},
+ )
+ return problems
+
def main(args=None):
- """Test for interpolatability issues between fonts"""
- import argparse
- parser = argparse.ArgumentParser(
- "fonttools varLib.interpolatable",
- description=main.__doc__,
- )
- parser.add_argument('inputs', metavar='FILE', type=str, nargs='+',
- help="Input TTF files")
-
- args = parser.parse_args(args)
- glyphs = None
- #glyphs = ['uni08DB', 'uniFD76']
- #glyphs = ['uni08DE', 'uni0034']
- #glyphs = ['uni08DE', 'uni0034', 'uni0751', 'uni0753', 'uni0754', 'uni08A4', 'uni08A4.fina', 'uni08A5.fina']
-
- from os.path import basename
- names = [basename(filename).rsplit('.', 1)[0] for filename in args.inputs]
-
- from fontTools.ttLib import TTFont
- fonts = [TTFont(filename) for filename in args.inputs]
-
- glyphsets = [font.getGlyphSet() for font in fonts]
- test(glyphsets, glyphs=glyphs, names=names)
-
-if __name__ == '__main__':
- import sys
- main()
+ """Test for interpolatability issues between fonts"""
+ import argparse
+
+ parser = argparse.ArgumentParser(
+ "fonttools varLib.interpolatable",
+ description=main.__doc__,
+ )
+ parser.add_argument(
+ "--json",
+ action="store_true",
+ help="Output report in JSON format",
+ )
+ parser.add_argument(
+ "inputs", metavar="FILE", type=str, nargs="+", help="Input TTF/UFO files"
+ )
+
+ args = parser.parse_args(args)
+ glyphs = None
+ # glyphs = ['uni08DB', 'uniFD76']
+ # glyphs = ['uni08DE', 'uni0034']
+ # glyphs = ['uni08DE', 'uni0034', 'uni0751', 'uni0753', 'uni0754', 'uni08A4', 'uni08A4.fina', 'uni08A5.fina']
+
+ from os.path import basename
+
+ names = [basename(filename).rsplit(".", 1)[0] for filename in args.inputs]
+
+ fonts = []
+ for filename in args.inputs:
+ if filename.endswith(".ufo"):
+ from fontTools.ufoLib import UFOReader
+
+ fonts.append(UFOReader(filename))
+ else:
+ from fontTools.ttLib import TTFont
+
+ fonts.append(TTFont(filename))
+
+ glyphsets = [font.getGlyphSet() for font in fonts]
+ problems = test(glyphsets, glyphs=glyphs, names=names)
+ if args.json:
+ import json
+
+ print(json.dumps(problems))
+ else:
+ for glyph, glyph_problems in problems.items():
+ print(f"Glyph {glyph} was not compatible: ")
+ for p in glyph_problems:
+ if p["type"] == "missing":
+ print(" Glyph was missing in master %s" % p["master"])
+ if p["type"] == "open_path":
+ print(" Glyph has an open path in master %s" % p["master"])
+ if p["type"] == "path_count":
+ print(
+ " Path count differs: %i in %s, %i in %s"
+ % (p["value_1"], p["master_1"], p["value_2"], p["master_2"])
+ )
+ if p["type"] == "node_count":
+ print(
+ " Node count differs in path %i: %i in %s, %i in %s"
+ % (
+ p["path"],
+ p["value_1"],
+ p["master_1"],
+ p["value_2"],
+ p["master_2"],
+ )
+ )
+ if p["type"] == "node_incompatibility":
+ print(
+ " Node %o incompatible in path %i: %s in %s, %s in %s"
+ % (
+ p["node"],
+ p["path"],
+ p["value_1"],
+ p["master_1"],
+ p["value_2"],
+ p["master_2"],
+ )
+ )
+ if p["type"] == "contour_order":
+ print(
+ " Contour order differs: %s in %s, %s in %s"
+ % (
+ p["value_1"],
+ p["master_1"],
+ p["value_2"],
+ p["master_2"],
+ )
+ )
+ if p["type"] == "high_cost":
+ print(
+ " Interpolation has high cost: cost of %s to %s = %i, threshold %i"
+ % (
+ p["master_1"],
+ p["master_2"],
+ p["value_1"],
+ p["value_2"],
+ )
+ )
+ if problems:
+ return problems
+
+
+if __name__ == "__main__":
+ import sys
+
+ problems = main()
+ sys.exit(int(bool(problems)))
diff --git a/Lib/fonttools.egg-info/PKG-INFO b/Lib/fonttools.egg-info/PKG-INFO
deleted file mode 100644
index c85d381e..00000000
--- a/Lib/fonttools.egg-info/PKG-INFO
+++ /dev/null
@@ -1,2106 +0,0 @@
-Metadata-Version: 2.1
-Name: fonttools
-Version: 4.17.1
-Summary: Tools to manipulate font files
-Home-page: http://github.com/fonttools/fonttools
-Author: Just van Rossum
-Author-email: just@letterror.com
-Maintainer: Behdad Esfahbod
-Maintainer-email: behdad@behdad.org
-License: MIT
-Description: |Travis Build Status| |Appveyor Build status| |Coverage Status| |PyPI| |Gitter Chat|
-
- What is this?
- ~~~~~~~~~~~~~
-
- | fontTools is a library for manipulating fonts, written in Python. The
- project includes the TTX tool, that can convert TrueType and OpenType
- fonts to and from an XML text format, which is also called TTX. It
- supports TrueType, OpenType, AFM and to an extent Type 1 and some
- Mac-specific formats. The project has an `MIT open-source
- licence <LICENSE>`__.
- | Among other things this means you can use it free of charge.
-
- `User documentation <https://fonttools.readthedocs.io/en/latest/>`_ and
- `developer documentation <https://fonttools.readthedocs.io/en/latest/developer.html>`_
- are available at `Read the Docs <https://fonttools.readthedocs.io/>`_.
-
- Installation
- ~~~~~~~~~~~~
-
- FontTools 4.x requires `Python <http://www.python.org/download/>`__ 3.6
- or later. FontTools 3.x requires Python 2.7 or later.
-
- **NOTE** From August 2019, until no later than January 1 2020, the support
- for *Python 2.7* will be limited to only critical bug fixes, and no new features
- will be added to the ``py27`` branch. You can read more `here <https://python3statement.org>`__
- and `here <https://github.com/fonttools/fonttools/issues/765>`__ for the
- reasons behind this decision.
-
- The package is listed in the Python Package Index (PyPI), so you can
- install it with `pip <https://pip.pypa.io>`__:
-
- .. code:: sh
-
- pip install fonttools
-
- If you would like to contribute to its development, you can clone the
- repository from GitHub, install the package in 'editable' mode and
- modify the source code in place. We recommend creating a virtual
- environment, using `virtualenv <https://virtualenv.pypa.io>`__ or
- Python 3 `venv <https://docs.python.org/3/library/venv.html>`__ module.
-
- .. code:: sh
-
- # download the source code to 'fonttools' folder
- git clone https://github.com/fonttools/fonttools.git
- cd fonttools
-
- # create new virtual environment called e.g. 'fonttools-venv', or anything you like
- python -m virtualenv fonttools-venv
-
- # source the `activate` shell script to enter the environment (Un*x); to exit, just type `deactivate`
- . fonttools-venv/bin/activate
-
- # to activate the virtual environment in Windows `cmd.exe`, do
- fonttools-venv\Scripts\activate.bat
-
- # install in 'editable' mode
- pip install -e .
-
- Optional Requirements
- ---------------------
-
- The ``fontTools`` package currently has no (required) external dependencies
- besides the modules included in the Python Standard Library.
- However, a few extra dependencies are required by some of its modules, which
- are needed to unlock optional features.
- The ``fonttools`` PyPI distribution also supports so-called "extras", i.e. a
- set of keywords that describe a group of additional dependencies, which can be
- used when installing via pip, or when specifying a requirement.
- For example:
-
- .. code:: sh
-
- pip install fonttools[ufo,lxml,woff,unicode]
-
- This command will install fonttools, as well as the optional dependencies that
- are required to unlock the extra features named "ufo", etc.
-
- - ``Lib/fontTools/misc/etree.py``
-
- The module exports a ElementTree-like API for reading/writing XML files, and
- allows to use as the backend either the built-in ``xml.etree`` module or
- `lxml <https://lxml.de>`__. The latter is preferred whenever present,
- as it is generally faster and more secure.
-
- *Extra:* ``lxml``
-
- - ``Lib/fontTools/ufoLib``
-
- Package for reading and writing UFO source files; it requires:
-
- * `fs <https://pypi.org/pypi/fs>`__: (aka ``pyfilesystem2``) filesystem
- abstraction layer.
-
- * `enum34 <https://pypi.org/pypi/enum34>`__: backport for the built-in ``enum``
- module (only required on Python < 3.4).
-
- *Extra:* ``ufo``
-
- - ``Lib/fontTools/ttLib/woff2.py``
-
- Module to compress/decompress WOFF 2.0 web fonts; it requires:
-
- * `brotli <https://pypi.python.org/pypi/Brotli>`__: Python bindings of
- the Brotli compression library.
-
- *Extra:* ``woff``
-
- - ``Lib/fontTools/ttLib/sfnt.py``
-
- To better compress WOFF 1.0 web fonts, the following module can be used
- instead of the built-in ``zlib`` library:
-
- * `zopfli <https://pypi.python.org/pypi/zopfli>`__: Python bindings of
- the Zopfli compression library.
-
- *Extra:* ``woff``
-
- - ``Lib/fontTools/unicode.py``
-
- To display the Unicode character names when dumping the ``cmap`` table
- with ``ttx`` we use the ``unicodedata`` module in the Standard Library.
- The version included in there varies between different Python versions.
- To use the latest available data, you can install:
-
- * `unicodedata2 <https://pypi.python.org/pypi/unicodedata2>`__:
- ``unicodedata`` backport for Python 2.7 and 3.x updated to the latest
- Unicode version 12.0. Note this is not necessary if you use Python 3.8
- as the latter already comes with an up-to-date ``unicodedata``.
-
- *Extra:* ``unicode``
-
- - ``Lib/fontTools/varLib/interpolatable.py``
-
- Module for finding wrong contour/component order between different masters.
- It requires one of the following packages in order to solve the so-called
- "minimum weight perfect matching problem in bipartite graphs", or
- the Assignment problem:
-
- * `scipy <https://pypi.python.org/pypi/scipy>`__: the Scientific Library
- for Python, which internally uses `NumPy <https://pypi.python.org/pypi/numpy>`__
- arrays and hence is very fast;
- * `munkres <https://pypi.python.org/pypi/munkres>`__: a pure-Python
- module that implements the Hungarian or Kuhn-Munkres algorithm.
-
- *Extra:* ``interpolatable``
-
- - ``Lib/fontTools/varLib/plot.py``
-
- Module for visualizing DesignSpaceDocument and resulting VariationModel.
-
- * `matplotlib <https://pypi.org/pypi/matplotlib>`__: 2D plotting library.
-
- *Extra:* ``plot``
-
- - ``Lib/fontTools/misc/symfont.py``
-
- Advanced module for symbolic font statistics analysis; it requires:
-
- * `sympy <https://pypi.python.org/pypi/sympy>`__: the Python library for
- symbolic mathematics.
-
- *Extra:* ``symfont``
-
- - ``Lib/fontTools/t1Lib.py``
-
- To get the file creator and type of Macintosh PostScript Type 1 fonts
- on Python 3 you need to install the following module, as the old ``MacOS``
- module is no longer included in Mac Python:
-
- * `xattr <https://pypi.python.org/pypi/xattr>`__: Python wrapper for
- extended filesystem attributes (macOS platform only).
-
- *Extra:* ``type1``
-
- - ``Lib/fontTools/ttLib/removeOverlaps.py``
-
- Simplify TrueType glyphs by merging overlapping contours and components.
-
- * `skia-pathops <https://pypi.python.org/pypy/skia-pathops>`__: Python
- bindings for the Skia library's PathOps module, performing boolean
- operations on paths (union, intersection, etc.).
-
- *Extra:* ``pathops``
-
- - ``Lib/fontTools/pens/cocoaPen.py``
-
- Pen for drawing glyphs with Cocoa ``NSBezierPath``, requires:
-
- * `PyObjC <https://pypi.python.org/pypi/pyobjc>`__: the bridge between
- Python and the Objective-C runtime (macOS platform only).
-
- - ``Lib/fontTools/pens/qtPen.py``
-
- Pen for drawing glyphs with Qt's ``QPainterPath``, requires:
-
- * `PyQt5 <https://pypi.python.org/pypi/PyQt5>`__: Python bindings for
- the Qt cross platform UI and application toolkit.
-
- - ``Lib/fontTools/pens/reportLabPen.py``
-
- Pen to drawing glyphs as PNG images, requires:
-
- * `reportlab <https://pypi.python.org/pypi/reportlab>`__: Python toolkit
- for generating PDFs and graphics.
-
- Acknowledgements
- ~~~~~~~~~~~~~~~~
-
- In alphabetical order:
-
- Olivier Berten, Samyak Bhuta, Erik van Blokland, Petr van Blokland,
- Jelle Bosma, Sascha Brawer, Tom Byrer, Frédéric Coiffier, Vincent
- Connare, David Corbett, Simon Cozens, Dave Crossland, Simon Daniels,
- Peter Dekkers, Behdad Esfahbod, Behnam Esfahbod, Hannes Famira, Sam
- Fishman, Matt Fontaine, Yannis Haralambous, Greg Hitchcock, Jeremie
- Hornus, Khaled Hosny, John Hudson, Denis Moyogo Jacquerye, Jack Jansen,
- Tom Kacvinsky, Jens Kutilek, Antoine Leca, Werner Lemberg, Tal Leming,
- Peter Lofting, Cosimo Lupo, Masaya Nakamura, Dave Opstad, Laurence
- Penney, Roozbeh Pournader, Garret Rieger, Read Roberts, Guido van
- Rossum, Just van Rossum, Andreas Seidel, Georg Seifert, Chris Simpkins,
- Miguel Sousa, Adam Twardoch, Adrien Tétar, Vitaly Volkov, Paul Wise.
-
- Copyrights
- ~~~~~~~~~~
-
- | Copyright (c) 1999-2004 Just van Rossum, LettError
- (just@letterror.com)
- | See `LICENSE <LICENSE>`__ for the full license.
-
- Copyright (c) 2000 BeOpen.com. All Rights Reserved.
-
- Copyright (c) 1995-2001 Corporation for National Research Initiatives.
- All Rights Reserved.
-
- Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All
- Rights Reserved.
-
- Have fun!
-
- .. |Travis Build Status| image:: https://travis-ci.org/fonttools/fonttools.svg
- :target: https://travis-ci.org/fonttools/fonttools
- .. |Appveyor Build status| image:: https://ci.appveyor.com/api/projects/status/0f7fmee9as744sl7/branch/master?svg=true
- :target: https://ci.appveyor.com/project/fonttools/fonttools/branch/master
- .. |Coverage Status| image:: https://codecov.io/gh/fonttools/fonttools/branch/master/graph/badge.svg
- :target: https://codecov.io/gh/fonttools/fonttools
- .. |PyPI| image:: https://img.shields.io/pypi/v/fonttools.svg
- :target: https://pypi.org/project/FontTools
- .. |Gitter Chat| image:: https://badges.gitter.im/fonttools-dev/Lobby.svg
- :alt: Join the chat at https://gitter.im/fonttools-dev/Lobby
- :target: https://gitter.im/fonttools-dev/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
-
- Changelog
- ~~~~~~~~~
-
- 4.17.1 (released 2020-11-16)
- ----------------------------
-
- - [colorLib] Fixed regression in 4.17.0 when building COLR v0 table; when color
- layers are stored in UFO lib plist, we can't distinguish tuples from lists so
- we need to accept either types (e5439eb9, googlefonts/ufo2ft/issues#426).
-
- 4.17.0 (released 2020-11-12)
- ----------------------------
-
- - [colorLib/otData] Updated to latest draft ``COLR`` v1 spec (#2092).
- - [svgLib] Fixed parsing error when arc commands' boolean flags are not separated
- by space or comma (#2094).
- - [varLib] Interpret empty non-default glyphs as 'missing', if the default glyph is
- not empty (#2082).
- - [feaLib.builder] Only stash lookup location for ``Debg`` if ``Builder.buildLookups_``
- has cooperated (#2065, #2067).
- - [varLib] Fixed bug in VarStore optimizer (#2073, #2083).
- - [varLib] Add designspace lib key for custom feavar feature tag (#2080).
- - Add HashPointPen adapted from psautohint. With this pen, a hash value of a glyph
- can be computed, which can later be used to detect glyph changes (#2005).
-
- 4.16.1 (released 2020-10-05)
- ----------------------------
-
- - [varLib.instancer] Fixed ``TypeError`` exception when instantiating a VF with
- a GSUB table 1.1 in which ``FeatureVariations`` attribute is present but set to
- ``None`` -- indicating that optional ``FeatureVariations`` is missing (#2077).
- - [glifLib] Make ``x`` and ``y`` attributes of the ``point`` element required
- even when validation is turned off, and raise a meaningful ``GlifLibError``
- message when that happens (#2075).
-
- 4.16.0 (released 2020-09-30)
- ----------------------------
-
- - [removeOverlaps] Added new module and ``removeOverlaps`` function that merges
- overlapping contours and components in TrueType glyphs. It requires the
- `skia-pathops <https://github.com/fonttools/skia-pathops>`__ module.
- Note that removing overlaps invalidates the TrueType hinting (#2068).
- - [varLib.instancer] Added ``--remove-overlaps`` command-line option.
- The ``overlap`` option in ``instantiateVariableFont`` now takes an ``OverlapMode``
- enum: 0: KEEP_AND_DONT_SET_FLAGS, 1: KEEP_AND_SET_FLAGS (default), and 2: REMOVE.
- The latter is equivalent to calling ``removeOverlaps`` on the generated static
- instance. The option continues to accept ``bool`` value for backward compatibility.
-
-
- 4.15.0 (released 2020-09-21)
- ----------------------------
-
- - [plistlib] Added typing annotations to plistlib module. Set up mypy static
- typechecker to run automatically on CI (#2061).
- - [ttLib] Implement private ``Debg`` table, a reverse-DNS namespaced JSON dict.
- - [feaLib] Optionally add an entry into the ``Debg`` table with the original
- lookup name (if any), feature name / script / language combination (if any),
- and original source filename and line location. Annotate the ttx output for
- a lookup with the information from the Debg table (#2052).
- - [sfnt] Disabled checksum checking by default in ``SFNTReader`` (#2058).
- - [Docs] Document ``mtiLib`` module (#2027).
- - [varLib.interpolatable] Added checks for contour node count and operation type
- of each node (#2054).
- - [ttLib] Added API to register custom table packer/unpacker classes (#2055).
-
- 4.14.0 (released 2020-08-19)
- ----------------------------
-
- - [feaLib] Allow anonymous classes in LookupFlags definitions (#2037).
- - [Docs] Better document DesignSpace rules processing order (#2041).
- - [ttLib] Fixed 21-year old bug in ``maxp.maxComponentDepth`` calculation (#2044,
- #2045).
- - [varLib.models] Fixed misspelled argument name in CLI entry point (81d0042a).
- - [subset] When subsetting GSUB v1.1, fixed TypeError by checking whether the
- optional FeatureVariations table is present (e63ecc5b).
- - [Snippets] Added snippet to show how to decompose glyphs in a TTF (#2030).
- - [otlLib] Generate GSUB type 5 and GPOS type 7 contextual lookups where appropriate
- (#2016).
-
- 4.13.0 (released 2020-07-10)
- ----------------------------
-
- - [feaLib/otlLib] Moved lookup subtable builders from feaLib to otlLib; refactored
- some common code (#2004, #2007).
- - [docs] Document otlLib module (#2009).
- - [glifLib] Fixed bug with some UFO .glif filenames clashing on case-insensitive
- filesystems (#2001, #2002).
- - [colorLib] Updated COLRv1 implementation following changes in the draft spec:
- (#2008, googlefonts/colr-gradients-spec#24).
-
- 4.12.1 (released 2020-06-16)
- ----------------------------
-
- - [_n_a_m_e] Fixed error in ``addMultilingualName`` with one-character names.
- Only attempt to recovered malformed UTF-16 data from a ``bytes`` string,
- not from unicode ``str`` (#1997, #1998).
-
- 4.12.0 (released 2020-06-09)
- ----------------------------
-
- - [otlLib/varLib] Ensure that the ``AxisNameID`` in the ``STAT`` and ``fvar``
- tables is grater than 255 as per OpenType spec (#1985, #1986).
- - [docs] Document more modules in ``fontTools.misc`` package: ``filenames``,
- ``fixedTools``, ``intTools``, ``loggingTools``, ``macCreatorType``, ``macRes``,
- ``plistlib`` (#1981).
- - [OS/2] Don't calculate whole sets of unicode codepoints, use faster and more memory
- efficient ranges and bisect lookups (#1984).
- - [voltLib] Support writing back abstract syntax tree as VOLT data (#1983).
- - [voltLib] Accept DO_NOT_TOUCH_CMAP keyword (#1987).
- - [subset/merge] Fixed a namespace clash involving a private helper class (#1955).
-
- 4.11.0 (released 2020-05-28)
- ----------------------------
-
- - [feaLib] Introduced ``includeDir`` parameter on Parser and IncludingLexer to
- explicitly specify the directory to search when ``include()`` statements are
- encountered (#1973).
- - [ufoLib] Silently delete duplicate glyphs within the same kerning group when reading
- groups (#1970).
- - [ttLib] Set version of COLR table when decompiling COLRv1 (commit 9d8a7e2).
-
- 4.10.2 (released 2020-05-20)
- ----------------------------
-
- - [sfnt] Fixed ``NameError: SimpleNamespace`` while reading TTC header. The regression
- was introduced with 4.10.1 after removing ``py23`` star import.
-
- 4.10.1 (released 2020-05-19)
- ----------------------------
-
- - [sfnt] Make ``SFNTReader`` pickleable even when TTFont is loaded with lazy=True
- option and thus keeps a reference to an external file (#1962, #1967).
- - [feaLib.ast] Restore backward compatibility (broken in 4.10 with #1905) for
- ``ChainContextPosStatement`` and ``ChainContextSubstStatement`` classes.
- Make them accept either list of lookups or list of lists of lookups (#1961).
- - [docs] Document some modules in ``fontTools.misc`` package: ``arrayTools``,
- ``bezierTools`` ``cliTools`` and ``eexec`` (#1956).
- - [ttLib._n_a_m_e] Fixed ``findMultilingualName()`` when name record's ``string`` is
- encoded as bytes sequence (#1963).
-
- 4.10.0 (released 2020-05-15)
- ----------------------------
-
- - [varLib] Allow feature variations to be active across the entire space (#1957).
- - [ufoLib] Added support for ``formatVersionMinor`` in UFO's ``fontinfo.plist`` and for
- ``formatMinor`` attribute in GLIF file as discussed in unified-font-object/ufo-spec#78.
- No changes in reading or writing UFOs until an upcoming (non-0) minor update of the
- UFO specification is published (#1786).
- - [merge] Fixed merging fonts with different versions of ``OS/2`` table (#1865, #1952).
- - [subset] Fixed ``AttributeError`` while subsetting ``ContextSubst`` and ``ContextPos``
- Format 3 subtable (#1879, #1944).
- - [ttLib.table._m_e_t_a] if data happens to be ascii, emit comment in TTX (#1938).
- - [feaLib] Support multiple lookups per glyph position (#1905).
- - [psCharStrings] Use inheritance to avoid repeated code in initializer (#1932).
- - [Doc] Improved documentation for the following modules: ``afmLib`` (#1933), ``agl``
- (#1934), ``cffLib`` (#1935), ``cu2qu`` (#1937), ``encodings`` (#1940), ``feaLib``
- (#1941), ``merge`` (#1949).
- - [Doc] Split off developer-centric info to new page, making front page of docs more
- user-focused. List all utilities and sub-modules with brief descriptions.
- Make README more concise and focused (#1914).
- - [otlLib] Add function to build STAT table from high-level description (#1926).
- - [ttLib._n_a_m_e] Add ``findMultilingualName()`` method (#1921).
- - [unicodedata] Update ``RTL_SCRIPTS`` for Unicode 13.0 (#1925).
- - [gvar] Sort ``gvar`` XML output by glyph name, not glyph order (#1907, #1908).
- - [Doc] Added help options to ``fonttools`` command line tool (#1913, #1920).
- Ensure all fonttools CLI tools have help documentation (#1948).
- - [ufoLib] Only write fontinfo.plist when there actually is content (#1911).
-
- 4.9.0 (released 2020-04-29)
- ---------------------------
-
- - [subset] Fixed subsetting of FeatureVariations table. The subsetter no longer drops
- FeatureVariationRecords that have empty substitutions as that will keep the search
- going and thus change the logic. It will only drop empty records that occur at the
- end of the FeatureVariationRecords array (#1881).
- - [subset] Remove FeatureVariations table and downgrade GSUB/GPOS to version 0x10000
- when FeatureVariations contain no FeatureVariationRecords after subsetting (#1903).
- - [agl] Add support for legacy Adobe Glyph List of glyph names in ``fontTools.agl``
- (#1895).
- - [feaLib] Ignore superfluous script statements (#1883).
- - [feaLib] Hide traceback by default on ``fonttools feaLib`` command line.
- Use ``--traceback`` option to show (#1898).
- - [feaLib] Check lookup index in chaining sub/pos lookups and print better error
- message (#1896, #1897).
- - [feaLib] Fix building chained alt substitutions (#1902).
- - [Doc] Included all fontTools modules in the sphinx-generated documentation, and
- published it to ReadTheDocs for continuous documentation of the fontTools project
- (#1333). Check it out at https://fonttools.readthedocs.io/. Thanks to Chris Simpkins!
- - [transform] The ``Transform`` class is now subclass of ``typing.NamedTuple``. No
- change in functionality (#1904).
-
-
- 4.8.1 (released 2020-04-17)
- ---------------------------
-
- - [feaLib] Fixed ``AttributeError: 'NoneType' has no attribute 'getAlternateGlyphs'``
- when ``aalt`` feature references a chain contextual substitution lookup
- (googlefonts/fontmake#648, #1878).
-
- 4.8.0 (released 2020-04-16)
- ---------------------------
-
- - [feaLib] If Parser is initialized without a ``glyphNames`` parameter, it cannot
- distinguish between a glyph name containing an hyphen, or a range of glyph names;
- instead of raising an error, it now interprets them as literal glyph names, while
- also outputting a logging warning to alert user about the ambiguity (#1768, #1870).
- - [feaLib] When serializing AST to string, emit spaces around hyphens that denote
- ranges. Also, fixed an issue with CID ranges when round-tripping AST->string->AST
- (#1872).
- - [Snippets/otf2ttf] In otf2ttf.py script update LSB in hmtx to match xMin (#1873).
- - [colorLib] Added experimental support for building ``COLR`` v1 tables as per
- the `colr-gradients-spec <https://github.com/googlefonts/colr-gradients-spec/blob/master/colr-gradients-spec.md>`__
- draft proposal. **NOTE**: both the API and the XML dump of ``COLR`` v1 are
- susceptible to change while the proposal is being discussed and formalized (#1822).
-
- 4.7.0 (released 2020-04-03)
- ---------------------------
-
- - [cu2qu] Added ``fontTools.cu2qu`` package, imported from the original
- `cu2qu <https://github.com/googlefonts/cu2qu>`__ project. The ``cu2qu.pens`` module
- was moved to ``fontTools.pens.cu2quPen``. The optional cu2qu extension module
- can be compiled by installing `Cython <https://cython.org/>`__ before installing
- fonttools from source (i.e. git repo or sdist tarball). The wheel package that
- is published on PyPI (i.e. the one ``pip`` downloads, unless ``--no-binary``
- option is used), will continue to be pure-Python for now (#1868).
-
- 4.6.0 (released 2020-03-24)
- ---------------------------
-
- - [varLib] Added support for building variable ``BASE`` table version 1.1 (#1858).
- - [CPAL] Added ``fromRGBA`` method to ``Color`` class (#1861).
-
-
- 4.5.0 (released 2020-03-20)
- ---------------------------
-
- - [designspaceLib] Added ``add{Axis,Source,Instance,Rule}Descriptor`` methods to
- ``DesignSpaceDocument`` class, to initialize new descriptor objects using keyword
- arguments, and at the same time append them to the current document (#1860).
- - [unicodedata] Update to Unicode 13.0 (#1859).
-
- 4.4.3 (released 2020-03-13)
- ---------------------------
-
- - [varLib] Always build ``gvar`` table for TrueType-flavored Variable Fonts,
- even if it contains no variation data. The table is required according to
- the OpenType spec (#1855, #1857).
-
- 4.4.2 (released 2020-03-12)
- ---------------------------
-
- - [ttx] Annotate ``LookupFlag`` in XML dump with comment explaining what bits
- are set and what they mean (#1850).
- - [feaLib] Added more descriptive message to ``IncludedFeaNotFound`` error (#1842).
-
- 4.4.1 (released 2020-02-26)
- ---------------------------
-
- - [woff2] Skip normalizing ``glyf`` and ``loca`` tables if these are missing from
- a font (e.g. in NotoColorEmoji using ``CBDT/CBLC`` tables).
- - [timeTools] Use non-localized date parsing in ``timestampFromString``, to fix
- error when non-English ``LC_TIME`` locale is set (#1838, #1839).
- - [fontBuilder] Make sure the CFF table generated by fontBuilder can be used by varLib
- without having to compile and decompile the table first. This was breaking in
- converting the CFF table to CFF2 due to some unset attributes (#1836).
-
- 4.4.0 (released 2020-02-18)
- ---------------------------
-
- - [colorLib] Added ``fontTools.colorLib.builder`` module, initially with ``buildCOLR``
- and ``buildCPAL`` public functions. More color font formats will follow (#1827).
- - [fontBuilder] Added ``setupCOLR`` and ``setupCPAL`` methods (#1826).
- - [ttGlyphPen] Quantize ``GlyphComponent.transform`` floats to ``F2Dot14`` to fix
- round-trip issue when computing bounding boxes of transformed components (#1830).
- - [glyf] If a component uses reference points (``firstPt`` and ``secondPt``) for
- alignment (instead of X and Y offsets), compute the effective translation offset
- *after* having applied any transform (#1831).
- - [glyf] When all glyphs have zero contours, compile ``glyf`` table data as a single
- null byte in order to pass validation by OTS and Windows (#1829).
- - [feaLib] Parsing feature code now ensures that referenced glyph names are part of
- the known glyph set, unless a glyph set was not provided.
- - [varLib] When filling in the default axis value for a missing location of a source or
- instance, correctly map the value forward.
- - [varLib] The avar table can now contain mapping output values that are greater than
- OR EQUAL to the preceeding value, as the avar specification allows this.
- - [varLib] The errors of the module are now ordered hierarchically below VarLibError.
- See #1821.
-
- 4.3.0 (released 2020-02-03)
- ---------------------------
-
- - [EBLC/CBLC] Fixed incorrect padding length calculation for Format 3 IndexSubTable
- (#1817, #1818).
- - [varLib] Fixed error when merging OTL tables and TTFonts were loaded as ``lazy=True``
- (#1808, #1809).
- - [varLib] Allow to use master fonts containing ``CFF2`` table when building VF (#1816).
- - [ttLib] Make ``recalcBBoxes`` option work also with ``CFF2`` table (#1816).
- - [feaLib] Don't reset ``lookupflag`` in lookups defined inside feature blocks.
- They will now inherit the current ``lookupflag`` of the feature. This is what
- Adobe ``makeotf`` also does in this case (#1815).
- - [feaLib] Fixed bug with mixed single/multiple substitutions. If a single substitution
- involved a glyph class, we were incorrectly using only the first glyph in the class
- (#1814).
-
- 4.2.5 (released 2020-01-29)
- ---------------------------
-
- - [feaLib] Do not fail on duplicate multiple substitutions, only warn (#1811).
- - [subset] Optimize SinglePos subtables to Format 1 if all ValueRecords are the same
- (#1802).
-
- 4.2.4 (released 2020-01-09)
- ---------------------------
-
- - [unicodedata] Update RTL_SCRIPTS for Unicode 11 and 12.
-
- 4.2.3 (released 2020-01-07)
- ---------------------------
-
- - [otTables] Fixed bug when splitting `MarkBasePos` subtables as offsets overflow.
- The mark class values in the split subtable were not being updated, leading to
- invalid mark-base attachments (#1797, googlefonts/noto-source#145).
- - [feaLib] Only log a warning instead of error when features contain duplicate
- substitutions (#1767).
- - [glifLib] Strip XML comments when parsing with lxml (#1784, #1785).
-
- 4.2.2 (released 2019-12-12)
- ---------------------------
-
- - [subset] Fixed issue with subsetting FeatureVariations table when the index
- of features changes as features get dropped. The feature index need to be
- remapped to point to index of the remaining features (#1777, #1782).
- - [fontBuilder] Added `addFeatureVariations` method to `FontBuilder` class. This
- is a shorthand for calling `featureVars.addFeatureVariations` on the builder's
- TTFont object (#1781).
- - [glyf] Fixed the flags bug in glyph.drawPoints() like we did for glyph.draw()
- (#1771, #1774).
-
- 4.2.1 (released 2019-12-06)
- ---------------------------
-
- - [glyf] Use the ``flagOnCurve`` bit mask in ``glyph.draw()``, so that we ignore
- the ``overlap`` flag that may be set when instantiating variable fonts (#1771).
-
- 4.2.0 (released 2019-11-28)
- ---------------------------
-
- - [pens] Added the following pens:
-
- * ``roundingPen.RoundingPen``: filter pen that rounds coordinates and components'
- offsets to integer;
- * ``roundingPen.RoundingPointPen``: like the above, but using PointPen protocol.
- * ``filterPen.FilterPointPen``: base class for filter point pens;
- * ``transformPen.TransformPointPen``: filter point pen to apply affine transform;
- * ``recordingPen.RecordingPointPen``: records and replays point-pen commands.
-
- - [ttGlyphPen] Always round float coordinates and component offsets to integers
- (#1763).
- - [ufoLib] When converting kerning groups from UFO2 to UFO3, avoid confusing
- groups with the same name as one of the glyphs (#1761, #1762,
- unified-font-object/ufo-spec#98).
-
- 4.1.0 (released 2019-11-18)
- ---------------------------
-
- - [instancer] Implemented restricting axis ranges (level 3 partial instancing).
- You can now pass ``{axis_tag: (min, max)}`` tuples as input to the
- ``instantiateVariableFont`` function. Note that changing the default axis
- position is not supported yet. The command-line script also accepts axis ranges
- in the form of colon-separated float values, e.g. ``wght=400:700`` (#1753, #1537).
- - [instancer] Never drop STAT ``DesignAxis`` records, but only prune out-of-range
- ``AxisValue`` records.
- - [otBase/otTables] Enforce that VarStore.RegionAxisCount == fvar.axisCount, even
- when regions list is empty to appease OTS < v8.0 (#1752).
- - [designspaceLib] Defined new ``processing`` attribute for ``<rules>`` element,
- with values "first" or "last", plus other editorial changes to DesignSpace
- specification. Bumped format version to 4.1 (#1750).
- - [varLib] Improved error message when masters' glyph orders do not match (#1758,
- #1759).
- - [featureVars] Allow to specify custom feature tag in ``addFeatureVariations``;
- allow said feature to already exist, in which case we append new lookup indices
- to existing features. Implemented ``<rules>`` attribute ``processing`` according to
- DesignSpace specification update in #1750. Depending on this flag, we generate
- either an 'rvrn' (always processed first) or a 'rclt' feature (follows lookup order,
- therefore last) (#1747, #1625, #1371).
- - [ttCollection] Added support for context manager auto-closing via ``with`` statement
- like with ``TTFont`` (#1751).
- - [unicodedata] Require unicodedata2 >= 12.1.0.
- - [py2.py3] Removed yet more PY2 vestiges (#1743).
- - [_n_a_m_e] Fixed issue when comparing NameRecords with different string types (#1742).
- - [fixedTools] Changed ``fixedToFloat`` to not do any rounding but simply return
- ``value / (1 << precisionBits)``. Added ``floatToFixedToStr`` and
- ``strToFixedToFloat`` functions to be used when loading from or dumping to XML.
- Fixed values (e.g. fvar axes and instance coordinates, avar mappings, etc.) are
- are now stored as un-rounded decimal floats upon decompiling (#1740, #737).
- - [feaLib] Fixed handling of multiple ``LigatureCaret`` statements for the same glyph.
- Only the first rule per glyph is used, additional ones are ignored (#1733).
-
- 4.0.2 (released 2019-09-26)
- ---------------------------
-
- - [voltLib] Added support for ``ALL`` and ``NONE`` in ``PROCESS_MARKS`` (#1732).
- - [Silf] Fixed issue in ``Silf`` table compilation and decompilation regarding str vs
- bytes in python3 (#1728).
- - [merge] Handle duplicate glyph names better: instead of appending font index to
- all glyph names, use similar code like we use in ``post`` and ``CFF`` tables (#1729).
-
- 4.0.1 (released 2019-09-11)
- ---------------------------
-
- - [otTables] Support fixing offset overflows in ``MultipleSubst`` lookup subtables
- (#1706).
- - [subset] Prune empty strikes in ``EBDT`` and ``CBDT`` table data (#1698, #1633).
- - [pens] Fixed issue in ``PointToSegmentPen`` when last point of closed contour has
- same coordinates as the starting point and was incorrectly dropped (#1720).
- - [Graphite] Fixed ``Sill`` table output to pass OTS (#1705).
- - [name] Added ``removeNames`` method to ``table__n_a_m_e`` class (#1719).
- - [ttLib] Added aliases for renamed entries ``ascender`` and ``descender`` in
- ``hhea`` table (#1715).
-
- 4.0.0 (released 2019-08-22)
- ---------------------------
-
- - NOTE: The v4.x version series only supports Python 3.6 or greater. You can keep
- using fonttools 3.x if you need support for Python 2.
- - [py23] Removed all the python2-only code since it is no longer reachable, thus
- unused; only the Python3 symbols were kept, but these are no-op. The module is now
- DEPRECATED and will removed in the future.
- - [ttLib] Fixed UnboundLocalError for empty loca/glyph tables (#1680). Also, allow
- the glyf table to be incomplete when dumping to XML (#1681).
- - [varLib.models] Fixed KeyError while sorting masters and there are no on-axis for
- a given axis (38a8eb0e).
- - [cffLib] Make sure glyph names are unique (#1699).
- - [feaLib] Fix feature parser to correctly handle octal numbers (#1700).
-
- 3.44.0 (released 2019-08-02)
- ----------------------------
-
- - NOTE: This is the last scheduled release to support Python 2.7. The upcoming fonttools
- v4.x series is going to require Python 3.6 or greater.
- - [varLib] Added new ``varLib.instancer`` module for partially instantiating variable
- fonts. This extends (and will eventually replace) ``varLib.mutator`` module, as
- it allows to create not just full static instances from a variable font, but also
- "partial" or "less variable" fonts where some of the axes are dropped or
- instantiated at a particular value.
- Also available from the command-line as `fonttools varLib.instancer --help`
- (#1537, #1628).
- - [cffLib] Added support for ``FDSelect`` format 4 (#1677).
- - [subset] Added support for subsetting ``sbix`` (Apple bitmap color font) table.
- - [t1Lib] Fixed issue parsing ``eexec`` section in Type1 fonts when whitespace
- characters are interspersed among the trailing zeros (#1676).
- - [cffLib.specializer] Fixed bug in ``programToCommands`` with CFF2 charstrings (#1669).
-
- 3.43.2 (released 2019-07-10)
- ----------------------------
-
- - [featureVars] Fixed region-merging code on python3 (#1659).
- - [varLib.cff] Fixed merging of sparse PrivateDict items (#1653).
-
- 3.43.1 (released 2019-06-19)
- ----------------------------
-
- - [subset] Fixed regression when passing ``--flavor=woff2`` option with an input font
- that was already compressed as WOFF 1.0 (#1650).
-
- 3.43.0 (released 2019-06-18)
- ----------------------------
-
- - [woff2] Added support for compressing/decompressing WOFF2 fonts with non-transformed
- ``glyf`` and ``loca`` tables, as well as with transformed ``hmtx`` table.
- Removed ``Snippets/woff2_compress.py`` and ``Snippets/woff2_decompress.py`` scripts,
- and replaced them with a new console entry point ``fonttools ttLib.woff2``
- that provides two sub-commands ``compress`` and ``decompress``.
- - [varLib.cff] Fixed bug when merging CFF2 ``PrivateDicts``. The ``PrivateDict``
- data from the first region font was incorrecty used for all subsequent fonts.
- The bug would only affect variable CFF2 fonts with hinting (#1643, #1644).
- Also, fixed a merging bug when VF masters have no blends or marking glyphs (#1632,
- #1642).
- - [loggingTools] Removed unused backport of ``LastResortLogger`` class.
- - [subset] Gracefully handle partial MATH table (#1635).
- - [featureVars] Avoid duplicate references to ``rvrn`` feature record in
- ``DefaultLangSys`` tables when calling ``addFeatureVariations`` on a font that
- does not already have a ``GSUB`` table (aa8a5bc6).
- - [varLib] Fixed merging of class-based kerning. Before, the process could introduce
- rogue kerning values and variations for random classes against class zero (everything
- not otherwise classed).
- - [varLib] Fixed merging GPOS tables from master fonts with different number of
- ``SinglePos`` subtables (#1621, #1641).
- - [unicodedata] Updated Blocks, Scripts and ScriptExtensions to Unicode 12.1.
-
- 3.42.0 (released 2019-05-28)
- ----------------------------
-
- - [OS/2] Fixed sign of ``fsType``: it should be ``uint16``, not ``int16`` (#1619).
- - [subset] Skip out-of-range class values in mark attachment (#1478).
- - [fontBuilder] Add an empty ``DSIG`` table with ``setupDummyDSIG`` method (#1621).
- - [varLib.merger] Fixed bug whereby ``GDEF.GlyphClassDef`` were being dropped
- when generating instance via ``varLib.mutator`` (#1614).
- - [varLib] Added command-line options ``-v`` and ``-q`` to configure logging (#1613).
- - [subset] Update font extents in head table (#1612).
- - [subset] Make --retain-gids truncate empty glyphs after the last non-empty glyph
- (#1611).
- - [requirements] Updated ``unicodedata2`` backport for Unicode 12.0.
-
- 3.41.2 (released 2019-05-13)
- ----------------------------
-
- - [cffLib] Fixed issue when importing a ``CFF2`` variable font from XML, whereby
- the VarStore state was not propagated to PrivateDict (#1598).
- - [varLib] Don't drop ``post`` glyph names when building CFF2 variable font (#1609).
-
-
- 3.41.1 (released 2019-05-13)
- ----------------------------
-
- - [designspaceLib] Added ``loadSourceFonts`` method to load source fonts using
- custom opener function (#1606).
- - [head] Round font bounding box coordinates to integers to fix compile error
- if CFF font has float coordinates (#1604, #1605).
- - [feaLib] Don't write ``None`` in ``ast.ValueRecord.asFea()`` (#1599).
- - [subset] Fixed issue ``AssertionError`` when using ``--desubroutinize`` option
- (#1590, #1594).
- - [graphite] Fixed bug in ``Silf`` table's ``decompile`` method unmasked by
- previous typo fix (#1597). Decode languange code as UTF-8 in ``Sill`` table's
- ``decompile`` method (#1600).
-
- 3.41.0 (released 2019-04-29)
- ----------------------------
-
- - [varLib/cffLib] Added support for building ``CFF2`` variable font from sparse
- masters, or masters with more than one model (multiple ``VarStore.VarData``).
- In ``cffLib.specializer``, added support for ``CFF2`` CharStrings with
- ``blend`` operators (#1547, #1591).
- - [subset] Fixed subsetting ``HVAR`` and ``VVAR`` with ``--retain-gids`` option,
- and when advances mapping is null while sidebearings mappings are non-null
- (#1587, #1588).
- - Added ``otlLib.maxContextCalc`` module to compute ``OS/2.usMaxContext`` value.
- Calculate it automatically when compiling features with feaLib. Added option
- ``--recalc-max-context`` to ``subset`` module (#1582).
- - [otBase/otTables] Fixed ``AttributeError`` on missing OT table fields after
- importing font from TTX (#1584).
- - [graphite] Fixed typo ``Silf`` table's ``decompile`` method (#1586).
- - [otlLib] Better compress ``GPOS`` SinglePos (LookupType 1) subtables (#1539).
-
- 3.40.0 (released 2019-04-08)
- ----------------------------
-
- - [subset] Fixed error while subsetting ``VVAR`` with ``--retain-gids``
- option (#1552).
- - [designspaceLib] Use up-to-date default location in ``findDefault`` method
- (#1554).
- - [voltLib] Allow passing file-like object to Parser.
- - [arrayTools/glyf] ``calcIntBounds`` (used to compute bounding boxes of glyf
- table's glyphs) now uses ``otRound`` instead of ``round3`` (#1566).
- - [svgLib] Added support for converting more SVG shapes to path ``d`` strings
- (ellipse, line, polyline), as well as support for ``transform`` attributes.
- Only ``matrix`` transformations are currently supported (#1564, #1564).
- - [varLib] Added support for building ``VVAR`` table from ``vmtx`` and ``VORG``
- tables (#1551).
- - [fontBuilder] Enable making CFF2 fonts with ``post`` table format 2 (#1557).
- - Fixed ``DeprecationWarning`` on invalid escape sequences (#1562).
-
- 3.39.0 (released 2019-03-19)
- ----------------------------
-
- - [ttLib/glyf] Raise more specific error when encountering recursive
- component references (#1545, #1546).
- - [Doc/designspaceLib] Defined new ``public.skipExportGlyphs`` lib key (#1534,
- unified-font-object/ufo-spec#84).
- - [varLib] Use ``vmtx`` to compute vertical phantom points; or ``hhea.ascent``
- and ``head.unitsPerEM`` if ``vmtx`` is missing (#1528).
- - [gvar/cvar] Sort XML element's min/value/max attributes in TupleVariation
- toXML to improve readability of TTX dump (#1527).
- - [varLib.plot] Added support for 2D plots with only 1 variation axis (#1522).
- - [designspaceLib] Use axes maps when normalizing locations in
- DesignSpaceDocument (#1226, #1521), and when finding default source (#1535).
- - [mutator] Set ``OVERLAP_SIMPLE`` and ``OVERLAP_COMPOUND`` glyf flags by
- default in ``instantiateVariableFont``. Added ``--no-overlap`` cli option
- to disable this (#1518).
- - [subset] Fixed subsetting ``VVAR`` table (#1516, #1517).
- Fixed subsetting an ``HVAR`` table that has an ``AdvanceWidthMap`` when the
- option ``--retain-gids`` is used.
- - [feaLib] Added ``forceChained`` in MultipleSubstStatement (#1511).
- Fixed double indentation of ``subtable`` statement (#1512).
- Added support for ``subtable`` statement in more places than just PairPos
- lookups (#1520).
- Handle lookupflag 0 and lookupflag without a value (#1540).
- - [varLib] In ``load_designspace``, provide a default English name for the
- ``ital`` axis tag.
- - Remove pyftinspect because it is unmaintained and bitrotted.
-
- 3.38.0 (released 2019-02-18)
- ----------------------------
-
- - [cffLib] Fixed RecursionError when unpickling or deepcopying TTFont with
- CFF table (#1488, 649dc49).
- - [subset] Fixed AttributeError when using --desubroutinize option (#1490).
- Also, fixed desubroutinizing bug when subrs contain hints (#1499).
- - [CPAL] Make Color a subclass of namedtuple (173a0f5).
- - [feaLib] Allow hyphen in glyph class names.
- - [feaLib] Added 'tables' option to __main__.py (#1497).
- - [feaLib] Add support for special-case contextual positioning formatting
- (#1501).
- - [svgLib] Support converting SVG basic shapes (rect, circle, etc.) into
- equivalent SVG paths (#1500, #1508).
- - [Snippets] Added name-viewer.ipynb Jupyter notebook.
-
-
- 3.37.3 (released 2019-02-05)
- ----------------------------
-
- - The previous release accidentally changed several files from Unix to DOS
- line-endings. Fix that.
-
- 3.37.2 (released 2019-02-05)
- ----------------------------
-
- - [varLib] Temporarily revert the fix to ``load_masters()``, which caused a
- crash in ``interpolate_layout()`` when ``deepcopy``-ing OTFs.
-
- 3.37.1 (released 2019-02-05)
- ----------------------------
-
- - [varLib] ``load_masters()`` now actually assigns the fonts it loads to the
- source.font attributes.
- - [varLib] Fixed an MVAR table generation crash when sparse masters were
- involved.
- - [voltLib] ``parse_coverage_()`` returns a tuple instead of an ast.Enum.
- - [feaLib] A MarkClassDefinition inside a block is no longer doubly indented
- compared to the rest of the block.
-
- 3.37.0 (released 2019-01-28)
- ----------------------------
-
- - [svgLib] Added support for converting elliptical arcs to cubic bezier curves
- (#1464).
- - [py23] Added backport for ``math.isfinite``.
- - [varLib] Apply HIDDEN flag to fvar axis if designspace axis has attribute
- ``hidden=1``.
- - Fixed "DeprecationWarning: invalid escape sequence" in Python 3.7.
- - [voltLib] Fixed parsing glyph groups. Distinguish different PROCESS_MARKS.
- Accept COMPONENT glyph type.
- - [feaLib] Distinguish missing value and explicit ``<NULL>`` for PairPos2
- format A (#1459). Round-trip ``useExtension`` keyword. Implemented
- ``ValueRecord.asFea`` method.
- - [subset] Insert empty widths into hdmx when retaining gids (#1458).
-
- 3.36.0 (released 2019-01-17)
- ----------------------------
-
- - [ttx] Added ``--no-recalc-timestamp`` option to keep the original font's
- ``head.modified`` timestamp (#1455, #46).
- - [ttx/psCharStrings] Fixed issues while dumping and round-tripping CFF2 table
- with ttx (#1451, #1452, #1456).
- - [voltLib] Fixed check for duplicate anchors (#1450). Don't try to read past
- the ``END`` operator in .vtp file (#1453).
- - [varLib] Use sentinel value -0x8000 (-32768) to ignore post.underlineThickness
- and post.underlinePosition when generating MVAR deltas (#1449,
- googlei18n/ufo2ft#308).
- - [subset] Added ``--retain-gids`` option to subset font without modifying the
- current glyph indices (#1443, #1447).
- - [ufoLib] Replace deprecated calls to ``getbytes`` and ``setbytes`` with new
- equivalent ``readbytes`` and ``writebytes`` calls. ``fs`` >= 2.2 no required.
- - [varLib] Allow loading masters from TTX files as well (#1441).
-
- 3.35.2 (released 2019-01-14)
- ----------------------------
-
- - [hmtx/vmtx]: Allow to compile/decompile ``hmtx`` and ``vmtx`` tables even
- without the corresponding (required) metrics header tables, ``hhea`` and
- ``vhea`` (#1439).
- - [varLib] Added support for localized axes' ``labelname`` and named instances'
- ``stylename`` (#1438).
-
- 3.35.1 (released 2019-01-09)
- ----------------------------
-
- - [_m_a_x_p] Include ``maxComponentElements`` in ``maxp`` table's recalculation.
-
- 3.35.0 (released 2019-01-07)
- ----------------------------
-
- - [psCharStrings] In ``encodeFloat`` function, use float's "general format" with
- 8 digits of precision (i.e. ``%8g``) instead of ``str()``. This works around
- a macOS rendering issue when real numbers in CFF table are too long, and
- also makes sure that floats are encoded with the same precision in python 2.7
- and 3.x (#1430, googlei18n/ufo2ft#306).
- - [_n_a_m_e/fontBuilder] Make ``_n_a_m_e_table.addMultilingualName`` also add
- Macintosh (platformID=1) names by default. Added options to ``FontBuilder``
- ``setupNameTable`` method to optionally disable Macintosh or Windows names.
- (#1359, #1431).
- - [varLib] Make ``build`` optionally accept a ``DesignSpaceDocument`` object,
- instead of a designspace file path. The caller can now set the ``font``
- attribute of designspace's sources to a TTFont object, thus allowing to
- skip filenames manipulation altogether (#1416, #1425).
- - [sfnt] Allow SFNTReader objects to be deep-copied.
- - Require typing>=3.6.4 on py27 to fix issue with singledispatch (#1423).
- - [designspaceLib/t1Lib/macRes] Fixed some cases where pathlib.Path objects were
- not accepted (#1421).
- - [varLib] Fixed merging of multiple PairPosFormat2 subtables (#1411).
- - [varLib] The default STAT table version is now set to 1.1, to improve
- compatibility with legacy applications (#1413).
-
- 3.34.2 (released 2018-12-17)
- ----------------------------
-
- - [merge] Fixed AssertionError when none of the script tables in GPOS/GSUB have
- a DefaultLangSys record (#1408, 135a4a1).
-
- 3.34.1 (released 2018-12-17)
- ----------------------------
-
- - [varLib] Work around macOS rendering issue for composites without gvar entry (#1381).
-
- 3.34.0 (released 2018-12-14)
- ----------------------------
-
- - [varLib] Support generation of CFF2 variable fonts. ``model.reorderMasters()``
- now supports arbitrary mapping. Fix handling of overlapping ranges for feature
- variations (#1400).
- - [cffLib, subset] Code clean-up and fixing related to CFF2 support.
- - [ttLib.tables.ttProgram] Use raw strings for regex patterns (#1389).
- - [fontbuilder] Initial support for building CFF2 fonts. Set CFF's
- ``FontMatrix`` automatically from unitsPerEm.
- - [plistLib] Accept the more general ``collections.Mapping`` instead of the
- specific ``dict`` class to support custom data classes that should serialize
- to dictionaries.
-
- 3.33.0 (released 2018-11-30)
- ----------------------------
- - [subset] subsetter bug fix with variable fonts.
- - [varLib.featureVar] Improve FeatureVariations generation with many rules.
- - [varLib] Enable sparse masters when building variable fonts:
- https://github.com/fonttools/fonttools/pull/1368#issuecomment-437257368
- - [varLib.mutator] Add IDEF for GETVARIATION opcode, for handling hints in an
- instance.
- - [ttLib] Ignore the length of kern table subtable format 0
-
- 3.32.0 (released 2018-11-01)
- ----------------------------
-
- - [ufoLib] Make ``UFOWriter`` a subclass of ``UFOReader``, and use mixins
- for shared methods (#1344).
- - [featureVars] Fixed normalization error when a condition's minimum/maximum
- attributes are missing in designspace ``<rule>`` (#1366).
- - [setup.py] Added ``[plot]`` to extras, to optionally install ``matplotlib``,
- needed to use the ``fonTools.varLib.plot`` module.
- - [varLib] Take total bounding box into account when resolving model (7ee81c8).
- If multiple axes have the same range ratio, cut across both (62003f4).
- - [subset] Don't error if ``STAT`` has no ``AxisValue`` tables.
- - [fontBuilder] Added a new submodule which contains a ``FontBuilder`` wrapper
- class around ``TTFont`` that makes it easier to create a working TTF or OTF
- font from scratch with code. NOTE: the API is still experimental and may
- change in future versions.
-
- 3.31.0 (released 2018-10-21)
- ----------------------------
-
- - [ufoLib] Merged the `ufoLib <https://github.com/unified-font-objects/ufoLib>`__
- master branch into a new ``fontTools.ufoLib`` package (#1335, #1095).
- Moved ``ufoLib.pointPen`` module to ``fontTools.pens.pointPen``.
- Moved ``ufoLib.etree`` module to ``fontTools.misc.etree``.
- Moved ``ufoLib.plistlib`` module to ``fontTools.misc.plistlib``.
- To use the new ``fontTools.ufoLib`` module you need to install fonttools
- with the ``[ufo]`` extra, or you can manually install the required additional
- dependencies (cf. README.rst).
- - [morx] Support AAT action type to insert glyphs and clean up compilation
- of AAT action tables (4a1871f, 2011ccf).
- - [subset] The ``--no-hinting`` on a CFF font now also drops the optional
- hinting keys in Private dict: ``ForceBold``, ``LanguageGroup``, and
- ``ExpansionFactor`` (#1322).
- - [subset] Include nameIDs referenced by STAT table (#1327).
- - [loggingTools] Added ``msg=None`` argument to
- ``CapturingLogHandler.assertRegex`` (0245f2c).
- - [varLib.mutator] Implemented ``FeatureVariations`` instantiation (#1244).
- - [g_l_y_f] Added PointPen support to ``_TTGlyph`` objects (#1334).
-
- 3.30.0 (released 2018-09-18)
- ----------------------------
-
- - [feaLib] Skip building noop class PairPos subtables when Coverage is NULL
- (#1318).
- - [ttx] Expose the previously reserved bit flag ``OVERLAP_SIMPLE`` of
- glyf table's contour points in the TTX dump. This is used in some
- implementations to specify a non-zero fill with overlapping contours (#1316).
- - [ttLib] Added support for decompiling/compiling ``TS1C`` tables containing
- VTT sources for ``cvar`` variation table (#1310).
- - [varLib] Use ``fontTools.designspaceLib`` to read DesignSpaceDocument. The
- ``fontTools.varLib.designspace`` module is now deprecated and will be removed
- in future versions. The presence of an explicit ``axes`` element is now
- required in order to build a variable font (#1224, #1313).
- - [varLib] Implemented building GSUB FeatureVariations table from the ``rules``
- element of DesignSpace document (#1240, #713, #1314).
- - [subset] Added ``--no-layout-closure`` option to not expand the subset with
- the glyphs produced by OpenType layout features. Instead, OpenType features
- will be subset to only rules that are relevant to the otherwise-specified
- glyph set (#43, #1121).
-
- 3.29.1 (released 2018-09-10)
- ----------------------------
-
- - [feaLib] Fixed issue whereby lookups from DFLT/dflt were not included in the
- DFLT/non-dflt language systems (#1307).
- - [graphite] Fixed issue on big-endian architectures (e.g. ppc64) (#1311).
- - [subset] Added ``--layout-scripts`` option to add/exclude set of OpenType
- layout scripts that will be preserved. By default all scripts are retained
- (``'*'``) (#1303).
-
- 3.29.0 (released 2018-07-26)
- ----------------------------
-
- - [feaLib] In the OTL table builder, when the ``name`` table is excluded
- from the list of tables to be build, skip compiling ``featureNames`` blocks,
- as the records referenced in ``FeatureParams`` table don't exist (68951b7).
- - [otBase] Try ``ExtensionLookup`` if other offset-overflow methods fail
- (05f95f0).
- - [feaLib] Added support for explicit ``subtable;`` break statements in
- PairPos lookups; previously these were ignored (#1279, #1300, #1302).
- - [cffLib.specializer] Make sure the stack depth does not exceed maxstack - 1,
- so that a subroutinizer can insert subroutine calls (#1301,
- https://github.com/googlei18n/ufo2ft/issues/266).
- - [otTables] Added support for fixing offset overflow errors occurring inside
- ``MarkBasePos`` subtables (#1297).
- - [subset] Write the default output file extension based on ``--flavor`` option,
- or the value of ``TTFont.sfntVersion`` (d7ac0ad).
- - [unicodedata] Updated Blocks, Scripts and ScriptExtensions for Unicode 11
- (452c85e).
- - [xmlWriter] Added context manager to XMLWriter class to autoclose file
- descriptor on exit (#1290).
- - [psCharStrings] Optimize the charstring's bytecode by encoding as integers
- all float values that have no decimal portion (8d7774a).
- - [ttFont] Fixed missing import of ``TTLibError`` exception (#1285).
- - [feaLib] Allow any languages other than ``dflt`` under ``DFLT`` script
- (#1278, #1292).
-
- 3.28.0 (released 2018-06-19)
- ----------------------------
-
- - [featureVars] Added experimental module to build ``FeatureVariations``
- tables. Still needs to be hooked up to ``varLib.build`` (#1240).
- - [fixedTools] Added ``otRound`` to round floats to nearest integer towards
- positive Infinity. This is now used where we deal with visual data like X/Y
- coordinates, advance widths/heights, variation deltas, and similar (#1274,
- #1248).
- - [subset] Improved GSUB closure memoize algorithm.
- - [varLib.models] Fixed regression in model resolution (180124, #1269).
- - [feaLib.ast] Fixed error when converting ``SubtableStatement`` to string
- (#1275).
- - [varLib.mutator] Set ``OS/2.usWeightClass`` and ``usWidthClass``, and
- ``post.italicAngle`` based on the 'wght', 'wdth' and 'slnt' axis values
- (#1276, #1264).
- - [py23/loggingTools] Don't automatically set ``logging.lastResort`` handler
- on py27. Moved ``LastResortLogger`` to the ``loggingTools`` module (#1277).
-
- 3.27.1 (released 2018-06-11)
- ----------------------------
-
- - [ttGlyphPen] Issue a warning and skip building non-existing components
- (https://github.com/googlei18n/fontmake/issues/411).
- - [tests] Fixed issue running ttx_test.py from a tagged commit.
-
- 3.27.0 (released 2018-06-11)
- ----------------------------
-
- - [designspaceLib] Added new ``conditionSet`` element to ``rule`` element in
- designspace document. Bumped ``format`` attribute to ``4.0`` (previously,
- it was formatted as an integer). Removed ``checkDefault``, ``checkAxes``
- methods, and any kind of guessing about the axes when the ``<axes>`` element
- is missing. The default master is expected at the intersection of all default
- values for each axis (#1254, #1255, #1267).
- - [cffLib] Fixed issues when compiling CFF2 or converting from CFF when the
- font has an FDArray (#1211, #1271).
- - [varLib] Avoid attempting to build ``cvar`` table when ``glyf`` table is not
- present, as is the case for CFF2 fonts.
- - [subset] Handle None coverages in MarkGlyphSets; revert commit 02616ab that
- sets empty Coverage tables in MarkGlyphSets to None, to make OTS happy.
- - [ttFont] Allow to build glyph order from ``maxp.numGlyphs`` when ``post`` or
- ``cmap`` are missing.
- - [ttFont] Added ``__len__`` method to ``_TTGlyphSet``.
- - [glyf] Ensure ``GlyphCoordinates`` never overflow signed shorts (#1230).
- - [py23] Added alias for ``itertools.izip`` shadowing the built-in ``zip``.
- - [loggingTools] Memoize ``log`` property of ``LogMixin`` class (fbab12).
- - [ttx] Impoved test coverage (#1261).
- - [Snippets] Addded script to append a suffix to all family names in a font.
- - [varLib.plot] Make it work with matplotlib >= 2.1 (b38e2b).
-
- 3.26.0 (released 2018-05-03)
- ----------------------------
-
- - [designspace] Added a new optional ``layer`` attribute to the source element,
- and a corresponding ``layerName`` attribute to the ``SourceDescriptor``
- object (#1253).
- Added ``conditionset`` element to the ``rule`` element to the spec, but not
- implemented in designspace reader/writer yet (#1254).
- - [varLib.models] Refine modeling one last time (0ecf5c5).
- - [otBase] Fixed sharing of tables referred to by different offset sizes
- (795f2f9).
- - [subset] Don't drop a GDEF that only has VarStore (fc819d6). Set to None
- empty Coverage tables in MarkGlyphSets (02616ab).
- - [varLib]: Added ``--master-finder`` command-line option (#1249).
- - [varLib.mutator] Prune fvar nameIDs from instance's name table (#1245).
- - [otTables] Allow decompiling bad ClassDef tables with invalid format, with
- warning (#1236).
- - [varLib] Make STAT v1.2 and reuse nameIDs from fvar table (#1242).
- - [varLib.plot] Show master locations. Set axis limits to -1, +1.
- - [subset] Handle HVAR direct mapping. Passthrough 'cvar'.
- Added ``--font-number`` command-line option for collections.
- - [t1Lib] Allow a text encoding to be specified when parsing a Type 1 font
- (#1234). Added ``kind`` argument to T1Font constructor (c5c161c).
- - [ttLib] Added context manager API to ``TTFont`` class, so it can be used in
- ``with`` statements to auto-close the file when exiting the context (#1232).
-
- 3.25.0 (released 2018-04-03)
- ----------------------------
-
- - [varLib] Improved support-resolution algorithm. Previously, the on-axis
- masters would always cut the space. They don't anymore. That's more
- consistent, and fixes the main issue Erik showed at TYPO Labs 2017.
- Any varfont built that had an unusual master configuration will change
- when rebuilt (42bef17, a523a697,
- https://github.com/googlei18n/fontmake/issues/264).
- - [varLib.models] Added a ``main()`` entry point, that takes positions and
- prints model results.
- - [varLib.plot] Added new module to plot a designspace's
- VariationModel. Requires ``matplotlib``.
- - [varLib.mutator] Added -o option to specify output file path (2ef60fa).
- - [otTables] Fixed IndexError while pruning of HVAR pre-write (6b6c34a).
- - [varLib.models] Convert delta array to floats if values overflows signed
- short integer (0055f94).
-
- 3.24.2 (released 2018-03-26)
- ----------------------------
-
- - [otBase] Don't fail during ``ValueRecord`` copy if src has more items.
- We drop hinting in the subsetter by simply changing ValueFormat, without
- cleaning up the actual ValueRecords. This was causing assertion error if
- a variable font was subsetted without hinting and then passed directly to
- the mutator for instantiation without first it saving to disk.
-
- 3.24.1 (released 2018-03-06)
- ----------------------------
-
- - [varLib] Don't remap the same ``DeviceTable`` twice in VarStore optimizer
- (#1206).
- - [varLib] Add ``--disable-iup`` option to ``fonttools varLib`` script,
- and a ``optimize=True`` keyword argument to ``varLib.build`` function,
- to optionally disable IUP optimization while building varfonts.
- - [ttCollection] Fixed issue while decompiling ttc with python3 (#1207).
-
- 3.24.0 (released 2018-03-01)
- ----------------------------
-
- - [ttGlyphPen] Decompose composite glyphs if any components' transform is too
- large to fit a ``F2Dot14`` value, or clamp transform values that are
- (almost) equal to +2.0 to make them fit and avoid decomposing (#1200,
- #1204, #1205).
- - [ttx] Added new ``-g`` option to dump glyphs from the ``glyf`` table
- splitted as individual ttx files (#153, #1035, #1132, #1202).
- - Copied ``ufoLib.filenames`` module to ``fontTools.misc.filenames``, used
- for the ttx split-glyphs option (#1202).
- - [feaLib] Added support for ``cvParameters`` blocks in Character Variant
- feautures ``cv01-cv99`` (#860, #1169).
- - [Snippets] Added ``checksum.py`` script to generate/check SHA1 hash of
- ttx files (#1197).
- - [varLib.mutator] Fixed issue while instantiating some variable fonts
- whereby the horizontal advance width computed from ``gvar`` phantom points
- could turn up to be negative (#1198).
- - [varLib/subset] Fixed issue with subsetting GPOS variation data not
- picking up ``ValueRecord`` ``Device`` objects (54fd71f).
- - [feaLib/voltLib] In all AST elements, the ``location`` is no longer a
- required positional argument, but an optional kewyord argument (defaults
- to ``None``). This will make it easier to construct feature AST from
- code (#1201).
-
-
- 3.23.0 (released 2018-02-26)
- ----------------------------
-
- - [designspaceLib] Added an optional ``lib`` element to the designspace as a
- whole, as well as to the instance elements, to store arbitrary data in a
- property list dictionary, similar to the UFO's ``lib``. Added an optional
- ``font`` attribute to the ``SourceDescriptor``, to allow operating on
- in-memory font objects (#1175).
- - [cffLib] Fixed issue with lazy-loading of attributes when attempting to
- set the CFF TopDict.Encoding (#1177, #1187).
- - [ttx] Fixed regression introduced in 3.22.0 that affected the split tables
- ``-s`` option (#1188).
- - [feaLib] Added ``IncludedFeaNotFound`` custom exception subclass, raised
- when an included feature file cannot be found (#1186).
- - [otTables] Changed ``VarIdxMap`` to use glyph names internally instead of
- glyph indexes. The old ttx dumps of HVAR/VVAR tables that contain indexes
- can still be imported (21cbab8, 38a0ffb).
- - [varLib] Implemented VarStore optimizer (#1184).
- - [subset] Implemented pruning of GDEF VarStore, HVAR and MVAR (#1179).
- - [sfnt] Restore backward compatiblity with ``numFonts`` attribute of
- ``SFNTReader`` object (#1181).
- - [merge] Initial support for merging ``LangSysRecords`` (#1180).
- - [ttCollection] don't seek(0) when writing to possibly unseekable strems.
- - [subset] Keep all ``--name-IDs`` from 0 to 6 by default (#1170, #605, #114).
- - [cffLib] Added ``width`` module to calculate optimal CFF default and
- nominal glyph widths.
- - [varLib] Don’t fail if STAT already in the master fonts (#1166).
-
- 3.22.0 (released 2018-02-04)
- ----------------------------
-
- - [subset] Support subsetting ``endchar`` acting as ``seac``-like components
- in ``CFF`` (fixes #1162).
- - [feaLib] Allow to build from pre-parsed ``ast.FeatureFile`` object.
- Added ``tables`` argument to only build some tables instead of all (#1159,
- #1163).
- - [textTools] Replaced ``safeEval`` with ``ast.literal_eval`` (#1139).
- - [feaLib] Added option to the parser to not resolve ``include`` statements
- (#1154).
- - [ttLib] Added new ``ttCollection`` module to read/write TrueType and
- OpenType Collections. Exports a ``TTCollection`` class with a ``fonts``
- attribute containing a list of ``TTFont`` instances, the methods ``save``
- and ``saveXML``, plus some list-like methods. The ``importXML`` method is
- not implemented yet (#17).
- - [unicodeadata] Added ``ot_tag_to_script`` function that converts from
- OpenType script tag to Unicode script code.
- - Added new ``designspaceLib`` subpackage, originally from Erik Van Blokland's
- ``designSpaceDocument``: https://github.com/LettError/designSpaceDocument
- NOTE: this is not yet used internally by varLib, and the API may be subject
- to changes (#911, #1110, LettError/designSpaceDocument#28).
- - Added new FontTools icon images (8ee7c32).
- - [unicodedata] Added ``script_horizontal_direction`` function that returns
- either "LTR" or "RTL" given a unicode script code.
- - [otConverters] Don't write descriptive name string as XML comment if the
- NameID value is 0 (== NULL) (#1151, #1152).
- - [unicodedata] Add ``ot_tags_from_script`` function to get the list of
- OpenType script tags associated with unicode script code (#1150).
- - [feaLib] Don't error when "enumerated" kern pairs conflict with preceding
- single pairs; emit warning and chose the first value (#1147, #1148).
- - [loggingTools] In ``CapturingLogHandler.assertRegex`` method, match the
- fully formatted log message.
- - [sbix] Fixed TypeError when concatenating str and bytes (#1154).
- - [bezierTools] Implemented cusp support and removed ``approximate_fallback``
- arg in ``calcQuadraticArcLength``. Added ``calcCubicArcLength`` (#1142).
-
- 3.21.2 (released 2018-01-08)
- ----------------------------
-
- - [varLib] Fixed merging PairPos Format1/2 with missing subtables (#1125).
-
- 3.21.1 (released 2018-01-03)
- ----------------------------
-
- - [feaLib] Allow mixed single/multiple substitutions (#612)
- - Added missing ``*.afm`` test assets to MAINFEST.in (#1137).
- - Fixed dumping ``SVG`` tables containing color palettes (#1124).
-
- 3.21.0 (released 2017-12-18)
- ----------------------------
-
- - [cmap] when compiling format6 subtable, don't assume gid0 is always called
- '.notdef' (1e42224).
- - [ot] Allow decompiling fonts with bad Coverage format number (1aafae8).
- - Change FontTools licence to MIT (#1127).
- - [post] Prune extra names already in standard Mac set (df1e8c7).
- - [subset] Delete empty SubrsIndex after subsetting (#994, #1118).
- - [varLib] Don't share points in cvar by default, as it currently fails on
- some browsers (#1113).
- - [afmLib] Make poor old afmLib work on python3.
-
- 3.20.1 (released 2017-11-22)
- ----------------------------
-
- - [unicodedata] Fixed issue with ``script`` and ``script_extension`` functions
- returning inconsistent short vs long names. They both return the short four-
- letter script codes now. Added ``script_name`` and ``script_code`` functions
- to look up the long human-readable script name from the script code, and
- viceversa (#1109, #1111).
-
- 3.20.0 (released 2017-11-21)
- ----------------------------
-
- - [unicodedata] Addded new module ``fontTools.unicodedata`` which exports the
- same interface as the built-in ``unicodedata`` module, with the addition of
- a few functions that are missing from the latter, such as ``script``,
- ``script_extension`` and ``block``. Added a ``MetaTools/buildUCD.py`` script
- to download and parse data files from the Unicode Character Database and
- generate python modules containing lists of ranges and property values.
- - [feaLib] Added ``__str__`` method to all ``ast`` elements (delegates to the
- ``asFea`` method).
- - [feaLib] ``Parser`` constructor now accepts a ``glyphNames`` iterable
- instead of ``glyphMap`` dict. The latter still works but with a pending
- deprecation warning (#1104).
- - [bezierTools] Added arc length calculation functions originally from
- ``pens.perimeterPen`` module (#1101).
- - [varLib] Started generating STAT table (8af4309). Right now it just reflects
- the axes, and even that with certain limitations:
- * AxisOrdering is set to the order axes are defined,
- * Name-table entries are not shared with fvar.
- - [py23] Added backports for ``redirect_stdout`` and ``redirect_stderr``
- context managers (#1097).
- - [Graphite] Fixed some round-trip bugs (#1093).
-
- 3.19.0 (released 2017-11-06)
- ----------------------------
-
- - [varLib] Try set of used points instead of all points when testing whether to
- share points between tuples (#1090).
- - [CFF2] Fixed issue with reading/writing PrivateDict BlueValues to TTX file.
- Read the commit message 8b02b5a and issue #1030 for more details.
- NOTE: this change invalidates all the TTX files containing CFF2 tables
- that where dumped with previous verisons of fonttools.
- CFF2 Subr items can have values on the stack after the last operator, thus
- a ``CFF2Subr`` class was added to accommodate this (#1091).
- - [_k_e_r_n] Fixed compilation of AAT kern version=1.0 tables (#1089, #1094)
- - [ttLib] Added getBestCmap() convenience method to TTFont class and cmap table
- class that returns a preferred Unicode cmap subtable given a list of options
- (#1092).
- - [morx] Emit more meaningful subtable flags. Implement InsertionMorphAction
-
- 3.18.0 (released 2017-10-30)
- ----------------------------
-
- - [feaLib] Fixed writing back nested glyph classes (#1086).
- - [TupleVariation] Reactivated shared points logic, bugfixes (#1009).
- - [AAT] Implemented ``morx`` ligature subtables (#1082).
- - [reverseContourPen] Keep duplicate lineTo following a moveTo (#1080,
- https://github.com/googlei18n/cu2qu/issues/51).
- - [varLib.mutator] Suport instantiation of GPOS, GDEF and MVAR (#1079).
- - [sstruct] Fixed issue with ``unicode_literals`` and ``struct`` module in
- old versions of python 2.7 (#993).
-
- 3.17.0 (released 2017-10-16)
- ----------------------------
-
- - [svgPathPen] Added an ``SVGPathPen`` that translates segment pen commands
- into SVG path descriptions. Copied from Tal Leming's ``ufo2svg.svgPathPen``
- https://github.com/typesupply/ufo2svg/blob/d69f992/Lib/ufo2svg/svgPathPen.py
- - [reverseContourPen] Added ``ReverseContourPen``, a filter pen that draws
- contours with the winding direction reversed, while keeping the starting
- point (#1071).
- - [filterPen] Added ``ContourFilterPen`` to manipulate contours as a whole
- rather than segment by segment.
- - [arrayTools] Added ``Vector`` class to apply math operations on an array
- of numbers, and ``pairwise`` function to loop over pairs of items in an
- iterable.
- - [varLib] Added support for building and interpolation of ``cvar`` table
- (f874cf6, a25a401).
-
- 3.16.0 (released 2017-10-03)
- ----------------------------
-
- - [head] Try using ``SOURCE_DATE_EPOCH`` environment variable when setting
- the ``head`` modified timestamp to ensure reproducible builds (#1063).
- See https://reproducible-builds.org/specs/source-date-epoch/
- - [VTT] Decode VTT's ``TSI*`` tables text as UTF-8 (#1060).
- - Added support for Graphite font tables: Feat, Glat, Gloc, Silf and Sill.
- Thanks @mhosken! (#1054).
- - [varLib] Default to using axis "name" attribute if "labelname" element
- is missing (588f524).
- - [merge] Added support for merging Script records. Remove unused features
- and lookups after merge (d802580, 556508b).
- - Added ``fontTools.svgLib`` package. Includes a parser for SVG Paths that
- supports the Pen protocol (#1051). Also, added a snippet to convert SVG
- outlines to UFO GLIF (#1053).
- - [AAT] Added support for ``ankr``, ``bsln``, ``mort``, ``morx``, ``gcid``,
- and ``cidg``.
- - [subset] Implemented subsetting of ``prop``, ``opbd``, ``bsln``, ``lcar``.
-
- 3.15.1 (released 2017-08-18)
- ----------------------------
-
- - [otConverters] Implemented ``__add__`` and ``__radd__`` methods on
- ``otConverters._LazyList`` that decompile a lazy list before adding
- it to another list or ``_LazyList`` instance. Fixes an ``AttributeError``
- in the ``subset`` module when attempting to sum ``_LazyList`` objects
- (6ef48bd2, 1aef1683).
- - [AAT] Support the `opbd` table with optical bounds (a47f6588).
- - [AAT] Support `prop` table with glyph properties (d05617b4).
-
-
- 3.15.0 (released 2017-08-17)
- ----------------------------
-
- - [AAT] Added support for AAT lookups. The ``lcar`` table can be decompiled
- and recompiled; futher work needed to handle ``morx`` table (#1025).
- - [subset] Keep (empty) DefaultLangSys for Script 'DFLT' (6eb807b5).
- - [subset] Support GSUB/GPOS.FeatureVariations (fe01d87b).
- - [varLib] In ``models.supportScalars``, ignore an axis when its peak value
- is 0 (fixes #1020).
- - [varLib] Add default mappings to all axes in avar to fix rendering issue
- in some rasterizers (19c4b377, 04eacf13).
- - [varLib] Flatten multiple tail PairPosFormat2 subtables before merging
- (c55ef525).
- - [ttLib] Added support for recalculating font bounding box in ``CFF`` and
- ``head`` tables, and min/max values in ``hhea`` and ``vhea`` tables (#970).
-
- 3.14.0 (released 2017-07-31)
- ----------------------------
-
- - [varLib.merger] Remove Extensions subtables before merging (f7c20cf8).
- - [varLib] Initialize the avar segment map with required default entries
- (#1014).
- - [varLib] Implemented optimal IUP optmiziation (#1019).
- - [otData] Add ``AxisValueFormat4`` for STAT table v1.2 from OT v1.8.2
- (#1015).
- - [name] Fixed BCP46 language tag for Mac langID=9: 'si' -> 'sl'.
- - [subset] Return value from ``_DehintingT2Decompiler.op_hintmask``
- (c0d672ba).
- - [cffLib] Allow to get TopDict by index as well as by name (dca96c9c).
- - [cffLib] Removed global ``isCFF2`` state; use one set of classes for
- both CFF and CFF2, maintaining backward compatibility existing code (#1007).
- - [cffLib] Deprecated maxstack operator, per OpenType spec update 1.8.1.
- - [cffLib] Added missing default (-100) for UnderlinePosition (#983).
- - [feaLib] Enable setting nameIDs greater than 255 (#1003).
- - [varLib] Recalculate ValueFormat when merging SinglePos (#996).
- - [varLib] Do not emit MVAR if there are no entries in the variation store
- (#987).
- - [ttx] For ``-x`` option, pad with space if table tag length is < 4.
-
- 3.13.1 (released 2017-05-30)
- ----------------------------
-
- - [feaLib.builder] Removed duplicate lookups optimization. The original
- lookup order and semantics of the feature file are preserved (#976).
-
- 3.13.0 (released 2017-05-24)
- ----------------------------
-
- - [varLib.mutator] Implement IUP optimization (#969).
- - [_g_l_y_f.GlyphCoordinates] Changed ``__bool__()`` semantics to match those
- of other iterables (e46f949). Removed ``__abs__()`` (3db5be2).
- - [varLib.interpolate_layout] Added ``mapped`` keyword argument to
- ``interpolate_layout`` to allow disabling avar mapping: if False (default),
- the location is mapped using the map element of the axes in designspace file;
- if True, it is assumed that location is in designspace's internal space and
- no mapping is performed (#950, #975).
- - [varLib.interpolate_layout] Import designspace-loading logic from varLib.
- - [varLib] Fixed bug with recombining PairPosClass2 subtables (81498e5, #914).
- - [cffLib.specializer] When copying iterables, cast to list (462b7f86).
-
- 3.12.1 (released 2017-05-18)
- ----------------------------
-
- - [pens.t2CharStringPen] Fixed AttributeError when calling addComponent in
- T2CharStringPen (#965).
-
- 3.12.0 (released 2017-05-17)
- ----------------------------
-
- - [cffLib.specializer] Added new ``specializer`` module to optimize CFF
- charstrings, used by the T2CharStringPen (#948).
- - [varLib.mutator] Sort glyphs by component depth before calculating composite
- glyphs' bounding boxes to ensure deltas are correctly caclulated (#945).
- - [_g_l_y_f] Fixed loss of precision in GlyphCoordinates by using 'd' (double)
- instead of 'f' (float) as ``array.array`` typecode (#963, #964).
-
- 3.11.0 (released 2017-05-03)
- ----------------------------
-
- - [t2CharStringPen] Initial support for specialized Type2 path operators:
- vmoveto, hmoveto, vlineto, hlineto, vvcurveto, hhcurveto, vhcurveto and
- hvcurveto. This should produce more compact charstrings (#940, #403).
- - [Doc] Added Sphinx sources for the documentation. Thanks @gferreira (#935).
- - [fvar] Expose flags in XML (#932)
- - [name] Add helper function for building multi-lingual names (#921)
- - [varLib] Fixed kern merging when a PairPosFormat2 has ClassDef1 with glyphs
- that are NOT present in the Coverage (1b5e1c4, #939).
- - [varLib] Fixed non-deterministic ClassDef order with PY3 (f056c12, #927).
- - [feLib] Throw an error when the same glyph is defined in multiple mark
- classes within the same lookup (3e3ff00, #453).
-
- 3.10.0 (released 2017-04-14)
- ----------------------------
-
- - [varLib] Added support for building ``avar`` table, using the designspace
- ``<map>`` elements.
- - [varLib] Removed unused ``build(..., axisMap)`` argument. Axis map should
- be specified in designspace file now. We do not accept nonstandard axes
- if ``<axes>`` element is not present.
- - [varLib] Removed "custom" axis from the ``standard_axis_map``. This was
- added before when glyphsLib was always exporting the (unused) custom axis.
- - [varLib] Added partial support for building ``MVAR`` table; does not
- implement ``gasp`` table variations yet.
- - [pens] Added FilterPen base class, for pens that control another pen;
- factored out ``addComponent`` method from BasePen into a separate abstract
- DecomposingPen class; added DecomposingRecordingPen, which records
- components decomposed as regular contours.
- - [TSI1] Fixed computation of the textLength of VTT private tables (#913).
- - [loggingTools] Added ``LogMixin`` class providing a ``log`` property to
- subclasses, which returns a ``logging.Logger`` named after the latter.
- - [loggingTools] Added ``assertRegex`` method to ``CapturingLogHandler``.
- - [py23] Added backport for python 3's ``types.SimpleNamespace`` class.
- - [EBLC] Fixed issue with python 3 ``zip`` iterator.
-
- 3.9.2 (released 2017-04-08)
- ---------------------------
-
- - [pens] Added pen to draw glyphs using WxPython ``GraphicsPath`` class:
- https://wxpython.org/docs/api/wx.GraphicsPath-class.html
- - [varLib.merger] Fixed issue with recombining multiple PairPosFormat2
- subtables (#888)
- - [varLib] Do not encode gvar deltas that are all zeroes, or if all values
- are smaller than tolerance.
- - [ttLib] _TTGlyphSet glyphs now also have ``height`` and ``tsb`` (top
- side bearing) attributes from the ``vmtx`` table, if present.
- - [glyf] In ``GlyphCoordintes`` class, added ``__bool__`` / ``__nonzero__``
- methods, and ``array`` property to get raw array.
- - [ttx] Support reading TTX files with BOM (#896)
- - [CFF2] Fixed the reporting of the number of regions in the font.
-
- 3.9.1 (released 2017-03-20)
- ---------------------------
-
- - [varLib.merger] Fixed issue while recombining multiple PairPosFormat2
- subtables if they were split because of offset overflows (9798c30).
- - [varLib.merger] Only merge multiple PairPosFormat1 subtables if there is
- at least one of the fonts with a non-empty Format1 subtable (0f5a46b).
- - [varLib.merger] Fixed IndexError with empty ClassDef1 in PairPosFormat2
- (aad0d46).
- - [varLib.merger] Avoid reusing Class2Record (mutable) objects (e6125b3).
- - [varLib.merger] Calculate ClassDef1 and ClassDef2's Format when merging
- PairPosFormat2 (23511fd).
- - [macUtils] Added missing ttLib import (b05f203).
-
- 3.9.0 (released 2017-03-13)
- ---------------------------
-
- - [feaLib] Added (partial) support for parsing feature file comments ``# ...``
- appearing in between statements (#879).
- - [feaLib] Cleaned up syntax tree for FeatureNames.
- - [ttLib] Added support for reading/writing ``CFF2`` table (thanks to
- @readroberts at Adobe), and ``TTFA`` (ttfautohint) table.
- - [varLib] Fixed regression introduced with 3.8.0 in the calculation of
- ``NumShorts``, i.e. the number of deltas in ItemVariationData's delta sets
- that use a 16-bit representation (b2825ff).
-
- 3.8.0 (released 2017-03-05)
- ---------------------------
-
- - New pens: MomentsPen, StatisticsPen, RecordingPen, and TeePen.
- - [misc] Added new ``fontTools.misc.symfont`` module, for symbolic font
- statistical analysis; requires ``sympy`` (http://www.sympy.org/en/index.html)
- - [varLib] Added experimental ``fontTools.varLib.interpolatable`` module for
- finding wrong contour order between different masters
- - [varLib] designspace.load() now returns a dictionary, instead of a tuple,
- and supports <axes> element (#864); the 'masters' item was renamed 'sources',
- like the <sources> element in the designspace document
- - [ttLib] Fixed issue with recalculating ``head`` modified timestamp when
- saving CFF fonts
- - [ttLib] In TupleVariation, round deltas before compiling (#861, fixed #592)
- - [feaLib] Ignore duplicate glyphs in classes used as MarkFilteringSet and
- MarkAttachmentType (#863)
- - [merge] Changed the ``gasp`` table merge logic so that only the one from
- the first font is retained, similar to other hinting tables (#862)
- - [Tests] Added tests for the ``varLib`` package, as well as test fonts
- from the "Annotated OpenType Specification" (AOTS) to exercise ``ttLib``'s
- table readers/writers (<https://github.com/adobe-type-tools/aots>)
-
- 3.7.2 (released 2017-02-17)
- ---------------------------
-
- - [subset] Keep advance widths when stripping ".notdef" glyph outline in
- CID-keyed CFF fonts (#845)
- - [feaLib] Zero values now produce the same results as makeotf (#633, #848)
- - [feaLib] More compact encoding for “Contextual positioning with in-line
- single positioning rules” (#514)
-
- 3.7.1 (released 2017-02-15)
- ---------------------------
-
- - [subset] Fixed issue with ``--no-hinting`` option whereby advance widths in
- Type 2 charstrings were also being stripped (#709, #343)
- - [feaLib] include statements now resolve relative paths like makeotf (#838)
- - [feaLib] table ``name`` now handles Unicode codepoints beyond the Basic
- Multilingual Plane, also supports old-style MacOS platform encodings (#842)
- - [feaLib] correctly escape string literals when emitting feature syntax (#780)
-
- 3.7.0 (released 2017-02-11)
- ---------------------------
-
- - [ttx, mtiLib] Preserve ordering of glyph alternates in GSUB type 3 (#833).
- - [feaLib] Glyph names can have dashes, as per new AFDKO syntax v1.20 (#559).
- - [feaLib] feaLib.Parser now needs the font's glyph map for parsing.
- - [varLib] Fix regression where GPOS values were stored as 0.
- - [varLib] Allow merging of class-based kerning when ClassDefs are different
-
- 3.6.3 (released 2017-02-06)
- ---------------------------
-
- - [varLib] Fix building variation of PairPosFormat2 (b5c34ce).
- - Populate defaults even for otTables that have postRead (e45297b).
- - Fix compiling of MultipleSubstFormat1 with zero 'out' glyphs (b887860).
-
- 3.6.2 (released 2017-01-30)
- ---------------------------
-
- - [varLib.merger] Fixed "TypeError: reduce() of empty sequence with no
- initial value" (3717dc6).
-
- 3.6.1 (released 2017-01-28)
- ---------------------------
-
- - [py23] Fixed unhandled exception occurring at interpreter shutdown in
- the "last resort" logging handler (972b3e6).
- - [agl] Ensure all glyph names are of native 'str' type; avoid mixing
- 'str' and 'unicode' in TTFont.glyphOrder (d8c4058).
- - Fixed inconsistent title levels in README.rst that caused PyPI to
- incorrectly render the reStructuredText page.
-
- 3.6.0 (released 2017-01-26)
- ---------------------------
-
- - [varLib] Refactored and improved the variation-font-building process.
- - Assembly code in the fpgm, prep, and glyf tables is now indented in
- XML output for improved readability. The ``instruction`` element is
- written as a simple tag if empty (#819).
- - [ttx] Fixed 'I/O operation on closed file' error when dumping
- multiple TTXs to standard output with the '-o -' option.
- - The unit test modules (``*_test.py``) have been moved outside of the
- fontTools package to the Tests folder, thus they are no longer
- installed (#811).
-
- 3.5.0 (released 2017-01-14)
- ---------------------------
-
- - Font tables read from XML can now be written back to XML with no
- loss.
- - GSUB/GPOS LookupType is written out in XML as an element, not
- comment. (#792)
- - When parsing cmap table, do not store items mapped to glyph id 0.
- (#790)
- - [otlLib] Make ClassDef sorting deterministic. Fixes #766 (7d1ddb2)
- - [mtiLib] Added unit tests (#787)
- - [cvar] Implemented cvar table
- - [gvar] Renamed GlyphVariation to TupleVariation to match OpenType
- terminology.
- - [otTables] Handle gracefully empty VarData.Item array when compiling
- XML. (#797)
- - [varLib] Re-enabled generation of ``HVAR`` table for fonts with
- TrueType outlines; removed ``--build-HVAR`` command-line option.
- - [feaLib] The parser can now be extended to support non-standard
- statements in FEA code by using a customized Abstract Syntax Tree.
- See, for example, ``feaLib.builder_test.test_extensions`` and
- baseClass.feax (#794, fixes #773).
- - [feaLib] Added ``feaLib`` command to the 'fonttools' command-line
- tool; applies a feature file to a font. ``fonttools feaLib -h`` for
- help.
- - [pens] The ``T2CharStringPen`` now takes an optional
- ``roundTolerance`` argument to control the rounding of coordinates
- (#804, fixes #769).
- - [ci] Measure test coverage on all supported python versions and OSes,
- combine coverage data and upload to
- https://codecov.io/gh/fonttools/fonttools (#786)
- - [ci] Configured Travis and Appveyor for running tests on Python 3.6
- (#785, 55c03bc)
- - The manual pages installation directory can be customized through
- ``FONTTOOLS_MANPATH`` environment variable (#799, fixes #84).
- - [Snippets] Added otf2ttf.py, for converting fonts from CFF to
- TrueType using the googlei18n/cu2qu module (#802)
-
- 3.4.0 (released 2016-12-21)
- ---------------------------
-
- - [feaLib] Added support for generating FEA text from abstract syntax
- tree (AST) objects (#776). Thanks @mhosken
- - Added ``agl.toUnicode`` function to convert AGL-compliant glyph names
- to Unicode strings (#774)
- - Implemented MVAR table (b4d5381)
-
- 3.3.1 (released 2016-12-15)
- ---------------------------
-
- - [setup] We no longer use versioneer.py to compute fonttools version
- from git metadata, as this has caused issues for some users (#767).
- Now we bump the version strings manually with a custom ``release``
- command of setup.py script.
-
- 3.3.0 (released 2016-12-06)
- ---------------------------
-
- - [ttLib] Implemented STAT table from OpenType 1.8 (#758)
- - [cffLib] Fixed decompilation of CFF fonts containing non-standard
- key/value pairs in FontDict (issue #740; PR #744)
- - [py23] minor: in ``round3`` function, allow the second argument to be
- ``None`` (#757)
- - The standalone ``sstruct`` and ``xmlWriter`` modules, deprecated
- since vesion 3.2.0, have been removed. They can be imported from the
- ``fontTools.misc`` package.
-
- 3.2.3 (released 2016-12-02)
- ---------------------------
-
- - [py23] optimized performance of round3 function; added backport for
- py35 math.isclose() (9d8dacb)
- - [subset] fixed issue with 'narrow' (UCS-2) Python 2 builds and
- ``--text``/``--text-file`` options containing non-BMP chararcters
- (16d0e5e)
- - [varLib] fixed issuewhen normalizing location values (8fa2ee1, #749)
- - [inspect] Made it compatible with both python2 and python3 (167ee60,
- #748). Thanks @pnemade
-
- 3.2.2 (released 2016-11-24)
- ---------------------------
-
- - [varLib] Do not emit null axes in fvar (1bebcec). Thanks @robmck-ms
- - [varLib] Handle fonts without GPOS (7915a45)
- - [merge] Ignore LangSys if None (a11bc56)
- - [subset] Fix subsetting MathVariants (78d3cbe)
- - [OS/2] Fix "Private Use (plane 15)" range (08a0d55). Thanks @mashabow
-
- 3.2.1 (released 2016-11-03)
- ---------------------------
-
- - [OS/2] fix checking ``fsSelection`` bits matching ``head.macStyle``
- bits
- - [varLib] added ``--build-HVAR`` option to generate ``HVAR`` table for
- fonts with TrueType outlines. For ``CFF2``, it is enabled by default.
-
- 3.2.0 (released 2016-11-02)
- ---------------------------
-
- - [varLib] Improve support for OpenType 1.8 Variable Fonts:
- - Implement GDEF's VariationStore
- - Implement HVAR/VVAR tables
- - Partial support for loading MutatorMath .designspace files with
- varLib.designspace module
- - Add varLib.models with Variation fonts interpolation models
- - Implement GSUB/GPOS FeatureVariations
- - Initial support for interpolating and merging OpenType Layout tables
- (see ``varLib.interpolate_layout`` and ``varLib.merger`` modules)
- - [API change] Change version to be an integer instead of a float in
- XML output for GSUB, GPOS, GDEF, MATH, BASE, JSTF, HVAR, VVAR, feat,
- hhea and vhea tables. Scripts that set the Version for those to 1.0
- or other float values also need fixing. A warning is emitted when
- code or XML needs fix.
- - several bug fixes to the cffLib module, contributed by Adobe's
- @readroberts
- - The XML output for CFF table now has a 'major' and 'minor' elements
- for specifying whether it's version 1.0 or 2.0 (support for CFF2 is
- coming soon)
- - [setup.py] remove undocumented/deprecated ``extra_path`` Distutils
- argument. This means that we no longer create a "FontTools" subfolder
- in site-packages containing the actual fontTools package, as well as
- the standalone xmlWriter and sstruct modules. The latter modules are
- also deprecated, and scheduled for removal in upcoming releases.
- Please change your import statements to point to from fontTools.misc
- import xmlWriter and from fontTools.misc import sstruct.
- - [scripts] Add a 'fonttools' command-line tool that simply runs
- ``fontTools.*`` sub-modules: e.g. ``fonttools ttx``,
- ``fonttools subset``, etc.
- - [hmtx/vmts] Read advance width/heights as unsigned short (uint16);
- automatically round float values to integers.
- - [ttLib/xmlWriter] add 'newlinestr=None' keyword argument to
- ``TTFont.saveXML`` for overriding os-specific line endings (passed on
- to ``XMLWriter`` instances).
- - [versioning] Use versioneer instead of ``setuptools_scm`` to
- dynamically load version info from a git checkout at import time.
- - [feaLib] Support backslash-prefixed glyph names.
-
- 3.1.2 (released 2016-09-27)
- ---------------------------
-
- - restore Makefile as an alternative way to build/check/install
- - README.md: update instructions for installing package from source,
- and for running test suite
- - NEWS: Change log was out of sync with tagged release
-
- 3.1.1 (released 2016-09-27)
- ---------------------------
-
- - Fix ``ttLibVersion`` attribute in TTX files still showing '3.0'
- instead of '3.1'.
- - Use ``setuptools_scm`` to manage package versions.
-
- 3.1.0 (released 2016-09-26)
- ---------------------------
-
- - [feaLib] New library to parse and compile Adobe FDK OpenType Feature
- files.
- - [mtiLib] New library to parse and compile Monotype 'FontDame'
- OpenType Layout Tables files.
- - [voltLib] New library to parse Microsoft VOLT project files.
- - [otlLib] New library to work with OpenType Layout tables.
- - [varLib] New library to work with OpenType Font Variations.
- - [pens] Add ttGlyphPen to draw to TrueType glyphs, and t2CharStringPen
- to draw to Type 2 Charstrings (CFF); add areaPen and perimeterPen.
- - [ttLib.tables] Implement 'meta' and 'trak' tables.
- - [ttx] Add --flavor option for compiling to 'woff' or 'woff2'; add
- ``--with-zopfli`` option to use Zopfli to compress WOFF 1.0 fonts.
- - [subset] Support subsetting 'COLR'/'CPAL' and 'CBDT'/'CBLC' color
- fonts tables, and 'gvar' table for variation fonts.
- - [Snippets] Add ``symfont.py``, for symbolic font statistics analysis;
- interpolatable.py, a preliminary script for detecting interpolation
- errors; ``{merge,dump}_woff_metadata.py``.
- - [classifyTools] Helpers to classify things into classes.
- - [CI] Run tests on Windows, Linux and macOS using Appveyor and Travis
- CI; check unit test coverage with Coverage.py/Coveralls; automatic
- deployment to PyPI on tags.
- - [loggingTools] Use Python built-in logging module to print messages.
- - [py23] Make round() behave like Python 3 built-in round(); define
- round2() and round3().
-
- 3.0 (released 2015-09-01)
- -------------------------
-
- - Add Snippet scripts for cmap subtable format conversion, printing
- GSUB/GPOS features, building a GX font from two masters
- - TTX WOFF2 support and a ``-f`` option to overwrite output file(s)
- - Support GX tables: ``avar``, ``gvar``, ``fvar``, ``meta``
- - Support ``feat`` and gzip-compressed SVG tables
- - Upgrade Mac East Asian encodings to native implementation if
- available
- - Add Roman Croatian and Romanian encodings, codecs for mac-extended
- East Asian encodings
- - Implement optimal GLYF glyph outline packing; disabled by default
-
- 2.5 (released 2014-09-24)
- -------------------------
-
- - Add a Qt pen
- - Add VDMX table converter
- - Load all OpenType sub-structures lazily
- - Add support for cmap format 13.
- - Add pyftmerge tool
- - Update to Unicode 6.3.0d3
- - Add pyftinspect tool
- - Add support for Google CBLC/CBDT color bitmaps, standard EBLC/EBDT
- embedded bitmaps, and ``SVG`` table (thanks to Read Roberts at Adobe)
- - Add support for loading, saving and ttx'ing WOFF file format
- - Add support for Microsoft COLR/CPAL layered color glyphs
- - Support PyPy
- - Support Jython, by replacing numpy with array/lists modules and
- removed it, pure-Python StringIO, not cStringIO
- - Add pyftsubset and Subsetter object, supporting CFF and TTF
- - Add to ttx args for -q for quiet mode, -z to choose a bitmap dump
- format
-
- 2.4 (released 2013-06-22)
- -------------------------
-
- - Option to write to arbitrary files
- - Better dump format for DSIG
- - Better detection of OTF XML
- - Fix issue with Apple's kern table format
- - Fix mangling of TT glyph programs
- - Fix issues related to mona.ttf
- - Fix Windows Installer instructions
- - Fix some modern MacOS issues
- - Fix minor issues and typos
-
- 2.3 (released 2009-11-08)
- -------------------------
-
- - TrueType Collection (TTC) support
- - Python 2.6 support
- - Update Unicode data to 5.2.0
- - Couple of bug fixes
-
- 2.2 (released 2008-05-18)
- -------------------------
-
- - ClearType support
- - cmap format 1 support
- - PFA font support
- - Switched from Numeric to numpy
- - Update Unicode data to 5.1.0
- - Update AGLFN data to 1.6
- - Many bug fixes
-
- 2.1 (released 2008-01-28)
- -------------------------
-
- - Many years worth of fixes and features
-
- 2.0b2 (released 2002-??-??)
- ---------------------------
-
- - Be "forgiving" when interpreting the maxp table version field:
- interpret any value as 1.0 if it's not 0.5. Fixes dumping of these
- GPL fonts: http://www.freebsd.org/cgi/pds.cgi?ports/chinese/wangttf
- - Fixed ttx -l: it turned out this part of the code didn't work with
- Python 2.2.1 and earlier. My bad to do most of my testing with a
- different version than I shipped TTX with :-(
- - Fixed bug in ClassDef format 1 subtable (Andreas Seidel bumped into
- this one).
-
- 2.0b1 (released 2002-09-10)
- ---------------------------
-
- - Fixed embarrassing bug: the master checksum in the head table is now
- calculated correctly even on little-endian platforms (such as Intel).
- - Made the cmap format 4 compiler smarter: the binary data it creates
- is now more or less as compact as possible. TTX now makes more
- compact data than in any shipping font I've tested it with.
- - Dump glyph names as a separate "GlyphOrder" pseudo table as opposed
- to as part of the glyf table (obviously needed for CFF-OTF's).
- - Added proper support for the CFF table.
- - Don't barf on empty tables (questionable, but "there are font out
- there...")
- - When writing TT glyf data, align glyphs on 4-byte boundaries. This
- seems to be the current recommendation by MS. Also: don't barf on
- fonts which are already 4-byte aligned.
- - Windows installer contributed bu Adam Twardoch! Yay!
- - Changed the command line interface again, now by creating one new
- tool replacing the old ones: ttx It dumps and compiles, depending on
- input file types. The options have changed somewhat.
- - The -d option is back (output dir)
- - ttcompile's -i options is now called -m (as in "merge"), to avoid
- clash with dump's -i.
- - The -s option ("split tables") no longer creates a directory, but
- instead outputs a small .ttx file containing references to the
- individual table files. This is not a true link, it's a simple file
- name, and the referenced file should be in the same directory so
- ttcompile can find them.
- - compile no longer accepts a directory as input argument. Instead it
- can parse the new "mini-ttx" format as output by "ttx -s".
- - all arguments are input files
- - Renamed the command line programs and moved them to the Tools
- subdirectory. They are now installed by the setup.py install script.
- - Added OpenType support. BASE, GDEF, GPOS, GSUB and JSTF are (almost)
- fully supported. The XML output is not yet final, as I'm still
- considering to output certain subtables in a more human-friendly
- manner.
- - Fixed 'kern' table to correctly accept subtables it doesn't know
- about, as well as interpreting Apple's definition of the 'kern' table
- headers correctly.
- - Fixed bug where glyphnames were not calculated from 'cmap' if it was
- (one of the) first tables to be decompiled. More specifically: it
- cmap was the first to ask for a glyphID -> glyphName mapping.
- - Switched XML parsers: use expat instead of xmlproc. Should be faster.
- - Removed my UnicodeString object: I now require Python 2.0 or up,
- which has unicode support built in.
- - Removed assert in glyf table: redundant data at the end of the table
- is now ignored instead of raising an error. Should become a warning.
- - Fixed bug in hmtx/vmtx code that only occured if all advances were
- equal.
- - Fixed subtle bug in TT instruction disassembler.
- - Couple of fixes to the 'post' table.
- - Updated OS/2 table to latest spec.
-
- 1.0b1 (released 2001-08-10)
- ---------------------------
-
- - Reorganized the command line interface for ttDump.py and
- ttCompile.py, they now behave more like "normal" command line tool,
- in that they accept multiple input files for batch processing.
- - ttDump.py and ttCompile.py don't silently override files anymore, but
- ask before doing so. Can be overridden by -f.
- - Added -d option to both ttDump.py and ttCompile.py.
- - Installation is now done with distutils. (Needs work for environments
- without compilers.)
- - Updated installation instructions.
- - Added some workarounds so as to handle certain buggy fonts more
- gracefully.
- - Updated Unicode table to Unicode 3.0 (Thanks Antoine!)
- - Included a Python script by Adam Twardoch that adds some useful stuff
- to the Windows registry.
- - Moved the project to SourceForge.
-
- 1.0a6 (released 2000-03-15)
- ---------------------------
-
- - Big reorganization: made ttLib a subpackage of the new fontTools
- package, changed several module names. Called the entire suite
- "FontTools"
- - Added several submodules to fontTools, some new, some older.
- - Added experimental CFF/GPOS/GSUB support to ttLib, read-only (but XML
- dumping of GPOS/GSUB is for now disabled)
- - Fixed hdmx endian bug
- - Added -b option to ttCompile.py, it disables recalculation of
- bounding boxes, as requested by Werner Lemberg.
- - Renamed tt2xml.pt to ttDump.py and xml2tt.py to ttCompile.py
- - Use ".ttx" as file extension instead of ".xml".
- - TTX is now the name of the XML-based *format* for TT fonts, and not
- just an application.
-
- 1.0a5
- -----
-
- Never released
-
- - More tables supported: hdmx, vhea, vmtx
-
- 1.0a3 & 1.0a4
- -------------
-
- Never released
-
- - fixed most portability issues
- - retracted the "Euro_or_currency" change from 1.0a2: it was
- nonsense!
-
- 1.0a2 (released 1999-05-02)
- ---------------------------
-
- - binary release for MacOS
- - genenates full FOND resources: including width table, PS font name
- info and kern table if applicable.
- - added cmap format 4 support. Extra: dumps Unicode char names as XML
- comments!
- - added cmap format 6 support
- - now accepts true type files starting with "true" (instead of just
- 0x00010000 and "OTTO")
- - 'glyf' table support is now complete: I added support for composite
- scale, xy-scale and two-by-two for the 'glyf' table. For now,
- component offset scale behaviour defaults to Apple-style. This only
- affects the (re)calculation of the glyph bounding box.
- - changed "Euro" to "Euro_or_currency" in the Standard Apple Glyph
- order list, since we cannot tell from the 'post' table which is
- meant. I should probably doublecheck with a Unicode encoding if
- available. (This does not affect the output!)
-
- Fixed bugs: - 'hhea' table is now recalculated correctly - fixed wrong
- assumption about sfnt resource names
-
- 1.0a1 (released 1999-04-27)
- ---------------------------
-
- - initial binary release for MacOS
-
-Platform: Any
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: Environment :: Console
-Classifier: Environment :: Other Environment
-Classifier: Intended Audience :: Developers
-Classifier: Intended Audience :: End Users/Desktop
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Natural Language :: English
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 3
-Classifier: Topic :: Text Processing :: Fonts
-Classifier: Topic :: Multimedia :: Graphics
-Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
-Requires-Python: >=3.6
-Provides-Extra: ufo
-Provides-Extra: lxml
-Provides-Extra: woff
-Provides-Extra: unicode
-Provides-Extra: graphite
-Provides-Extra: interpolatable
-Provides-Extra: plot
-Provides-Extra: symfont
-Provides-Extra: type1
-Provides-Extra: pathops
-Provides-Extra: all
diff --git a/Lib/fonttools.egg-info/SOURCES.txt b/Lib/fonttools.egg-info/SOURCES.txt
deleted file mode 100644
index f1e3365b..00000000
--- a/Lib/fonttools.egg-info/SOURCES.txt
+++ /dev/null
@@ -1,2093 +0,0 @@
-.appveyor.yml
-.codecov.yml
-.coveragerc
-.travis.yml
-LICENSE
-LICENSE.external
-MANIFEST.in
-Makefile
-NEWS.rst
-README.rst
-dev-requirements.txt
-fonttools
-requirements.txt
-run-tests.sh
-setup.cfg
-setup.py
-tox.ini
-.travis/after_success.sh
-.travis/before_install.sh
-.travis/install.sh
-.travis/run.sh
-Doc/Makefile
-Doc/README.md
-Doc/docs-requirements.txt
-Doc/make.bat
-Doc/man/man1/ttx.1
-Doc/source/afmLib.rst
-Doc/source/agl.rst
-Doc/source/conf.py
-Doc/source/developer.rst
-Doc/source/index.rst
-Doc/source/merge.rst
-Doc/source/mtiLib.rst
-Doc/source/optional.rst
-Doc/source/t1Lib.rst
-Doc/source/ttx.rst
-Doc/source/unicode.rst
-Doc/source/voltLib.rst
-Doc/source/assets/img/favicon.ico
-Doc/source/cffLib/index.rst
-Doc/source/cffLib/specializer.rst
-Doc/source/cffLib/width.rst
-Doc/source/colorLib/index.rst
-Doc/source/cu2qu/index.rst
-Doc/source/designspaceLib/index.rst
-Doc/source/designspaceLib/readme.rst
-Doc/source/designspaceLib/scripting.rst
-Doc/source/encodings/index.rst
-Doc/source/feaLib/index.rst
-Doc/source/misc/arrayTools.rst
-Doc/source/misc/bezierTools.rst
-Doc/source/misc/classifyTools.rst
-Doc/source/misc/cliTools.rst
-Doc/source/misc/eexec.rst
-Doc/source/misc/encodingTools.rst
-Doc/source/misc/etree.rst
-Doc/source/misc/filenames.rst
-Doc/source/misc/fixedTools.rst
-Doc/source/misc/index.rst
-Doc/source/misc/intTools.rst
-Doc/source/misc/loggingTools.rst
-Doc/source/misc/macCreatorType.rst
-Doc/source/misc/macRes.rst
-Doc/source/misc/plistlib.rst
-Doc/source/misc/psCharStrings.rst
-Doc/source/misc/psLib.rst
-Doc/source/misc/psOperators.rst
-Doc/source/misc/py23.rst
-Doc/source/misc/sstruct.rst
-Doc/source/misc/symfont.rst
-Doc/source/misc/testTools.rst
-Doc/source/misc/textTools.rst
-Doc/source/misc/timeTools.rst
-Doc/source/misc/transform.rst
-Doc/source/misc/xmlReader.rst
-Doc/source/misc/xmlWriter.rst
-Doc/source/otlLib/index.rst
-Doc/source/pens/areaPen.rst
-Doc/source/pens/basePen.rst
-Doc/source/pens/boundsPen.rst
-Doc/source/pens/cocoaPen.rst
-Doc/source/pens/cu2quPen.rst
-Doc/source/pens/filterPen.rst
-Doc/source/pens/index.rst
-Doc/source/pens/momentsPen.rst
-Doc/source/pens/perimeterPen.rst
-Doc/source/pens/pointInsidePen.rst
-Doc/source/pens/pointPen.rst
-Doc/source/pens/qtPen.rst
-Doc/source/pens/recordingPen.rst
-Doc/source/pens/reportLabPen.rst
-Doc/source/pens/reverseContourPen.rst
-Doc/source/pens/roundingPen.rst
-Doc/source/pens/statisticsPen.rst
-Doc/source/pens/svgPathPen.rst
-Doc/source/pens/t2CharStringPen.rst
-Doc/source/pens/teePen.rst
-Doc/source/pens/transformPen.rst
-Doc/source/pens/ttGlyphPen.rst
-Doc/source/pens/wxPen.rst
-Doc/source/subset/cff.rst
-Doc/source/subset/index.rst
-Doc/source/svgLib/index.rst
-Doc/source/svgLib/path/index.rst
-Doc/source/svgLib/path/parser.rst
-Doc/source/ttLib/index.rst
-Doc/source/ttLib/macUtils.rst
-Doc/source/ttLib/sfnt.rst
-Doc/source/ttLib/standardGlyphOrder.rst
-Doc/source/ttLib/tables.rst
-Doc/source/ttLib/ttCollection.rst
-Doc/source/ttLib/ttFont.rst
-Doc/source/ttLib/woff2.rst
-Doc/source/ufoLib/converters.rst
-Doc/source/ufoLib/errors.rst
-Doc/source/ufoLib/filenames.rst
-Doc/source/ufoLib/glifLib.rst
-Doc/source/ufoLib/index.rst
-Doc/source/ufoLib/kerning.rst
-Doc/source/ufoLib/plistlib.rst
-Doc/source/ufoLib/pointpen.rst
-Doc/source/ufoLib/utils.rst
-Doc/source/ufoLib/validators.rst
-Doc/source/unicodedata/Blocks.rst
-Doc/source/unicodedata/OTTags.rst
-Doc/source/unicodedata/ScriptExtensions.rst
-Doc/source/unicodedata/Scripts.rst
-Doc/source/unicodedata/index.rst
-Doc/source/varLib/builder.rst
-Doc/source/varLib/cff.rst
-Doc/source/varLib/errors.rst
-Doc/source/varLib/featureVars.rst
-Doc/source/varLib/index.rst
-Doc/source/varLib/instancer.rst
-Doc/source/varLib/interpolatable.rst
-Doc/source/varLib/interpolate_layout.rst
-Doc/source/varLib/iup.rst
-Doc/source/varLib/merger.rst
-Doc/source/varLib/models.rst
-Doc/source/varLib/mutator.rst
-Doc/source/varLib/mvar.rst
-Doc/source/varLib/plot.rst
-Doc/source/varLib/varStore.rst
-Icons/FontToolsIconGreenCircle.pdf
-Icons/FontToolsIconGreenCircle.png
-Icons/FontToolsIconGreenSquare.pdf
-Icons/FontToolsIconGreenSquare.png
-Icons/FontToolsIconWhiteCircle.pdf
-Icons/FontToolsIconWhiteCircle.png
-Icons/FontToolsIconWhiteSquare.pdf
-Icons/FontToolsIconWhiteSquare.png
-Lib/fontTools/__init__.py
-Lib/fontTools/__main__.py
-Lib/fontTools/afmLib.py
-Lib/fontTools/agl.py
-Lib/fontTools/fontBuilder.py
-Lib/fontTools/help.py
-Lib/fontTools/merge.py
-Lib/fontTools/ttx.py
-Lib/fontTools/unicode.py
-Lib/fontTools/cffLib/__init__.py
-Lib/fontTools/cffLib/specializer.py
-Lib/fontTools/cffLib/width.py
-Lib/fontTools/colorLib/__init__.py
-Lib/fontTools/colorLib/builder.py
-Lib/fontTools/colorLib/errors.py
-Lib/fontTools/cu2qu/__init__.py
-Lib/fontTools/cu2qu/__main__.py
-Lib/fontTools/cu2qu/cli.py
-Lib/fontTools/cu2qu/cu2qu.py
-Lib/fontTools/cu2qu/errors.py
-Lib/fontTools/cu2qu/ufo.py
-Lib/fontTools/designspaceLib/__init__.py
-Lib/fontTools/encodings/MacRoman.py
-Lib/fontTools/encodings/StandardEncoding.py
-Lib/fontTools/encodings/__init__.py
-Lib/fontTools/encodings/codecs.py
-Lib/fontTools/feaLib/__init__.py
-Lib/fontTools/feaLib/__main__.py
-Lib/fontTools/feaLib/ast.py
-Lib/fontTools/feaLib/builder.py
-Lib/fontTools/feaLib/error.py
-Lib/fontTools/feaLib/lexer.py
-Lib/fontTools/feaLib/location.py
-Lib/fontTools/feaLib/lookupDebugInfo.py
-Lib/fontTools/feaLib/parser.py
-Lib/fontTools/misc/__init__.py
-Lib/fontTools/misc/arrayTools.py
-Lib/fontTools/misc/bezierTools.py
-Lib/fontTools/misc/classifyTools.py
-Lib/fontTools/misc/cliTools.py
-Lib/fontTools/misc/cython.py
-Lib/fontTools/misc/dictTools.py
-Lib/fontTools/misc/eexec.py
-Lib/fontTools/misc/encodingTools.py
-Lib/fontTools/misc/etree.py
-Lib/fontTools/misc/filenames.py
-Lib/fontTools/misc/fixedTools.py
-Lib/fontTools/misc/intTools.py
-Lib/fontTools/misc/loggingTools.py
-Lib/fontTools/misc/macCreatorType.py
-Lib/fontTools/misc/macRes.py
-Lib/fontTools/misc/psCharStrings.py
-Lib/fontTools/misc/psLib.py
-Lib/fontTools/misc/psOperators.py
-Lib/fontTools/misc/py23.py
-Lib/fontTools/misc/sstruct.py
-Lib/fontTools/misc/symfont.py
-Lib/fontTools/misc/testTools.py
-Lib/fontTools/misc/textTools.py
-Lib/fontTools/misc/timeTools.py
-Lib/fontTools/misc/transform.py
-Lib/fontTools/misc/xmlReader.py
-Lib/fontTools/misc/xmlWriter.py
-Lib/fontTools/misc/plistlib/__init__.py
-Lib/fontTools/misc/plistlib/py.typed
-Lib/fontTools/mtiLib/__init__.py
-Lib/fontTools/mtiLib/__main__.py
-Lib/fontTools/otlLib/__init__.py
-Lib/fontTools/otlLib/builder.py
-Lib/fontTools/otlLib/error.py
-Lib/fontTools/otlLib/maxContextCalc.py
-Lib/fontTools/pens/__init__.py
-Lib/fontTools/pens/areaPen.py
-Lib/fontTools/pens/basePen.py
-Lib/fontTools/pens/boundsPen.py
-Lib/fontTools/pens/cocoaPen.py
-Lib/fontTools/pens/cu2quPen.py
-Lib/fontTools/pens/filterPen.py
-Lib/fontTools/pens/hashPointPen.py
-Lib/fontTools/pens/momentsPen.py
-Lib/fontTools/pens/perimeterPen.py
-Lib/fontTools/pens/pointInsidePen.py
-Lib/fontTools/pens/pointPen.py
-Lib/fontTools/pens/qtPen.py
-Lib/fontTools/pens/recordingPen.py
-Lib/fontTools/pens/reportLabPen.py
-Lib/fontTools/pens/reverseContourPen.py
-Lib/fontTools/pens/roundingPen.py
-Lib/fontTools/pens/statisticsPen.py
-Lib/fontTools/pens/svgPathPen.py
-Lib/fontTools/pens/t2CharStringPen.py
-Lib/fontTools/pens/teePen.py
-Lib/fontTools/pens/transformPen.py
-Lib/fontTools/pens/ttGlyphPen.py
-Lib/fontTools/pens/wxPen.py
-Lib/fontTools/subset/__init__.py
-Lib/fontTools/subset/__main__.py
-Lib/fontTools/subset/cff.py
-Lib/fontTools/svgLib/__init__.py
-Lib/fontTools/svgLib/path/__init__.py
-Lib/fontTools/svgLib/path/arc.py
-Lib/fontTools/svgLib/path/parser.py
-Lib/fontTools/svgLib/path/shapes.py
-Lib/fontTools/t1Lib/__init__.py
-Lib/fontTools/ttLib/__init__.py
-Lib/fontTools/ttLib/macUtils.py
-Lib/fontTools/ttLib/removeOverlaps.py
-Lib/fontTools/ttLib/sfnt.py
-Lib/fontTools/ttLib/standardGlyphOrder.py
-Lib/fontTools/ttLib/ttCollection.py
-Lib/fontTools/ttLib/ttFont.py
-Lib/fontTools/ttLib/woff2.py
-Lib/fontTools/ttLib/tables/B_A_S_E_.py
-Lib/fontTools/ttLib/tables/BitmapGlyphMetrics.py
-Lib/fontTools/ttLib/tables/C_B_D_T_.py
-Lib/fontTools/ttLib/tables/C_B_L_C_.py
-Lib/fontTools/ttLib/tables/C_F_F_.py
-Lib/fontTools/ttLib/tables/C_F_F__2.py
-Lib/fontTools/ttLib/tables/C_O_L_R_.py
-Lib/fontTools/ttLib/tables/C_P_A_L_.py
-Lib/fontTools/ttLib/tables/D_S_I_G_.py
-Lib/fontTools/ttLib/tables/D__e_b_g.py
-Lib/fontTools/ttLib/tables/DefaultTable.py
-Lib/fontTools/ttLib/tables/E_B_D_T_.py
-Lib/fontTools/ttLib/tables/E_B_L_C_.py
-Lib/fontTools/ttLib/tables/F_F_T_M_.py
-Lib/fontTools/ttLib/tables/F__e_a_t.py
-Lib/fontTools/ttLib/tables/G_D_E_F_.py
-Lib/fontTools/ttLib/tables/G_M_A_P_.py
-Lib/fontTools/ttLib/tables/G_P_K_G_.py
-Lib/fontTools/ttLib/tables/G_P_O_S_.py
-Lib/fontTools/ttLib/tables/G_S_U_B_.py
-Lib/fontTools/ttLib/tables/G__l_a_t.py
-Lib/fontTools/ttLib/tables/G__l_o_c.py
-Lib/fontTools/ttLib/tables/H_V_A_R_.py
-Lib/fontTools/ttLib/tables/J_S_T_F_.py
-Lib/fontTools/ttLib/tables/L_T_S_H_.py
-Lib/fontTools/ttLib/tables/M_A_T_H_.py
-Lib/fontTools/ttLib/tables/M_E_T_A_.py
-Lib/fontTools/ttLib/tables/M_V_A_R_.py
-Lib/fontTools/ttLib/tables/O_S_2f_2.py
-Lib/fontTools/ttLib/tables/S_I_N_G_.py
-Lib/fontTools/ttLib/tables/S_T_A_T_.py
-Lib/fontTools/ttLib/tables/S_V_G_.py
-Lib/fontTools/ttLib/tables/S__i_l_f.py
-Lib/fontTools/ttLib/tables/S__i_l_l.py
-Lib/fontTools/ttLib/tables/T_S_I_B_.py
-Lib/fontTools/ttLib/tables/T_S_I_C_.py
-Lib/fontTools/ttLib/tables/T_S_I_D_.py
-Lib/fontTools/ttLib/tables/T_S_I_J_.py
-Lib/fontTools/ttLib/tables/T_S_I_P_.py
-Lib/fontTools/ttLib/tables/T_S_I_S_.py
-Lib/fontTools/ttLib/tables/T_S_I_V_.py
-Lib/fontTools/ttLib/tables/T_S_I__0.py
-Lib/fontTools/ttLib/tables/T_S_I__1.py
-Lib/fontTools/ttLib/tables/T_S_I__2.py
-Lib/fontTools/ttLib/tables/T_S_I__3.py
-Lib/fontTools/ttLib/tables/T_S_I__5.py
-Lib/fontTools/ttLib/tables/T_T_F_A_.py
-Lib/fontTools/ttLib/tables/TupleVariation.py
-Lib/fontTools/ttLib/tables/V_D_M_X_.py
-Lib/fontTools/ttLib/tables/V_O_R_G_.py
-Lib/fontTools/ttLib/tables/V_V_A_R_.py
-Lib/fontTools/ttLib/tables/__init__.py
-Lib/fontTools/ttLib/tables/_a_n_k_r.py
-Lib/fontTools/ttLib/tables/_a_v_a_r.py
-Lib/fontTools/ttLib/tables/_b_s_l_n.py
-Lib/fontTools/ttLib/tables/_c_i_d_g.py
-Lib/fontTools/ttLib/tables/_c_m_a_p.py
-Lib/fontTools/ttLib/tables/_c_v_a_r.py
-Lib/fontTools/ttLib/tables/_c_v_t.py
-Lib/fontTools/ttLib/tables/_f_e_a_t.py
-Lib/fontTools/ttLib/tables/_f_p_g_m.py
-Lib/fontTools/ttLib/tables/_f_v_a_r.py
-Lib/fontTools/ttLib/tables/_g_a_s_p.py
-Lib/fontTools/ttLib/tables/_g_c_i_d.py
-Lib/fontTools/ttLib/tables/_g_l_y_f.py
-Lib/fontTools/ttLib/tables/_g_v_a_r.py
-Lib/fontTools/ttLib/tables/_h_d_m_x.py
-Lib/fontTools/ttLib/tables/_h_e_a_d.py
-Lib/fontTools/ttLib/tables/_h_h_e_a.py
-Lib/fontTools/ttLib/tables/_h_m_t_x.py
-Lib/fontTools/ttLib/tables/_k_e_r_n.py
-Lib/fontTools/ttLib/tables/_l_c_a_r.py
-Lib/fontTools/ttLib/tables/_l_o_c_a.py
-Lib/fontTools/ttLib/tables/_l_t_a_g.py
-Lib/fontTools/ttLib/tables/_m_a_x_p.py
-Lib/fontTools/ttLib/tables/_m_e_t_a.py
-Lib/fontTools/ttLib/tables/_m_o_r_t.py
-Lib/fontTools/ttLib/tables/_m_o_r_x.py
-Lib/fontTools/ttLib/tables/_n_a_m_e.py
-Lib/fontTools/ttLib/tables/_o_p_b_d.py
-Lib/fontTools/ttLib/tables/_p_o_s_t.py
-Lib/fontTools/ttLib/tables/_p_r_e_p.py
-Lib/fontTools/ttLib/tables/_p_r_o_p.py
-Lib/fontTools/ttLib/tables/_s_b_i_x.py
-Lib/fontTools/ttLib/tables/_t_r_a_k.py
-Lib/fontTools/ttLib/tables/_v_h_e_a.py
-Lib/fontTools/ttLib/tables/_v_m_t_x.py
-Lib/fontTools/ttLib/tables/asciiTable.py
-Lib/fontTools/ttLib/tables/grUtils.py
-Lib/fontTools/ttLib/tables/otBase.py
-Lib/fontTools/ttLib/tables/otConverters.py
-Lib/fontTools/ttLib/tables/otData.py
-Lib/fontTools/ttLib/tables/otTables.py
-Lib/fontTools/ttLib/tables/sbixGlyph.py
-Lib/fontTools/ttLib/tables/sbixStrike.py
-Lib/fontTools/ttLib/tables/table_API_readme.txt
-Lib/fontTools/ttLib/tables/ttProgram.py
-Lib/fontTools/ufoLib/__init__.py
-Lib/fontTools/ufoLib/converters.py
-Lib/fontTools/ufoLib/errors.py
-Lib/fontTools/ufoLib/etree.py
-Lib/fontTools/ufoLib/filenames.py
-Lib/fontTools/ufoLib/glifLib.py
-Lib/fontTools/ufoLib/kerning.py
-Lib/fontTools/ufoLib/plistlib.py
-Lib/fontTools/ufoLib/pointPen.py
-Lib/fontTools/ufoLib/utils.py
-Lib/fontTools/ufoLib/validators.py
-Lib/fontTools/unicodedata/Blocks.py
-Lib/fontTools/unicodedata/OTTags.py
-Lib/fontTools/unicodedata/ScriptExtensions.py
-Lib/fontTools/unicodedata/Scripts.py
-Lib/fontTools/unicodedata/__init__.py
-Lib/fontTools/varLib/__init__.py
-Lib/fontTools/varLib/__main__.py
-Lib/fontTools/varLib/builder.py
-Lib/fontTools/varLib/cff.py
-Lib/fontTools/varLib/errors.py
-Lib/fontTools/varLib/featureVars.py
-Lib/fontTools/varLib/instancer.py
-Lib/fontTools/varLib/interpolatable.py
-Lib/fontTools/varLib/interpolate_layout.py
-Lib/fontTools/varLib/iup.py
-Lib/fontTools/varLib/merger.py
-Lib/fontTools/varLib/models.py
-Lib/fontTools/varLib/mutator.py
-Lib/fontTools/varLib/mvar.py
-Lib/fontTools/varLib/plot.py
-Lib/fontTools/varLib/varStore.py
-Lib/fontTools/voltLib/__init__.py
-Lib/fontTools/voltLib/ast.py
-Lib/fontTools/voltLib/error.py
-Lib/fontTools/voltLib/lexer.py
-Lib/fontTools/voltLib/parser.py
-Lib/fonttools.egg-info/PKG-INFO
-Lib/fonttools.egg-info/SOURCES.txt
-Lib/fonttools.egg-info/dependency_links.txt
-Lib/fonttools.egg-info/entry_points.txt
-Lib/fonttools.egg-info/requires.txt
-Lib/fonttools.egg-info/top_level.txt
-MetaTools/buildTableList.py
-MetaTools/buildUCD.py
-MetaTools/roundTrip.py
-Snippets/README.md
-Snippets/checksum.py
-Snippets/cmap-format.py
-Snippets/decompose-ttf.py
-Snippets/dump_woff_metadata.py
-Snippets/edit_raw_table_data.py
-Snippets/fix-dflt-langsys.py
-Snippets/interpolate.py
-Snippets/layout-features.py
-Snippets/merge_woff_metadata.py
-Snippets/otf2ttf.py
-Snippets/rename-fonts.py
-Snippets/subset-fpgm.py
-Snippets/svg2glif.py
-Tests/agl_test.py
-Tests/conftest.py
-Tests/merge_test.py
-Tests/unicodedata_test.py
-Tests/afmLib/afmLib_test.py
-Tests/afmLib/data/TestAFM.afm
-Tests/cffLib/cffLib_test.py
-Tests/cffLib/specializer_test.py
-Tests/cffLib/data/LinLibertine_RBI.otf
-Tests/cffLib/data/TestCFF2Widths.ttx
-Tests/cffLib/data/TestFDSelect4.ttx
-Tests/cffLib/data/TestOTF.ttx
-Tests/cffLib/data/TestSparseCFF2VF.ttx
-Tests/colorLib/__init__.py
-Tests/colorLib/builder_test.py
-Tests/cu2qu/cli_test.py
-Tests/cu2qu/cu2qu_test.py
-Tests/cu2qu/ufo_test.py
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/fontinfo.plist
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/layercontents.plist
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/lib.plist
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/metainfo.plist
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/A_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/B_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/C_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/D_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/E_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/F_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/G_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/H_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/I_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/J_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/K_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/L_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/M_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/N_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/O_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/P_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/Q_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/R_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/S_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/T_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/U_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/V_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/W_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/X_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/Y_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/Z_.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/a.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/b.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/c.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/contents.plist
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/d.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/e.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/f.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/g.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/h.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/i.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/j.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/k.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/l.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/m.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/n.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/o.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/p.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/q.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/r.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/s.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/space.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/t.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/u.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/v.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/w.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/x.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/y.glif
-Tests/cu2qu/data/RobotoSubset-Bold.ufo/glyphs/z.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/fontinfo.plist
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/layercontents.plist
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/lib.plist
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/metainfo.plist
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/A_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/B_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/C_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/D_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/E_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/F_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/G_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/H_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/I_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/J_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/K_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/L_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/M_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/N_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/O_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/P_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/Q_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/R_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/S_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/T_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/U_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/V_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/W_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/X_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/Y_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/Z_.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/a.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/b.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/c.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/contents.plist
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/d.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/e.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/f.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/g.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/h.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/i.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/j.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/k.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/l.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/m.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/n.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/o.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/p.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/q.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/r.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/s.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/space.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/t.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/u.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/v.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/w.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/x.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/y.glif
-Tests/cu2qu/data/RobotoSubset-Regular.ufo/glyphs/z.glif
-Tests/designspaceLib/designspace_test.py
-Tests/designspaceLib/data/test.designspace
-Tests/encodings/codecs_test.py
-Tests/feaLib/__init__.py
-Tests/feaLib/ast_test.py
-Tests/feaLib/builder_test.py
-Tests/feaLib/error_test.py
-Tests/feaLib/lexer_test.py
-Tests/feaLib/parser_test.py
-Tests/feaLib/data/AlternateChained.fea
-Tests/feaLib/data/AlternateChained.ttx
-Tests/feaLib/data/AlternateSubtable.fea
-Tests/feaLib/data/AlternateSubtable.ttx
-Tests/feaLib/data/Attach.fea
-Tests/feaLib/data/Attach.ttx
-Tests/feaLib/data/ChainPosSubtable.fea
-Tests/feaLib/data/ChainPosSubtable.ttx
-Tests/feaLib/data/ChainSubstSubtable.fea
-Tests/feaLib/data/ChainSubstSubtable.ttx
-Tests/feaLib/data/GPOS_1.fea
-Tests/feaLib/data/GPOS_1.ttx
-Tests/feaLib/data/GPOS_1_zero.fea
-Tests/feaLib/data/GPOS_1_zero.ttx
-Tests/feaLib/data/GPOS_2.fea
-Tests/feaLib/data/GPOS_2.ttx
-Tests/feaLib/data/GPOS_2b.fea
-Tests/feaLib/data/GPOS_2b.ttx
-Tests/feaLib/data/GPOS_3.fea
-Tests/feaLib/data/GPOS_3.ttx
-Tests/feaLib/data/GPOS_4.fea
-Tests/feaLib/data/GPOS_4.ttx
-Tests/feaLib/data/GPOS_5.fea
-Tests/feaLib/data/GPOS_5.ttx
-Tests/feaLib/data/GPOS_6.fea
-Tests/feaLib/data/GPOS_6.ttx
-Tests/feaLib/data/GPOS_8.fea
-Tests/feaLib/data/GPOS_8.ttx
-Tests/feaLib/data/GSUB_2.fea
-Tests/feaLib/data/GSUB_2.ttx
-Tests/feaLib/data/GSUB_3.fea
-Tests/feaLib/data/GSUB_3.ttx
-Tests/feaLib/data/GSUB_6.fea
-Tests/feaLib/data/GSUB_6.ttx
-Tests/feaLib/data/GSUB_8.fea
-Tests/feaLib/data/GSUB_8.ttx
-Tests/feaLib/data/GSUB_error.fea
-Tests/feaLib/data/GlyphClassDef.fea
-Tests/feaLib/data/GlyphClassDef.ttx
-Tests/feaLib/data/LigatureCaretByIndex.fea
-Tests/feaLib/data/LigatureCaretByIndex.ttx
-Tests/feaLib/data/LigatureCaretByPos.fea
-Tests/feaLib/data/LigatureCaretByPos.ttx
-Tests/feaLib/data/LigatureSubtable.fea
-Tests/feaLib/data/LigatureSubtable.ttx
-Tests/feaLib/data/MultipleLookupsPerGlyph.fea
-Tests/feaLib/data/MultipleLookupsPerGlyph.ttx
-Tests/feaLib/data/MultipleLookupsPerGlyph2.fea
-Tests/feaLib/data/MultipleLookupsPerGlyph2.ttx
-Tests/feaLib/data/MultipleSubstSubtable.fea
-Tests/feaLib/data/MultipleSubstSubtable.ttx
-Tests/feaLib/data/PairPosSubtable.fea
-Tests/feaLib/data/PairPosSubtable.ttx
-Tests/feaLib/data/SingleSubstSubtable.fea
-Tests/feaLib/data/SingleSubstSubtable.ttx
-Tests/feaLib/data/SubstSubtable.fea
-Tests/feaLib/data/SubstSubtable.ttx
-Tests/feaLib/data/ZeroValue_ChainSinglePos_horizontal.fea
-Tests/feaLib/data/ZeroValue_ChainSinglePos_horizontal.ttx
-Tests/feaLib/data/ZeroValue_ChainSinglePos_vertical.fea
-Tests/feaLib/data/ZeroValue_ChainSinglePos_vertical.ttx
-Tests/feaLib/data/ZeroValue_PairPos_horizontal.fea
-Tests/feaLib/data/ZeroValue_PairPos_horizontal.ttx
-Tests/feaLib/data/ZeroValue_PairPos_vertical.fea
-Tests/feaLib/data/ZeroValue_PairPos_vertical.ttx
-Tests/feaLib/data/ZeroValue_SinglePos_horizontal.fea
-Tests/feaLib/data/ZeroValue_SinglePos_horizontal.ttx
-Tests/feaLib/data/ZeroValue_SinglePos_vertical.fea
-Tests/feaLib/data/ZeroValue_SinglePos_vertical.ttx
-Tests/feaLib/data/aalt_chain_contextual_subst.fea
-Tests/feaLib/data/aalt_chain_contextual_subst.ttx
-Tests/feaLib/data/baseClass.fea
-Tests/feaLib/data/baseClass.feax
-Tests/feaLib/data/bug1307.fea
-Tests/feaLib/data/bug1307.ttx
-Tests/feaLib/data/bug1459.fea
-Tests/feaLib/data/bug1459.ttx
-Tests/feaLib/data/bug453.fea
-Tests/feaLib/data/bug453.ttx
-Tests/feaLib/data/bug457.fea
-Tests/feaLib/data/bug457.ttx
-Tests/feaLib/data/bug463.fea
-Tests/feaLib/data/bug463.ttx
-Tests/feaLib/data/bug501.fea
-Tests/feaLib/data/bug501.ttx
-Tests/feaLib/data/bug502.fea
-Tests/feaLib/data/bug502.ttx
-Tests/feaLib/data/bug504.fea
-Tests/feaLib/data/bug504.ttx
-Tests/feaLib/data/bug505.fea
-Tests/feaLib/data/bug505.ttx
-Tests/feaLib/data/bug506.fea
-Tests/feaLib/data/bug506.ttx
-Tests/feaLib/data/bug509.fea
-Tests/feaLib/data/bug509.ttx
-Tests/feaLib/data/bug512.fea
-Tests/feaLib/data/bug512.ttx
-Tests/feaLib/data/bug514.fea
-Tests/feaLib/data/bug514.ttx
-Tests/feaLib/data/bug568.fea
-Tests/feaLib/data/bug568.ttx
-Tests/feaLib/data/bug633.fea
-Tests/feaLib/data/bug633.ttx
-Tests/feaLib/data/cid_range.fea
-Tests/feaLib/data/cid_range.ttx
-Tests/feaLib/data/enum.fea
-Tests/feaLib/data/enum.ttx
-Tests/feaLib/data/feature_aalt.fea
-Tests/feaLib/data/feature_aalt.ttx
-Tests/feaLib/data/ignore_pos.fea
-Tests/feaLib/data/ignore_pos.ttx
-Tests/feaLib/data/include0.fea
-Tests/feaLib/data/language_required.fea
-Tests/feaLib/data/language_required.ttx
-Tests/feaLib/data/lookup-debug.ttx
-Tests/feaLib/data/lookup.fea
-Tests/feaLib/data/lookup.ttx
-Tests/feaLib/data/lookupflag.fea
-Tests/feaLib/data/lookupflag.ttx
-Tests/feaLib/data/markClass.fea
-Tests/feaLib/data/markClass.ttx
-Tests/feaLib/data/mini.fea
-Tests/feaLib/data/multiple_feature_blocks.fea
-Tests/feaLib/data/multiple_feature_blocks.ttx
-Tests/feaLib/data/name.fea
-Tests/feaLib/data/name.ttx
-Tests/feaLib/data/omitted_GlyphClassDef.fea
-Tests/feaLib/data/omitted_GlyphClassDef.ttx
-Tests/feaLib/data/size.fea
-Tests/feaLib/data/size.ttx
-Tests/feaLib/data/size2.fea
-Tests/feaLib/data/size2.ttx
-Tests/feaLib/data/spec10.fea
-Tests/feaLib/data/spec10.ttx
-Tests/feaLib/data/spec4h1.fea
-Tests/feaLib/data/spec4h1.ttx
-Tests/feaLib/data/spec4h2.fea
-Tests/feaLib/data/spec4h2.ttx
-Tests/feaLib/data/spec5d1.fea
-Tests/feaLib/data/spec5d1.ttx
-Tests/feaLib/data/spec5d2.fea
-Tests/feaLib/data/spec5d2.ttx
-Tests/feaLib/data/spec5f_ii_1.fea
-Tests/feaLib/data/spec5f_ii_1.ttx
-Tests/feaLib/data/spec5f_ii_2.fea
-Tests/feaLib/data/spec5f_ii_2.ttx
-Tests/feaLib/data/spec5f_ii_3.fea
-Tests/feaLib/data/spec5f_ii_3.ttx
-Tests/feaLib/data/spec5f_ii_4.fea
-Tests/feaLib/data/spec5f_ii_4.ttx
-Tests/feaLib/data/spec5fi1.fea
-Tests/feaLib/data/spec5fi1.ttx
-Tests/feaLib/data/spec5fi2.fea
-Tests/feaLib/data/spec5fi2.ttx
-Tests/feaLib/data/spec5fi3.fea
-Tests/feaLib/data/spec5fi3.ttx
-Tests/feaLib/data/spec5fi4.fea
-Tests/feaLib/data/spec5fi4.ttx
-Tests/feaLib/data/spec5h1.fea
-Tests/feaLib/data/spec5h1.ttx
-Tests/feaLib/data/spec6b_ii.fea
-Tests/feaLib/data/spec6b_ii.ttx
-Tests/feaLib/data/spec6d2.fea
-Tests/feaLib/data/spec6d2.ttx
-Tests/feaLib/data/spec6e.fea
-Tests/feaLib/data/spec6e.ttx
-Tests/feaLib/data/spec6f.fea
-Tests/feaLib/data/spec6f.ttx
-Tests/feaLib/data/spec6h_ii.fea
-Tests/feaLib/data/spec6h_ii.ttx
-Tests/feaLib/data/spec6h_iii_1.fea
-Tests/feaLib/data/spec6h_iii_1.ttx
-Tests/feaLib/data/spec6h_iii_3d.fea
-Tests/feaLib/data/spec6h_iii_3d.ttx
-Tests/feaLib/data/spec8a.fea
-Tests/feaLib/data/spec8a.ttx
-Tests/feaLib/data/spec8b.fea
-Tests/feaLib/data/spec8b.ttx
-Tests/feaLib/data/spec8c.fea
-Tests/feaLib/data/spec8c.ttx
-Tests/feaLib/data/spec8d.fea
-Tests/feaLib/data/spec8d.ttx
-Tests/feaLib/data/spec9a.fea
-Tests/feaLib/data/spec9a.ttx
-Tests/feaLib/data/spec9b.fea
-Tests/feaLib/data/spec9b.ttx
-Tests/feaLib/data/spec9c1.fea
-Tests/feaLib/data/spec9c1.ttx
-Tests/feaLib/data/spec9c2.fea
-Tests/feaLib/data/spec9c2.ttx
-Tests/feaLib/data/spec9c3.fea
-Tests/feaLib/data/spec9c3.ttx
-Tests/feaLib/data/spec9d.fea
-Tests/feaLib/data/spec9d.ttx
-Tests/feaLib/data/spec9e.fea
-Tests/feaLib/data/spec9e.ttx
-Tests/feaLib/data/spec9f.fea
-Tests/feaLib/data/spec9f.ttx
-Tests/feaLib/data/spec9g.fea
-Tests/feaLib/data/spec9g.ttx
-Tests/feaLib/data/test.fea
-Tests/feaLib/data/include/include1.fea
-Tests/feaLib/data/include/include3.fea
-Tests/feaLib/data/include/include4.fea
-Tests/feaLib/data/include/include5.fea
-Tests/feaLib/data/include/include6.fea
-Tests/feaLib/data/include/includemissingfile.fea
-Tests/feaLib/data/include/includeself.fea
-Tests/feaLib/data/include/test.fea
-Tests/feaLib/data/include/subdir/include2.fea
-Tests/feaLib/data/include/test.ufo/features.fea
-Tests/fontBuilder/fontBuilder_test.py
-Tests/fontBuilder/data/test.otf.ttx
-Tests/fontBuilder/data/test.ttf.ttx
-Tests/fontBuilder/data/test_uvs.ttf.ttx
-Tests/fontBuilder/data/test_var.otf.ttx
-Tests/fontBuilder/data/test_var.ttf.ttx
-Tests/misc/arrayTools_test.py
-Tests/misc/bezierTools_test.py
-Tests/misc/classifyTools_test.py
-Tests/misc/eexec_test.py
-Tests/misc/encodingTools_test.py
-Tests/misc/etree_test.py
-Tests/misc/filenames_test.py
-Tests/misc/fixedTools_test.py
-Tests/misc/loggingTools_test.py
-Tests/misc/macRes_test.py
-Tests/misc/plistlib_test.py
-Tests/misc/psCharStrings_test.py
-Tests/misc/py23_test.py
-Tests/misc/testTools_test.py
-Tests/misc/textTools_test.py
-Tests/misc/timeTools_test.py
-Tests/misc/transform_test.py
-Tests/misc/xmlReader_test.py
-Tests/misc/xmlWriter_test.py
-Tests/misc/testdata/test.plist
-Tests/mtiLib/mti_test.py
-Tests/mtiLib/data/featurename-backward.ttx.GSUB
-Tests/mtiLib/data/featurename-backward.txt
-Tests/mtiLib/data/featurename-forward.ttx.GSUB
-Tests/mtiLib/data/featurename-forward.txt
-Tests/mtiLib/data/lookupnames-backward.ttx.GSUB
-Tests/mtiLib/data/lookupnames-backward.txt
-Tests/mtiLib/data/lookupnames-forward.ttx.GSUB
-Tests/mtiLib/data/lookupnames-forward.txt
-Tests/mtiLib/data/mixed-toplevels.ttx.GSUB
-Tests/mtiLib/data/mixed-toplevels.txt
-Tests/mtiLib/data/mti/README
-Tests/mtiLib/data/mti/chained-glyph.ttx.GPOS
-Tests/mtiLib/data/mti/chained-glyph.ttx.GSUB
-Tests/mtiLib/data/mti/chained-glyph.txt
-Tests/mtiLib/data/mti/chainedclass.ttx.GSUB
-Tests/mtiLib/data/mti/chainedclass.txt
-Tests/mtiLib/data/mti/chainedcoverage.ttx.GSUB
-Tests/mtiLib/data/mti/chainedcoverage.txt
-Tests/mtiLib/data/mti/cmap.ttx
-Tests/mtiLib/data/mti/cmap.ttx.cmap
-Tests/mtiLib/data/mti/cmap.txt
-Tests/mtiLib/data/mti/context-glyph.txt
-Tests/mtiLib/data/mti/contextclass.txt
-Tests/mtiLib/data/mti/contextcoverage.txt
-Tests/mtiLib/data/mti/featuretable.txt
-Tests/mtiLib/data/mti/gdefattach.ttx.GDEF
-Tests/mtiLib/data/mti/gdefattach.txt
-Tests/mtiLib/data/mti/gdefclasses.ttx.GDEF
-Tests/mtiLib/data/mti/gdefclasses.txt
-Tests/mtiLib/data/mti/gdefligcaret.ttx.GDEF
-Tests/mtiLib/data/mti/gdefligcaret.txt
-Tests/mtiLib/data/mti/gdefmarkattach.ttx.GDEF
-Tests/mtiLib/data/mti/gdefmarkattach.txt
-Tests/mtiLib/data/mti/gdefmarkfilter.ttx.GDEF
-Tests/mtiLib/data/mti/gdefmarkfilter.txt
-Tests/mtiLib/data/mti/gposcursive.ttx.GPOS
-Tests/mtiLib/data/mti/gposcursive.txt
-Tests/mtiLib/data/mti/gposkernset.ttx.GPOS
-Tests/mtiLib/data/mti/gposkernset.txt
-Tests/mtiLib/data/mti/gposmarktobase.ttx.GPOS
-Tests/mtiLib/data/mti/gposmarktobase.txt
-Tests/mtiLib/data/mti/gpospairclass.ttx.GPOS
-Tests/mtiLib/data/mti/gpospairclass.txt
-Tests/mtiLib/data/mti/gpospairglyph.ttx.GPOS
-Tests/mtiLib/data/mti/gpospairglyph.txt
-Tests/mtiLib/data/mti/gpossingle.ttx.GPOS
-Tests/mtiLib/data/mti/gpossingle.txt
-Tests/mtiLib/data/mti/gsubalternate.ttx.GSUB
-Tests/mtiLib/data/mti/gsubalternate.txt
-Tests/mtiLib/data/mti/gsubligature.ttx.GSUB
-Tests/mtiLib/data/mti/gsubligature.txt
-Tests/mtiLib/data/mti/gsubmultiple.ttx.GSUB
-Tests/mtiLib/data/mti/gsubmultiple.txt
-Tests/mtiLib/data/mti/gsubreversechanined.ttx.GSUB
-Tests/mtiLib/data/mti/gsubreversechanined.txt
-Tests/mtiLib/data/mti/gsubsingle.ttx.GSUB
-Tests/mtiLib/data/mti/gsubsingle.txt
-Tests/mtiLib/data/mti/mark-to-ligature.ttx.GPOS
-Tests/mtiLib/data/mti/mark-to-ligature.txt
-Tests/mtiLib/data/mti/scripttable.ttx.GPOS
-Tests/mtiLib/data/mti/scripttable.ttx.GSUB
-Tests/mtiLib/data/mti/scripttable.txt
-Tests/otlLib/__init__.py
-Tests/otlLib/builder_test.py
-Tests/otlLib/maxContextCalc_test.py
-Tests/otlLib/mock_builder_test.py
-Tests/otlLib/data/gpos_91.ttx
-Tests/otlLib/data/gsub_51.ttx
-Tests/otlLib/data/gsub_52.ttx
-Tests/otlLib/data/gsub_71.ttx
-Tests/pens/__init__.py
-Tests/pens/areaPen_test.py
-Tests/pens/basePen_test.py
-Tests/pens/boundsPen_test.py
-Tests/pens/cu2quPen_test.py
-Tests/pens/hashPointPen_test.py
-Tests/pens/perimeterPen_test.py
-Tests/pens/pointInsidePen_test.py
-Tests/pens/pointPen_test.py
-Tests/pens/recordingPen_test.py
-Tests/pens/reverseContourPen_test.py
-Tests/pens/t2CharStringPen_test.py
-Tests/pens/ttGlyphPen_test.py
-Tests/pens/utils.py
-Tests/pens/data/cubic/A_.glif
-Tests/pens/data/cubic/A_acute.glif
-Tests/pens/data/cubic/E_acute.glif
-Tests/pens/data/cubic/a.glif
-Tests/pens/data/cubic/acute.glif
-Tests/pens/data/cubic/contents.plist
-Tests/pens/data/quadratic/A_.glif
-Tests/pens/data/quadratic/E_acute.glif
-Tests/pens/data/quadratic/a.glif
-Tests/pens/data/quadratic/acute.glif
-Tests/pens/data/quadratic/contents.plist
-Tests/subset/subset_test.py
-Tests/subset/data/Lobster.subset.otf
-Tests/subset/data/Lobster.subset.ttx
-Tests/subset/data/NotdefWidthCID-Regular.ttx
-Tests/subset/data/TestANKR.ttx
-Tests/subset/data/TestBSLN-0.ttx
-Tests/subset/data/TestBSLN-1.ttx
-Tests/subset/data/TestBSLN-2.ttx
-Tests/subset/data/TestBSLN-3.ttx
-Tests/subset/data/TestCID-Regular.ttx
-Tests/subset/data/TestCLR-Regular.ttx
-Tests/subset/data/TestContextSubstFormat3.ttx
-Tests/subset/data/TestGVAR.ttx
-Tests/subset/data/TestHVVAR.ttx
-Tests/subset/data/TestLCAR-0.ttx
-Tests/subset/data/TestLCAR-1.ttx
-Tests/subset/data/TestMATH-Regular.ttx
-Tests/subset/data/TestOPBD-0.ttx
-Tests/subset/data/TestOPBD-1.ttx
-Tests/subset/data/TestOTF-Regular.ttx
-Tests/subset/data/TestPROP.ttx
-Tests/subset/data/TestTTF-Regular.ttx
-Tests/subset/data/TestTTF-Regular_non_BMP_char.ttx
-Tests/subset/data/expect_HVVAR.ttx
-Tests/subset/data/expect_HVVAR_retain_gids.ttx
-Tests/subset/data/expect_ankr.ttx
-Tests/subset/data/expect_bsln_0.ttx
-Tests/subset/data/expect_bsln_1.ttx
-Tests/subset/data/expect_bsln_2.ttx
-Tests/subset/data/expect_bsln_3.ttx
-Tests/subset/data/expect_desubroutinize_CFF.ttx
-Tests/subset/data/expect_keep_colr.ttx
-Tests/subset/data/expect_keep_gvar.ttx
-Tests/subset/data/expect_keep_gvar_notdef_outline.ttx
-Tests/subset/data/expect_keep_math.ttx
-Tests/subset/data/expect_lcar_0.ttx
-Tests/subset/data/expect_lcar_1.ttx
-Tests/subset/data/expect_math_partial.ttx
-Tests/subset/data/expect_no_hinting_CFF.ttx
-Tests/subset/data/expect_no_hinting_TTF.ttx
-Tests/subset/data/expect_no_hinting_desubroutinize_CFF.ttx
-Tests/subset/data/expect_no_notdef_outline_cid.ttx
-Tests/subset/data/expect_no_notdef_outline_otf.ttx
-Tests/subset/data/expect_no_notdef_outline_ttf.ttx
-Tests/subset/data/expect_notdef_width_cid.ttx
-Tests/subset/data/expect_opbd_0.ttx
-Tests/subset/data/expect_opbd_1.ttx
-Tests/subset/data/expect_prop_0.ttx
-Tests/subset/data/expect_prop_1.ttx
-Tests/subset/data/expect_sbix.ttx
-Tests/subset/data/google_color.ttx
-Tests/subset/data/sbix.ttx
-Tests/subset/data/test_cntrmask_CFF.desub.ttx
-Tests/subset/data/test_cntrmask_CFF.ttx
-Tests/subset/data/test_hinted_subrs_CFF.desub.ttx
-Tests/subset/data/test_hinted_subrs_CFF.ttx
-Tests/subset/data/test_math_partial.ttx
-Tests/svgLib/path/__init__.py
-Tests/svgLib/path/parser_test.py
-Tests/svgLib/path/path_test.py
-Tests/svgLib/path/shapes_test.py
-Tests/t1Lib/t1Lib_test.py
-Tests/t1Lib/data/TestT1-Regular.lwfn
-Tests/t1Lib/data/TestT1-Regular.pfa
-Tests/t1Lib/data/TestT1-Regular.pfb
-Tests/t1Lib/data/TestT1-weird-zeros.pfa
-Tests/ttLib/sfnt_test.py
-Tests/ttLib/ttFont_test.py
-Tests/ttLib/woff2_test.py
-Tests/ttLib/data/TestOTF-Regular.otx
-Tests/ttLib/data/TestTTF-Regular.ttx
-Tests/ttLib/data/TestTTFComplex-Regular.ttx
-Tests/ttLib/data/test_woff2_metadata.xml
-Tests/ttLib/tables/C_B_L_C_test.py
-Tests/ttLib/tables/C_F_F__2_test.py
-Tests/ttLib/tables/C_F_F_test.py
-Tests/ttLib/tables/C_O_L_R_test.py
-Tests/ttLib/tables/C_P_A_L_test.py
-Tests/ttLib/tables/M_V_A_R_test.py
-Tests/ttLib/tables/O_S_2f_2_test.py
-Tests/ttLib/tables/S_T_A_T_test.py
-Tests/ttLib/tables/T_S_I__0_test.py
-Tests/ttLib/tables/T_S_I__1_test.py
-Tests/ttLib/tables/TupleVariation_test.py
-Tests/ttLib/tables/_a_n_k_r_test.py
-Tests/ttLib/tables/_a_v_a_r_test.py
-Tests/ttLib/tables/_b_s_l_n_test.py
-Tests/ttLib/tables/_c_i_d_g_test.py
-Tests/ttLib/tables/_c_m_a_p_test.py
-Tests/ttLib/tables/_c_v_a_r_test.py
-Tests/ttLib/tables/_f_p_g_m_test.py
-Tests/ttLib/tables/_f_v_a_r_test.py
-Tests/ttLib/tables/_g_c_i_d_test.py
-Tests/ttLib/tables/_g_l_y_f_test.py
-Tests/ttLib/tables/_g_v_a_r_test.py
-Tests/ttLib/tables/_h_h_e_a_test.py
-Tests/ttLib/tables/_h_m_t_x_test.py
-Tests/ttLib/tables/_k_e_r_n_test.py
-Tests/ttLib/tables/_l_c_a_r_test.py
-Tests/ttLib/tables/_l_t_a_g_test.py
-Tests/ttLib/tables/_m_e_t_a_test.py
-Tests/ttLib/tables/_m_o_r_t_test.py
-Tests/ttLib/tables/_m_o_r_x_test.py
-Tests/ttLib/tables/_n_a_m_e_test.py
-Tests/ttLib/tables/_o_p_b_d_test.py
-Tests/ttLib/tables/_p_r_o_p_test.py
-Tests/ttLib/tables/_t_r_a_k_test.py
-Tests/ttLib/tables/_v_h_e_a_test.py
-Tests/ttLib/tables/_v_m_t_x_test.py
-Tests/ttLib/tables/otBase_test.py
-Tests/ttLib/tables/otConverters_test.py
-Tests/ttLib/tables/otTables_test.py
-Tests/ttLib/tables/tables_test.py
-Tests/ttLib/tables/ttProgram_test.py
-Tests/ttLib/tables/data/C_F_F_.bin
-Tests/ttLib/tables/data/C_F_F_.ttx
-Tests/ttLib/tables/data/C_F_F__2.bin
-Tests/ttLib/tables/data/C_F_F__2.ttx
-Tests/ttLib/tables/data/NotoColorEmoji.subset.index_format_3.ttx
-Tests/ttLib/tables/data/_c_m_a_p_format_14.ttx
-Tests/ttLib/tables/data/_c_m_a_p_format_14_bw_compat.ttx
-Tests/ttLib/tables/data/_g_l_y_f_outline_flag_bit6.glyf.bin
-Tests/ttLib/tables/data/_g_l_y_f_outline_flag_bit6.head.bin
-Tests/ttLib/tables/data/_g_l_y_f_outline_flag_bit6.loca.bin
-Tests/ttLib/tables/data/_g_l_y_f_outline_flag_bit6.maxp.bin
-Tests/ttLib/tables/data/_g_l_y_f_outline_flag_bit6.ttx
-Tests/ttLib/tables/data/_h_h_e_a_recalc_OTF.ttx
-Tests/ttLib/tables/data/_h_h_e_a_recalc_TTF.ttx
-Tests/ttLib/tables/data/_h_h_e_a_recalc_empty.ttx
-Tests/ttLib/tables/data/_v_h_e_a_recalc_OTF.ttx
-Tests/ttLib/tables/data/_v_h_e_a_recalc_TTF.ttx
-Tests/ttLib/tables/data/_v_h_e_a_recalc_empty.ttx
-Tests/ttLib/tables/data/ttProgram.ttx
-Tests/ttLib/tables/data/aots/README
-Tests/ttLib/tables/data/aots/base.otf
-Tests/ttLib/tables/data/aots/base.ttx.CFF
-Tests/ttLib/tables/data/aots/base.ttx.OS_2
-Tests/ttLib/tables/data/aots/base.ttx.cmap
-Tests/ttLib/tables/data/aots/base.ttx.head
-Tests/ttLib/tables/data/aots/base.ttx.hhea
-Tests/ttLib/tables/data/aots/base.ttx.hmtx
-Tests/ttLib/tables/data/aots/base.ttx.maxp
-Tests/ttLib/tables/data/aots/base.ttx.name
-Tests/ttLib/tables/data/aots/base.ttx.post
-Tests/ttLib/tables/data/aots/classdef1_font1.otf
-Tests/ttLib/tables/data/aots/classdef1_font1.ttx.GSUB
-Tests/ttLib/tables/data/aots/classdef1_font2.otf
-Tests/ttLib/tables/data/aots/classdef1_font2.ttx.GSUB
-Tests/ttLib/tables/data/aots/classdef1_font3.otf
-Tests/ttLib/tables/data/aots/classdef1_font3.ttx.GSUB
-Tests/ttLib/tables/data/aots/classdef1_font4.otf
-Tests/ttLib/tables/data/aots/classdef1_font4.ttx.GSUB
-Tests/ttLib/tables/data/aots/classdef2_font1.otf
-Tests/ttLib/tables/data/aots/classdef2_font1.ttx.GSUB
-Tests/ttLib/tables/data/aots/classdef2_font2.otf
-Tests/ttLib/tables/data/aots/classdef2_font2.ttx.GSUB
-Tests/ttLib/tables/data/aots/classdef2_font3.otf
-Tests/ttLib/tables/data/aots/classdef2_font3.ttx.GSUB
-Tests/ttLib/tables/data/aots/classdef2_font4.otf
-Tests/ttLib/tables/data/aots/classdef2_font4.ttx.GSUB
-Tests/ttLib/tables/data/aots/cmap0_font1.otf
-Tests/ttLib/tables/data/aots/cmap0_font1.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap10_font1.otf
-Tests/ttLib/tables/data/aots/cmap10_font1.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap10_font2.otf
-Tests/ttLib/tables/data/aots/cmap10_font2.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap12_font1.otf
-Tests/ttLib/tables/data/aots/cmap12_font1.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap14_font1.otf
-Tests/ttLib/tables/data/aots/cmap14_font1.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap2_font1.otf
-Tests/ttLib/tables/data/aots/cmap2_font1.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap4_font1.otf
-Tests/ttLib/tables/data/aots/cmap4_font1.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap4_font2.otf
-Tests/ttLib/tables/data/aots/cmap4_font2.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap4_font3.otf
-Tests/ttLib/tables/data/aots/cmap4_font3.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap4_font4.otf
-Tests/ttLib/tables/data/aots/cmap4_font4.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap6_font1.otf
-Tests/ttLib/tables/data/aots/cmap6_font1.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap6_font2.otf
-Tests/ttLib/tables/data/aots/cmap6_font2.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap8_font1.otf
-Tests/ttLib/tables/data/aots/cmap8_font1.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap_composition_font1.otf
-Tests/ttLib/tables/data/aots/cmap_composition_font1.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap_subtableselection_font1.otf
-Tests/ttLib/tables/data/aots/cmap_subtableselection_font1.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap_subtableselection_font2.otf
-Tests/ttLib/tables/data/aots/cmap_subtableselection_font2.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap_subtableselection_font3.otf
-Tests/ttLib/tables/data/aots/cmap_subtableselection_font3.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap_subtableselection_font4.otf
-Tests/ttLib/tables/data/aots/cmap_subtableselection_font4.ttx.cmap
-Tests/ttLib/tables/data/aots/cmap_subtableselection_font5.otf
-Tests/ttLib/tables/data/aots/cmap_subtableselection_font5.ttx.cmap
-Tests/ttLib/tables/data/aots/gpos1_1_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gpos1_1_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos1_1_lookupflag_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos1_1_simple_f1.otf
-Tests/ttLib/tables/data/aots/gpos1_1_simple_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos1_1_simple_f2.otf
-Tests/ttLib/tables/data/aots/gpos1_1_simple_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos1_1_simple_f3.otf
-Tests/ttLib/tables/data/aots/gpos1_1_simple_f3.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos1_1_simple_f4.otf
-Tests/ttLib/tables/data/aots/gpos1_1_simple_f4.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos1_2_font1.otf
-Tests/ttLib/tables/data/aots/gpos1_2_font1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos1_2_font2.otf
-Tests/ttLib/tables/data/aots/gpos1_2_font2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos1_2_font2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_1_font6.otf
-Tests/ttLib/tables/data/aots/gpos2_1_font6.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_1_font7.otf
-Tests/ttLib/tables/data/aots/gpos2_1_font7.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_1_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gpos2_1_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos2_1_lookupflag_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_1_lookupflag_f2.otf
-Tests/ttLib/tables/data/aots/gpos2_1_lookupflag_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos2_1_lookupflag_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_1_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gpos2_1_next_glyph_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_1_next_glyph_f2.otf
-Tests/ttLib/tables/data/aots/gpos2_1_next_glyph_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_1_simple_f1.otf
-Tests/ttLib/tables/data/aots/gpos2_1_simple_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_2_font1.otf
-Tests/ttLib/tables/data/aots/gpos2_2_font1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_2_font2.otf
-Tests/ttLib/tables/data/aots/gpos2_2_font2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos2_2_font2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_2_font3.otf
-Tests/ttLib/tables/data/aots/gpos2_2_font3.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos2_2_font3.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_2_font4.otf
-Tests/ttLib/tables/data/aots/gpos2_2_font4.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos2_2_font5.otf
-Tests/ttLib/tables/data/aots/gpos2_2_font5.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos3_font1.otf
-Tests/ttLib/tables/data/aots/gpos3_font1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos3_font2.otf
-Tests/ttLib/tables/data/aots/gpos3_font2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos3_font2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos3_font3.otf
-Tests/ttLib/tables/data/aots/gpos3_font3.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos3_font3.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos4_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gpos4_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos4_lookupflag_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos4_lookupflag_f2.otf
-Tests/ttLib/tables/data/aots/gpos4_lookupflag_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos4_lookupflag_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos4_multiple_anchors_1.otf
-Tests/ttLib/tables/data/aots/gpos4_multiple_anchors_1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos4_multiple_anchors_1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos4_simple_1.otf
-Tests/ttLib/tables/data/aots/gpos4_simple_1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos4_simple_1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos5_font1.otf
-Tests/ttLib/tables/data/aots/gpos5_font1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos5_font1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos5_font1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gpos6_font1.otf
-Tests/ttLib/tables/data/aots/gpos6_font1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos6_font1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos7_1_font1.otf
-Tests/ttLib/tables/data/aots/gpos7_1_font1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos9_font1.otf
-Tests/ttLib/tables/data/aots/gpos9_font1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos9_font2.otf
-Tests/ttLib/tables/data/aots/gpos9_font2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f3.otf
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f3.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f3.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f4.otf
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f4.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining1_boundary_f4.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining1_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining1_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining1_lookupflag_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining1_multiple_subrules_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining1_multiple_subrules_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining1_multiple_subrules_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining1_multiple_subrules_f2.otf
-Tests/ttLib/tables/data/aots/gpos_chaining1_multiple_subrules_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining1_multiple_subrules_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining1_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining1_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining1_next_glyph_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining1_simple_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining1_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining1_simple_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining1_simple_f2.otf
-Tests/ttLib/tables/data/aots/gpos_chaining1_simple_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining1_simple_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining1_successive_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining1_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining1_successive_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f3.otf
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f3.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f3.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f4.otf
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f4.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining2_boundary_f4.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining2_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining2_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining2_lookupflag_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining2_multiple_subrules_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining2_multiple_subrules_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining2_multiple_subrules_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining2_multiple_subrules_f2.otf
-Tests/ttLib/tables/data/aots/gpos_chaining2_multiple_subrules_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining2_multiple_subrules_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining2_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining2_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining2_next_glyph_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining2_simple_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining2_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining2_simple_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining2_simple_f2.otf
-Tests/ttLib/tables/data/aots/gpos_chaining2_simple_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining2_simple_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining2_successive_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining2_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining2_successive_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f3.otf
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f3.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f3.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f4.otf
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f4.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining3_boundary_f4.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining3_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining3_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining3_lookupflag_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining3_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining3_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining3_next_glyph_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining3_simple_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining3_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining3_simple_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining3_simple_f2.otf
-Tests/ttLib/tables/data/aots/gpos_chaining3_simple_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining3_simple_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_chaining3_successive_f1.otf
-Tests/ttLib/tables/data/aots/gpos_chaining3_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_chaining3_successive_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context1_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context1_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context1_boundary_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context1_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gpos_context1_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context1_boundary_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context1_expansion_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context1_expansion_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context1_expansion_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context1_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context1_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context1_lookupflag_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context1_lookupflag_f2.otf
-Tests/ttLib/tables/data/aots/gpos_context1_lookupflag_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context1_lookupflag_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context1_multiple_subrules_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context1_multiple_subrules_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context1_multiple_subrules_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context1_multiple_subrules_f2.otf
-Tests/ttLib/tables/data/aots/gpos_context1_multiple_subrules_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context1_multiple_subrules_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context1_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context1_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context1_next_glyph_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context1_simple_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context1_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context1_simple_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context1_simple_f2.otf
-Tests/ttLib/tables/data/aots/gpos_context1_simple_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context1_simple_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context1_successive_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context1_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context1_successive_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context2_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_boundary_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gpos_context2_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_boundary_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_classes_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context2_classes_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_classes_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_classes_f2.otf
-Tests/ttLib/tables/data/aots/gpos_context2_classes_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_classes_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_expansion_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context2_expansion_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_expansion_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context2_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_lookupflag_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_lookupflag_f2.otf
-Tests/ttLib/tables/data/aots/gpos_context2_lookupflag_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_lookupflag_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_multiple_subrules_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context2_multiple_subrules_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_multiple_subrules_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_multiple_subrules_f2.otf
-Tests/ttLib/tables/data/aots/gpos_context2_multiple_subrules_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_multiple_subrules_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context2_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_next_glyph_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_simple_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context2_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_simple_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_simple_f2.otf
-Tests/ttLib/tables/data/aots/gpos_context2_simple_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_simple_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context2_successive_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context2_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context2_successive_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context3_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context3_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context3_boundary_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context3_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gpos_context3_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context3_boundary_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context3_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context3_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context3_lookupflag_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context3_lookupflag_f2.otf
-Tests/ttLib/tables/data/aots/gpos_context3_lookupflag_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context3_lookupflag_f2.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context3_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context3_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context3_next_glyph_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context3_simple_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context3_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context3_simple_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gpos_context3_successive_f1.otf
-Tests/ttLib/tables/data/aots/gpos_context3_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gpos_context3_successive_f1.ttx.GPOS
-Tests/ttLib/tables/data/aots/gsub1_1_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gsub1_1_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub1_1_lookupflag_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub1_1_modulo_f1.otf
-Tests/ttLib/tables/data/aots/gsub1_1_modulo_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub1_1_simple_f1.otf
-Tests/ttLib/tables/data/aots/gsub1_1_simple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub1_2_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gsub1_2_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub1_2_lookupflag_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub1_2_simple_f1.otf
-Tests/ttLib/tables/data/aots/gsub1_2_simple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub2_1_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gsub2_1_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub2_1_lookupflag_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub2_1_multiple_sequences_f1.otf
-Tests/ttLib/tables/data/aots/gsub2_1_multiple_sequences_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub2_1_simple_f1.otf
-Tests/ttLib/tables/data/aots/gsub2_1_simple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub3_1_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gsub3_1_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub3_1_lookupflag_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub3_1_multiple_f1.otf
-Tests/ttLib/tables/data/aots/gsub3_1_multiple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub3_1_simple_f1.otf
-Tests/ttLib/tables/data/aots/gsub3_1_simple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub4_1_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gsub4_1_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub4_1_lookupflag_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub4_1_multiple_ligatures_f1.otf
-Tests/ttLib/tables/data/aots/gsub4_1_multiple_ligatures_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub4_1_multiple_ligatures_f2.otf
-Tests/ttLib/tables/data/aots/gsub4_1_multiple_ligatures_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub4_1_multiple_ligsets_f1.otf
-Tests/ttLib/tables/data/aots/gsub4_1_multiple_ligsets_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub4_1_simple_f1.otf
-Tests/ttLib/tables/data/aots/gsub4_1_simple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub7_font1.otf
-Tests/ttLib/tables/data/aots/gsub7_font1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub7_font2.otf
-Tests/ttLib/tables/data/aots/gsub7_font2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f3.otf
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f3.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f3.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f4.otf
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f4.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining1_boundary_f4.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining1_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining1_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining1_lookupflag_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining1_multiple_subrules_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining1_multiple_subrules_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining1_multiple_subrules_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining1_multiple_subrules_f2.otf
-Tests/ttLib/tables/data/aots/gsub_chaining1_multiple_subrules_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining1_multiple_subrules_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining1_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining1_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining1_next_glyph_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining1_simple_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining1_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining1_simple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining1_simple_f2.otf
-Tests/ttLib/tables/data/aots/gsub_chaining1_simple_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining1_simple_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining1_successive_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining1_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining1_successive_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f3.otf
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f3.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f3.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f4.otf
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f4.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining2_boundary_f4.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining2_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining2_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining2_lookupflag_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining2_multiple_subrules_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining2_multiple_subrules_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining2_multiple_subrules_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining2_multiple_subrules_f2.otf
-Tests/ttLib/tables/data/aots/gsub_chaining2_multiple_subrules_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining2_multiple_subrules_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining2_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining2_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining2_next_glyph_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining2_simple_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining2_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining2_simple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining2_simple_f2.otf
-Tests/ttLib/tables/data/aots/gsub_chaining2_simple_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining2_simple_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining2_successive_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining2_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining2_successive_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f3.otf
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f3.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f3.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f4.otf
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f4.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining3_boundary_f4.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining3_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining3_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining3_lookupflag_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining3_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining3_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining3_next_glyph_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining3_simple_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining3_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining3_simple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining3_simple_f2.otf
-Tests/ttLib/tables/data/aots/gsub_chaining3_simple_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining3_simple_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_chaining3_successive_f1.otf
-Tests/ttLib/tables/data/aots/gsub_chaining3_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_chaining3_successive_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context1_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context1_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context1_boundary_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context1_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gsub_context1_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context1_boundary_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context1_expansion_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context1_expansion_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context1_expansion_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context1_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context1_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context1_lookupflag_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context1_lookupflag_f2.otf
-Tests/ttLib/tables/data/aots/gsub_context1_lookupflag_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context1_lookupflag_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context1_multiple_subrules_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context1_multiple_subrules_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context1_multiple_subrules_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context1_multiple_subrules_f2.otf
-Tests/ttLib/tables/data/aots/gsub_context1_multiple_subrules_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context1_multiple_subrules_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context1_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context1_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context1_next_glyph_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context1_simple_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context1_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context1_simple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context1_simple_f2.otf
-Tests/ttLib/tables/data/aots/gsub_context1_simple_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context1_simple_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context1_successive_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context1_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context1_successive_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context2_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_boundary_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gsub_context2_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_boundary_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_classes_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context2_classes_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_classes_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_classes_f2.otf
-Tests/ttLib/tables/data/aots/gsub_context2_classes_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_classes_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_expansion_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context2_expansion_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_expansion_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context2_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_lookupflag_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_lookupflag_f2.otf
-Tests/ttLib/tables/data/aots/gsub_context2_lookupflag_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_lookupflag_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_multiple_subrules_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context2_multiple_subrules_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_multiple_subrules_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_multiple_subrules_f2.otf
-Tests/ttLib/tables/data/aots/gsub_context2_multiple_subrules_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_multiple_subrules_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context2_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_next_glyph_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_simple_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context2_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_simple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_simple_f2.otf
-Tests/ttLib/tables/data/aots/gsub_context2_simple_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_simple_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context2_successive_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context2_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context2_successive_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context3_boundary_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context3_boundary_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context3_boundary_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context3_boundary_f2.otf
-Tests/ttLib/tables/data/aots/gsub_context3_boundary_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context3_boundary_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context3_lookupflag_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context3_lookupflag_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context3_lookupflag_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context3_lookupflag_f2.otf
-Tests/ttLib/tables/data/aots/gsub_context3_lookupflag_f2.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context3_lookupflag_f2.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context3_next_glyph_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context3_next_glyph_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context3_next_glyph_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context3_simple_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context3_simple_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context3_simple_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/gsub_context3_successive_f1.otf
-Tests/ttLib/tables/data/aots/gsub_context3_successive_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/gsub_context3_successive_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/lookupflag_ignore_attach_f1.otf
-Tests/ttLib/tables/data/aots/lookupflag_ignore_attach_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/lookupflag_ignore_attach_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/lookupflag_ignore_base_f1.otf
-Tests/ttLib/tables/data/aots/lookupflag_ignore_base_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/lookupflag_ignore_base_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/lookupflag_ignore_combination_f1.otf
-Tests/ttLib/tables/data/aots/lookupflag_ignore_combination_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/lookupflag_ignore_combination_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/lookupflag_ignore_ligatures_f1.otf
-Tests/ttLib/tables/data/aots/lookupflag_ignore_ligatures_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/lookupflag_ignore_ligatures_f1.ttx.GSUB
-Tests/ttLib/tables/data/aots/lookupflag_ignore_marks_f1.otf
-Tests/ttLib/tables/data/aots/lookupflag_ignore_marks_f1.ttx.GDEF
-Tests/ttLib/tables/data/aots/lookupflag_ignore_marks_f1.ttx.GSUB
-Tests/ttLib/tables/data/graphite/graphite_tests.ttf
-Tests/ttLib/tables/data/graphite/graphite_tests.ttx.Feat
-Tests/ttLib/tables/data/graphite/graphite_tests.ttx.Glat
-Tests/ttLib/tables/data/graphite/graphite_tests.ttx.Glat.setup
-Tests/ttLib/tables/data/graphite/graphite_tests.ttx.Silf
-Tests/ttLib/tables/data/graphite/graphite_tests.ttx.Silf.setup
-Tests/ttLib/tables/data/graphite/graphite_tests.ttx.Sill
-Tests/ttx/ttx_test.py
-Tests/ttx/data/TestBOM.ttx
-Tests/ttx/data/TestDFONT.dfont
-Tests/ttx/data/TestNoSFNT.ttx
-Tests/ttx/data/TestNoXML.ttx
-Tests/ttx/data/TestOTF.otf
-Tests/ttx/data/TestOTF.ttx
-Tests/ttx/data/TestTTC.ttc
-Tests/ttx/data/TestTTF.ttf
-Tests/ttx/data/TestTTF.ttx
-Tests/ttx/data/TestWOFF.woff
-Tests/ttx/data/TestWOFF2.woff2
-Tests/ufoLib/GLIF1_test.py
-Tests/ufoLib/GLIF2_test.py
-Tests/ufoLib/UFO1_test.py
-Tests/ufoLib/UFO2_test.py
-Tests/ufoLib/UFO3_test.py
-Tests/ufoLib/UFOConversion_test.py
-Tests/ufoLib/UFOZ_test.py
-Tests/ufoLib/__init__.py
-Tests/ufoLib/filenames_test.py
-Tests/ufoLib/glifLib_test.py
-Tests/ufoLib/testSupport.py
-Tests/ufoLib/ufoLib_test.py
-Tests/ufoLib/testdata/DemoFont.ufo/fontinfo.plist
-Tests/ufoLib/testdata/DemoFont.ufo/lib.plist
-Tests/ufoLib/testdata/DemoFont.ufo/metainfo.plist
-Tests/ufoLib/testdata/DemoFont.ufo/glyphs/A_.glif
-Tests/ufoLib/testdata/DemoFont.ufo/glyphs/B_.glif
-Tests/ufoLib/testdata/DemoFont.ufo/glyphs/F_.glif
-Tests/ufoLib/testdata/DemoFont.ufo/glyphs/F__A__B_.glif
-Tests/ufoLib/testdata/DemoFont.ufo/glyphs/G_.glif
-Tests/ufoLib/testdata/DemoFont.ufo/glyphs/O_.glif
-Tests/ufoLib/testdata/DemoFont.ufo/glyphs/R_.glif
-Tests/ufoLib/testdata/DemoFont.ufo/glyphs/a.glif
-Tests/ufoLib/testdata/DemoFont.ufo/glyphs/contents.plist
-Tests/ufoLib/testdata/DemoFont.ufo/glyphs/testglyph1.glif
-Tests/ufoLib/testdata/DemoFont.ufo/glyphs/testglyph1.reversed.glif
-Tests/ufoLib/testdata/TestFont1 (UFO1).ufo/fontinfo.plist
-Tests/ufoLib/testdata/TestFont1 (UFO1).ufo/groups.plist
-Tests/ufoLib/testdata/TestFont1 (UFO1).ufo/kerning.plist
-Tests/ufoLib/testdata/TestFont1 (UFO1).ufo/lib.plist
-Tests/ufoLib/testdata/TestFont1 (UFO1).ufo/metainfo.plist
-Tests/ufoLib/testdata/TestFont1 (UFO1).ufo/glyphs/A_.glif
-Tests/ufoLib/testdata/TestFont1 (UFO1).ufo/glyphs/B_.glif
-Tests/ufoLib/testdata/TestFont1 (UFO1).ufo/glyphs/contents.plist
-Tests/ufoLib/testdata/TestFont1 (UFO2).ufo/features.fea
-Tests/ufoLib/testdata/TestFont1 (UFO2).ufo/fontinfo.plist
-Tests/ufoLib/testdata/TestFont1 (UFO2).ufo/groups.plist
-Tests/ufoLib/testdata/TestFont1 (UFO2).ufo/kerning.plist
-Tests/ufoLib/testdata/TestFont1 (UFO2).ufo/lib.plist
-Tests/ufoLib/testdata/TestFont1 (UFO2).ufo/metainfo.plist
-Tests/ufoLib/testdata/TestFont1 (UFO2).ufo/glyphs/A_.glif
-Tests/ufoLib/testdata/TestFont1 (UFO2).ufo/glyphs/B_.glif
-Tests/ufoLib/testdata/TestFont1 (UFO2).ufo/glyphs/contents.plist
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/fontinfo.plist
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/kerning.plist
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/layercontents.plist
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/lib.plist
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/metainfo.plist
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/data/com.github.fonttools.ttx/CUST.ttx
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/_notdef.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/a.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/b.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/c.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/contents.plist
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/d.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/e.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/f.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/g.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/h.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/i.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/j.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/k.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/l.glif
-Tests/ufoLib/testdata/TestFont1 (UFO3).ufo/glyphs/space.glif
-Tests/ufoLib/testdata/UFO3-Read Data.ufo/groups.plist
-Tests/ufoLib/testdata/UFO3-Read Data.ufo/metainfo.plist
-Tests/ufoLib/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.file.txt
-Tests/ufoLib/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/foo.txt
-Tests/ufoLib/testdata/UFO3-Read Data.ufo/data/org.unifiedfontobject.directory/bar/lol.txt
-Tests/varLib/__init__.py
-Tests/varLib/builder_test.py
-Tests/varLib/featureVars_test.py
-Tests/varLib/instancer_test.py
-Tests/varLib/interpolatable_test.py
-Tests/varLib/interpolate_layout_test.py
-Tests/varLib/models_test.py
-Tests/varLib/mutator_test.py
-Tests/varLib/varLib_test.py
-Tests/varLib/data/Build.designspace
-Tests/varLib/data/BuildAvarEmptyAxis.designspace
-Tests/varLib/data/BuildAvarIdentityMaps.designspace
-Tests/varLib/data/BuildAvarSingleAxis.designspace
-Tests/varLib/data/BuildGvarCompositeExplicitDelta.designspace
-Tests/varLib/data/FeatureVars.designspace
-Tests/varLib/data/FeatureVarsCustomTag.designspace
-Tests/varLib/data/FeatureVarsWholeRange.designspace
-Tests/varLib/data/FeatureVarsWholeRangeEmpty.designspace
-Tests/varLib/data/InterpolateLayout.designspace
-Tests/varLib/data/InterpolateLayout2.designspace
-Tests/varLib/data/InterpolateLayout3.designspace
-Tests/varLib/data/KerningMerging.designspace
-Tests/varLib/data/PartialInstancerTest-VF.ttx
-Tests/varLib/data/PartialInstancerTest2-VF.ttx
-Tests/varLib/data/PartialInstancerTest3-VF.ttx
-Tests/varLib/data/SingleMaster.designspace
-Tests/varLib/data/SparseMasters.designspace
-Tests/varLib/data/TestBASE.designspace
-Tests/varLib/data/TestCFF2.designspace
-Tests/varLib/data/TestCFF2Input.designspace
-Tests/varLib/data/TestNonMarkingCFF2.designspace
-Tests/varLib/data/TestSparseCFF2VF.designspace
-Tests/varLib/data/TestVVAR.designspace
-Tests/varLib/data/VarLibLocationTest.designspace
-Tests/varLib/data/test_vpal.designspace
-Tests/varLib/data/master_base_test/TestBASE.0.ttx
-Tests/varLib/data/master_base_test/TestBASE.900.ttx
-Tests/varLib/data/master_cff2/TestCFF2_Black.ttx
-Tests/varLib/data/master_cff2/TestCFF2_ExtraLight.ttx
-Tests/varLib/data/master_cff2/TestCFF2_Regular.ttx
-Tests/varLib/data/master_cff2_input/TestCFF2_Black.ttx
-Tests/varLib/data/master_cff2_input/TestCFF2_ExtraLight.ttx
-Tests/varLib/data/master_cff2_input/TestCFF2_Regular.ttx
-Tests/varLib/data/master_kerning_merging/0.ttx
-Tests/varLib/data/master_kerning_merging/1.ttx
-Tests/varLib/data/master_kerning_merging/2.ttx
-Tests/varLib/data/master_non_marking_cff2/TestNonMarkingCFF2_ExtraLight.ttx
-Tests/varLib/data/master_non_marking_cff2/TestNonMarkingCFF2_Regular.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w0.00.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w1000.00.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w439.00.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w440.00.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w599.00.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w600.00.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w669.00.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w670.00.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w799.00.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w800.00.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w889.00.ttx
-Tests/varLib/data/master_sparse_cff2/MasterSet_Kanji-w890.00.ttx
-Tests/varLib/data/master_ttx_getvar_ttf/Mutator_Getvar.ttx
-Tests/varLib/data/master_ttx_interpolatable_otf/TestFamily2-Master0.ttx
-Tests/varLib/data/master_ttx_interpolatable_otf/TestFamily2-Master1.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/SparseMasters-Bold.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/SparseMasters-Medium.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/SparseMasters-Regular.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily-Master0.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily-Master1.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily-Master2.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily-Master3.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily-Master4.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily2-Master0.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily2-Master1.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily3-Bold.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily3-Condensed.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily3-CondensedBold.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily3-CondensedLight.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily3-CondensedSemiBold.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily3-Light.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily3-Regular.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily3-SemiBold.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily4-Italic15.ttx
-Tests/varLib/data/master_ttx_interpolatable_ttf/TestFamily4-Regular.ttx
-Tests/varLib/data/master_ttx_varfont_otf/TestCFF2VF.ttx
-Tests/varLib/data/master_ttx_varfont_ttf/Mutator_IUP.ttx
-Tests/varLib/data/master_ufo/TestFamily-Master0.ufo/features.fea
-Tests/varLib/data/master_ufo/TestFamily-Master0.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily-Master0.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily-Master0.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily-Master0.ufo/glyphs/A_.glif
-Tests/varLib/data/master_ufo/TestFamily-Master0.ufo/glyphs/_notdef.glif
-Tests/varLib/data/master_ufo/TestFamily-Master0.ufo/glyphs/a.glif
-Tests/varLib/data/master_ufo/TestFamily-Master0.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily-Master0.ufo/glyphs/dollar.glif
-Tests/varLib/data/master_ufo/TestFamily-Master0.ufo/glyphs/dollar.nostroke.glif
-Tests/varLib/data/master_ufo/TestFamily-Master0.ufo/glyphs/space.glif
-Tests/varLib/data/master_ufo/TestFamily-Master1.ufo/features.fea
-Tests/varLib/data/master_ufo/TestFamily-Master1.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily-Master1.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily-Master1.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily-Master1.ufo/glyphs/A_.glif
-Tests/varLib/data/master_ufo/TestFamily-Master1.ufo/glyphs/_notdef.glif
-Tests/varLib/data/master_ufo/TestFamily-Master1.ufo/glyphs/a.glif
-Tests/varLib/data/master_ufo/TestFamily-Master1.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily-Master1.ufo/glyphs/dollar.glif
-Tests/varLib/data/master_ufo/TestFamily-Master1.ufo/glyphs/dollar.nostroke.glif
-Tests/varLib/data/master_ufo/TestFamily-Master1.ufo/glyphs/space.glif
-Tests/varLib/data/master_ufo/TestFamily-Master2.ufo/features.fea
-Tests/varLib/data/master_ufo/TestFamily-Master2.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily-Master2.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily-Master2.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily-Master2.ufo/glyphs/A_.glif
-Tests/varLib/data/master_ufo/TestFamily-Master2.ufo/glyphs/_notdef.glif
-Tests/varLib/data/master_ufo/TestFamily-Master2.ufo/glyphs/a.glif
-Tests/varLib/data/master_ufo/TestFamily-Master2.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily-Master2.ufo/glyphs/dollar.glif
-Tests/varLib/data/master_ufo/TestFamily-Master2.ufo/glyphs/dollar.nostroke.glif
-Tests/varLib/data/master_ufo/TestFamily-Master2.ufo/glyphs/space.glif
-Tests/varLib/data/master_ufo/TestFamily-Master3.ufo/features.fea
-Tests/varLib/data/master_ufo/TestFamily-Master3.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily-Master3.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily-Master3.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily-Master3.ufo/glyphs/A_.glif
-Tests/varLib/data/master_ufo/TestFamily-Master3.ufo/glyphs/_notdef.glif
-Tests/varLib/data/master_ufo/TestFamily-Master3.ufo/glyphs/a.glif
-Tests/varLib/data/master_ufo/TestFamily-Master3.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily-Master3.ufo/glyphs/dollar.glif
-Tests/varLib/data/master_ufo/TestFamily-Master3.ufo/glyphs/dollar.nostroke.glif
-Tests/varLib/data/master_ufo/TestFamily-Master3.ufo/glyphs/space.glif
-Tests/varLib/data/master_ufo/TestFamily-Master4.ufo/features.fea
-Tests/varLib/data/master_ufo/TestFamily-Master4.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily-Master4.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily-Master4.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily-Master4.ufo/glyphs/A_.glif
-Tests/varLib/data/master_ufo/TestFamily-Master4.ufo/glyphs/_notdef.glif
-Tests/varLib/data/master_ufo/TestFamily-Master4.ufo/glyphs/a.glif
-Tests/varLib/data/master_ufo/TestFamily-Master4.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily-Master4.ufo/glyphs/dollar.glif
-Tests/varLib/data/master_ufo/TestFamily-Master4.ufo/glyphs/dollar.nostroke.glif
-Tests/varLib/data/master_ufo/TestFamily-Master4.ufo/glyphs/space.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/features.fea
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/A_.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/A_.sc.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/_notdef.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/a.alt.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/a.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/ampersand.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/atilde.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/circledotted.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/d.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/dieresisbelowcmb.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/dieresiscmb.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/f.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/f_t.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/space.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/t.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/tildebelowcmb.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/tildecmb.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/features.fea
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/A_.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/A_.sc.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/_notdef.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/a.alt.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/a.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/ampersand.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/atilde.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/circledotted.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/d.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/dieresisbelowcmb.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/dieresiscmb.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/f.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/f_t.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/space.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/t.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/tildebelowcmb.glif
-Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/tildecmb.glif
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/groups.plist
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/kerning.plist
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/layercontents.plist
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/glyphs/F_.glif
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/glyphs/T_.glif
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/glyphs/l.glif
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/glyphs/layerinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/glyphs/o.glif
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/glyphs/s.glif
-Tests/varLib/data/master_ufo/TestFamily3-Bold.ufo/glyphs/t.glif
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/groups.plist
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/kerning.plist
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/layercontents.plist
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/glyphs/F_.glif
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/glyphs/T_.glif
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/glyphs/l.glif
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/glyphs/layerinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/glyphs/o.glif
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/glyphs/s.glif
-Tests/varLib/data/master_ufo/TestFamily3-Condensed.ufo/glyphs/t.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/groups.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/kerning.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/layercontents.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/glyphs/F_.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/glyphs/T_.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/glyphs/l.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/glyphs/layerinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/glyphs/o.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/glyphs/s.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedBold.ufo/glyphs/t.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/groups.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/kerning.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/layercontents.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/glyphs/F_.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/glyphs/T_.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/glyphs/l.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/glyphs/layerinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/glyphs/o.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/glyphs/s.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedLight.ufo/glyphs/t.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/groups.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/kerning.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/layercontents.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/glyphs/F_.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/glyphs/T_.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/glyphs/l.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/glyphs/layerinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/glyphs/o.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/glyphs/s.glif
-Tests/varLib/data/master_ufo/TestFamily3-CondensedSemiBold.ufo/glyphs/t.glif
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/groups.plist
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/kerning.plist
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/layercontents.plist
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/glyphs/F_.glif
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/glyphs/T_.glif
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/glyphs/l.glif
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/glyphs/layerinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/glyphs/o.glif
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/glyphs/s.glif
-Tests/varLib/data/master_ufo/TestFamily3-Light.ufo/glyphs/t.glif
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/groups.plist
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/kerning.plist
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/layercontents.plist
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/glyphs/F_.glif
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/glyphs/T_.glif
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/glyphs/l.glif
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/glyphs/layerinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/glyphs/o.glif
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/glyphs/s.glif
-Tests/varLib/data/master_ufo/TestFamily3-Regular.ufo/glyphs/t.glif
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/groups.plist
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/kerning.plist
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/layercontents.plist
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/glyphs/F_.glif
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/glyphs/T_.glif
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/glyphs/l.glif
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/glyphs/layerinfo.plist
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/glyphs/o.glif
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/glyphs/s.glif
-Tests/varLib/data/master_ufo/TestFamily3-SemiBold.ufo/glyphs/t.glif
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/features.fea
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/groups.plist
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/layercontents.plist
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs/N_.glif
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs/O_.glif
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs/O_dieresis.glif
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs/dieresiscomb.glif
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs/o.glif
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs/odieresis.glif
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs.public.background/N_.glif
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs.public.background/O_.glif
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs.public.background/contents.plist
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs.public.background/dieresiscomb.glif
-Tests/varLib/data/master_ufo/TestFamily4-Italic15.ufo/glyphs.public.background/o.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/features.fea
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/fontinfo.plist
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/groups.plist
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/kerning.plist
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/layercontents.plist
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/lib.plist
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/metainfo.plist
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs/N_.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs/O_.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs/O_dieresis.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs/contents.plist
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs/dieresiscomb.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs/n.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs/o.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs/odieresis.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs.public.background/N_.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs.public.background/O_.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs.public.background/contents.plist
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs.public.background/dieresiscomb.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs.public.background/n.glif
-Tests/varLib/data/master_ufo/TestFamily4-Regular.ufo/glyphs.public.background/o.glif
-Tests/varLib/data/master_vpal_test/master_vpal_test_0.ttx
-Tests/varLib/data/master_vpal_test/master_vpal_test_1.ttx
-Tests/varLib/data/master_vvar_cff2/TestVVAR.0.ttx
-Tests/varLib/data/master_vvar_cff2/TestVVAR.1.ttx
-Tests/varLib/data/test_results/Build.ttx
-Tests/varLib/data/test_results/BuildAvarEmptyAxis.ttx
-Tests/varLib/data/test_results/BuildAvarIdentityMaps.ttx
-Tests/varLib/data/test_results/BuildAvarSingleAxis.ttx
-Tests/varLib/data/test_results/BuildGvarCompositeExplicitDelta.ttx
-Tests/varLib/data/test_results/BuildMain.ttx
-Tests/varLib/data/test_results/BuildTestCFF2.ttx
-Tests/varLib/data/test_results/FeatureVars.ttx
-Tests/varLib/data/test_results/FeatureVarsCustomTag.ttx
-Tests/varLib/data/test_results/FeatureVarsWholeRange.ttx
-Tests/varLib/data/test_results/FeatureVars_rclt.ttx
-Tests/varLib/data/test_results/InterpolateLayout.ttx
-Tests/varLib/data/test_results/InterpolateLayout2.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_1_diff.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_1_diff2.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_1_same.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_2_class_diff.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_2_class_diff2.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_2_class_same.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_2_spec_diff.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_2_spec_diff2.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_2_spec_same.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_3_diff.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_3_same.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_4_diff.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_4_same.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_5_diff.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_5_same.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_6_diff.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_6_same.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_diff.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_same.ttx
-Tests/varLib/data/test_results/InterpolateLayoutGPOS_size_feat_same.ttx
-Tests/varLib/data/test_results/InterpolateLayoutMain.ttx
-Tests/varLib/data/test_results/InterpolateTestCFF2VF.ttx
-Tests/varLib/data/test_results/Mutator.ttx
-Tests/varLib/data/test_results/Mutator_Getvar-instance.ttx
-Tests/varLib/data/test_results/Mutator_IUP-instance.ttx
-Tests/varLib/data/test_results/PartialInstancerTest2-VF-instance-100,100.ttx
-Tests/varLib/data/test_results/PartialInstancerTest2-VF-instance-100,62.5.ttx
-Tests/varLib/data/test_results/PartialInstancerTest2-VF-instance-400,100.ttx
-Tests/varLib/data/test_results/PartialInstancerTest2-VF-instance-400,62.5.ttx
-Tests/varLib/data/test_results/PartialInstancerTest2-VF-instance-900,100.ttx
-Tests/varLib/data/test_results/PartialInstancerTest2-VF-instance-900,62.5.ttx
-Tests/varLib/data/test_results/PartialInstancerTest3-VF-instance-400-no-overlap-flags.ttx
-Tests/varLib/data/test_results/PartialInstancerTest3-VF-instance-400-no-overlaps.ttx
-Tests/varLib/data/test_results/PartialInstancerTest3-VF-instance-700-no-overlaps.ttx
-Tests/varLib/data/test_results/SingleMaster.ttx
-Tests/varLib/data/test_results/SparseMasters.ttx
-Tests/varLib/data/test_results/TestBASE.ttx
-Tests/varLib/data/test_results/TestNonMarkingCFF2.ttx
-Tests/varLib/data/test_results/TestSparseCFF2VF.ttx
-Tests/varLib/data/test_results/TestVVAR.ttx
-Tests/varLib/data/test_results/test_vpal.ttx
-Tests/voltLib/lexer_test.py
-Tests/voltLib/parser_test.py \ No newline at end of file
diff --git a/Lib/fonttools.egg-info/dependency_links.txt b/Lib/fonttools.egg-info/dependency_links.txt
deleted file mode 100644
index 8b137891..00000000
--- a/Lib/fonttools.egg-info/dependency_links.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/Lib/fonttools.egg-info/entry_points.txt b/Lib/fonttools.egg-info/entry_points.txt
deleted file mode 100644
index 2c235cff..00000000
--- a/Lib/fonttools.egg-info/entry_points.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-[console_scripts]
-fonttools = fontTools.__main__:main
-pyftmerge = fontTools.merge:main
-pyftsubset = fontTools.subset:main
-ttx = fontTools.ttx:main
-
diff --git a/Lib/fonttools.egg-info/requires.txt b/Lib/fonttools.egg-info/requires.txt
deleted file mode 100644
index 28edb796..00000000
--- a/Lib/fonttools.egg-info/requires.txt
+++ /dev/null
@@ -1,68 +0,0 @@
-
-[all]
-fs<3,>=2.2.0
-lxml<5,>=4.0
-zopfli>=0.1.4
-lz4>=1.7.4.2
-matplotlib
-sympy
-skia-pathops>=0.5.0
-
-[all:platform_python_implementation != "PyPy"]
-brotli>=1.0.1
-scipy
-
-[all:platform_python_implementation == "PyPy"]
-brotlipy>=0.7.0
-munkres
-
-[all:python_version < "3.9" and platform_python_implementation != "PyPy"]
-unicodedata2>=13.0.0
-
-[all:sys_platform == "darwin"]
-xattr
-
-[graphite]
-lz4>=1.7.4.2
-
-[interpolatable]
-
-[interpolatable:platform_python_implementation != "PyPy"]
-scipy
-
-[interpolatable:platform_python_implementation == "PyPy"]
-munkres
-
-[lxml]
-lxml<5,>=4.0
-
-[pathops]
-skia-pathops>=0.5.0
-
-[plot]
-matplotlib
-
-[symfont]
-sympy
-
-[type1]
-
-[type1:sys_platform == "darwin"]
-xattr
-
-[ufo]
-fs<3,>=2.2.0
-
-[unicode]
-
-[unicode:python_version < "3.9" and platform_python_implementation != "PyPy"]
-unicodedata2>=13.0.0
-
-[woff]
-zopfli>=0.1.4
-
-[woff:platform_python_implementation != "PyPy"]
-brotli>=1.0.1
-
-[woff:platform_python_implementation == "PyPy"]
-brotlipy>=0.7.0
diff --git a/Lib/fonttools.egg-info/top_level.txt b/Lib/fonttools.egg-info/top_level.txt
deleted file mode 100644
index 9af65ba3..00000000
--- a/Lib/fonttools.egg-info/top_level.txt
+++ /dev/null
@@ -1 +0,0 @@
-fontTools
diff --git a/METADATA b/METADATA
index 9448fc40..363f52dc 100644
--- a/METADATA
+++ b/METADATA
@@ -7,13 +7,13 @@ third_party {
}
url {
type: ARCHIVE
- value: "https://github.com/fonttools/fonttools/releases/download/4.17.1/fonttools-4.17.1.zip"
+ value: "https://github.com/fonttools/fonttools/archive/4.18.0.zip"
}
- version: "4.17.1"
+ version: "4.18.0"
license_type: NOTICE
last_upgrade_date {
year: 2020
- month: 11
- day: 16
+ month: 12
+ day: 4
}
}
diff --git a/NEWS.rst b/NEWS.rst
index be8fb782..bf3a7222 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -1,3 +1,24 @@
+4.18.0 (released 2020-12-04)
+----------------------------
+
+- [COLRv1] Update to latest draft: added ``PaintRotate`` and ``PaintSkew`` (#2118).
+- [woff2] Support new ``brotlicffi`` bindings for PyPy (#2117).
+- [glifLib] Added ``expectContentsFile`` parameter to ``GlyphSet``, for use when
+ reading existing UFOs, to comply with the specification stating that a
+ ``contents.plist`` file must exist in a glyph set (#2114).
+- [subset] Allow ``LangSys`` tags in ``--layout-scripts`` option (#2112). For example:
+ ``--layout-scripts=arab.dflt,arab.URD,latn``; this will keep ``DefaultLangSys``
+ and ``URD`` language for ``arab`` script, and all languages for ``latn`` script.
+- [varLib.interpolatable] Allow UFOs to be checked; report open paths, non existant
+ glyphs; add a ``--json`` option to produce a machine-readable list of
+ incompatibilities
+- [pens] Added ``QuartzPen`` to create ``CGPath`` from glyph outlines on macOS.
+ Requires pyobjc (#2107).
+- [feaLib] You can export ``FONTTOOLS_LOOKUP_DEBUGGING=1`` to enable feature file
+ debugging info stored in ``Debg`` table (#2106).
+- [otlLib] Build more efficient format 1 and format 2 contextual lookups whenever
+ possible (#2101).
+
4.17.1 (released 2020-11-16)
----------------------------
diff --git a/PKG-INFO b/PKG-INFO
deleted file mode 100644
index c85d381e..00000000
--- a/PKG-INFO
+++ /dev/null
@@ -1,2106 +0,0 @@
-Metadata-Version: 2.1
-Name: fonttools
-Version: 4.17.1
-Summary: Tools to manipulate font files
-Home-page: http://github.com/fonttools/fonttools
-Author: Just van Rossum
-Author-email: just@letterror.com
-Maintainer: Behdad Esfahbod
-Maintainer-email: behdad@behdad.org
-License: MIT
-Description: |Travis Build Status| |Appveyor Build status| |Coverage Status| |PyPI| |Gitter Chat|
-
- What is this?
- ~~~~~~~~~~~~~
-
- | fontTools is a library for manipulating fonts, written in Python. The
- project includes the TTX tool, that can convert TrueType and OpenType
- fonts to and from an XML text format, which is also called TTX. It
- supports TrueType, OpenType, AFM and to an extent Type 1 and some
- Mac-specific formats. The project has an `MIT open-source
- licence <LICENSE>`__.
- | Among other things this means you can use it free of charge.
-
- `User documentation <https://fonttools.readthedocs.io/en/latest/>`_ and
- `developer documentation <https://fonttools.readthedocs.io/en/latest/developer.html>`_
- are available at `Read the Docs <https://fonttools.readthedocs.io/>`_.
-
- Installation
- ~~~~~~~~~~~~
-
- FontTools 4.x requires `Python <http://www.python.org/download/>`__ 3.6
- or later. FontTools 3.x requires Python 2.7 or later.
-
- **NOTE** From August 2019, until no later than January 1 2020, the support
- for *Python 2.7* will be limited to only critical bug fixes, and no new features
- will be added to the ``py27`` branch. You can read more `here <https://python3statement.org>`__
- and `here <https://github.com/fonttools/fonttools/issues/765>`__ for the
- reasons behind this decision.
-
- The package is listed in the Python Package Index (PyPI), so you can
- install it with `pip <https://pip.pypa.io>`__:
-
- .. code:: sh
-
- pip install fonttools
-
- If you would like to contribute to its development, you can clone the
- repository from GitHub, install the package in 'editable' mode and
- modify the source code in place. We recommend creating a virtual
- environment, using `virtualenv <https://virtualenv.pypa.io>`__ or
- Python 3 `venv <https://docs.python.org/3/library/venv.html>`__ module.
-
- .. code:: sh
-
- # download the source code to 'fonttools' folder
- git clone https://github.com/fonttools/fonttools.git
- cd fonttools
-
- # create new virtual environment called e.g. 'fonttools-venv', or anything you like
- python -m virtualenv fonttools-venv
-
- # source the `activate` shell script to enter the environment (Un*x); to exit, just type `deactivate`
- . fonttools-venv/bin/activate
-
- # to activate the virtual environment in Windows `cmd.exe`, do
- fonttools-venv\Scripts\activate.bat
-
- # install in 'editable' mode
- pip install -e .
-
- Optional Requirements
- ---------------------
-
- The ``fontTools`` package currently has no (required) external dependencies
- besides the modules included in the Python Standard Library.
- However, a few extra dependencies are required by some of its modules, which
- are needed to unlock optional features.
- The ``fonttools`` PyPI distribution also supports so-called "extras", i.e. a
- set of keywords that describe a group of additional dependencies, which can be
- used when installing via pip, or when specifying a requirement.
- For example:
-
- .. code:: sh
-
- pip install fonttools[ufo,lxml,woff,unicode]
-
- This command will install fonttools, as well as the optional dependencies that
- are required to unlock the extra features named "ufo", etc.
-
- - ``Lib/fontTools/misc/etree.py``
-
- The module exports a ElementTree-like API for reading/writing XML files, and
- allows to use as the backend either the built-in ``xml.etree`` module or
- `lxml <https://lxml.de>`__. The latter is preferred whenever present,
- as it is generally faster and more secure.
-
- *Extra:* ``lxml``
-
- - ``Lib/fontTools/ufoLib``
-
- Package for reading and writing UFO source files; it requires:
-
- * `fs <https://pypi.org/pypi/fs>`__: (aka ``pyfilesystem2``) filesystem
- abstraction layer.
-
- * `enum34 <https://pypi.org/pypi/enum34>`__: backport for the built-in ``enum``
- module (only required on Python < 3.4).
-
- *Extra:* ``ufo``
-
- - ``Lib/fontTools/ttLib/woff2.py``
-
- Module to compress/decompress WOFF 2.0 web fonts; it requires:
-
- * `brotli <https://pypi.python.org/pypi/Brotli>`__: Python bindings of
- the Brotli compression library.
-
- *Extra:* ``woff``
-
- - ``Lib/fontTools/ttLib/sfnt.py``
-
- To better compress WOFF 1.0 web fonts, the following module can be used
- instead of the built-in ``zlib`` library:
-
- * `zopfli <https://pypi.python.org/pypi/zopfli>`__: Python bindings of
- the Zopfli compression library.
-
- *Extra:* ``woff``
-
- - ``Lib/fontTools/unicode.py``
-
- To display the Unicode character names when dumping the ``cmap`` table
- with ``ttx`` we use the ``unicodedata`` module in the Standard Library.
- The version included in there varies between different Python versions.
- To use the latest available data, you can install:
-
- * `unicodedata2 <https://pypi.python.org/pypi/unicodedata2>`__:
- ``unicodedata`` backport for Python 2.7 and 3.x updated to the latest
- Unicode version 12.0. Note this is not necessary if you use Python 3.8
- as the latter already comes with an up-to-date ``unicodedata``.
-
- *Extra:* ``unicode``
-
- - ``Lib/fontTools/varLib/interpolatable.py``
-
- Module for finding wrong contour/component order between different masters.
- It requires one of the following packages in order to solve the so-called
- "minimum weight perfect matching problem in bipartite graphs", or
- the Assignment problem:
-
- * `scipy <https://pypi.python.org/pypi/scipy>`__: the Scientific Library
- for Python, which internally uses `NumPy <https://pypi.python.org/pypi/numpy>`__
- arrays and hence is very fast;
- * `munkres <https://pypi.python.org/pypi/munkres>`__: a pure-Python
- module that implements the Hungarian or Kuhn-Munkres algorithm.
-
- *Extra:* ``interpolatable``
-
- - ``Lib/fontTools/varLib/plot.py``
-
- Module for visualizing DesignSpaceDocument and resulting VariationModel.
-
- * `matplotlib <https://pypi.org/pypi/matplotlib>`__: 2D plotting library.
-
- *Extra:* ``plot``
-
- - ``Lib/fontTools/misc/symfont.py``
-
- Advanced module for symbolic font statistics analysis; it requires:
-
- * `sympy <https://pypi.python.org/pypi/sympy>`__: the Python library for
- symbolic mathematics.
-
- *Extra:* ``symfont``
-
- - ``Lib/fontTools/t1Lib.py``
-
- To get the file creator and type of Macintosh PostScript Type 1 fonts
- on Python 3 you need to install the following module, as the old ``MacOS``
- module is no longer included in Mac Python:
-
- * `xattr <https://pypi.python.org/pypi/xattr>`__: Python wrapper for
- extended filesystem attributes (macOS platform only).
-
- *Extra:* ``type1``
-
- - ``Lib/fontTools/ttLib/removeOverlaps.py``
-
- Simplify TrueType glyphs by merging overlapping contours and components.
-
- * `skia-pathops <https://pypi.python.org/pypy/skia-pathops>`__: Python
- bindings for the Skia library's PathOps module, performing boolean
- operations on paths (union, intersection, etc.).
-
- *Extra:* ``pathops``
-
- - ``Lib/fontTools/pens/cocoaPen.py``
-
- Pen for drawing glyphs with Cocoa ``NSBezierPath``, requires:
-
- * `PyObjC <https://pypi.python.org/pypi/pyobjc>`__: the bridge between
- Python and the Objective-C runtime (macOS platform only).
-
- - ``Lib/fontTools/pens/qtPen.py``
-
- Pen for drawing glyphs with Qt's ``QPainterPath``, requires:
-
- * `PyQt5 <https://pypi.python.org/pypi/PyQt5>`__: Python bindings for
- the Qt cross platform UI and application toolkit.
-
- - ``Lib/fontTools/pens/reportLabPen.py``
-
- Pen to drawing glyphs as PNG images, requires:
-
- * `reportlab <https://pypi.python.org/pypi/reportlab>`__: Python toolkit
- for generating PDFs and graphics.
-
- Acknowledgements
- ~~~~~~~~~~~~~~~~
-
- In alphabetical order:
-
- Olivier Berten, Samyak Bhuta, Erik van Blokland, Petr van Blokland,
- Jelle Bosma, Sascha Brawer, Tom Byrer, Frédéric Coiffier, Vincent
- Connare, David Corbett, Simon Cozens, Dave Crossland, Simon Daniels,
- Peter Dekkers, Behdad Esfahbod, Behnam Esfahbod, Hannes Famira, Sam
- Fishman, Matt Fontaine, Yannis Haralambous, Greg Hitchcock, Jeremie
- Hornus, Khaled Hosny, John Hudson, Denis Moyogo Jacquerye, Jack Jansen,
- Tom Kacvinsky, Jens Kutilek, Antoine Leca, Werner Lemberg, Tal Leming,
- Peter Lofting, Cosimo Lupo, Masaya Nakamura, Dave Opstad, Laurence
- Penney, Roozbeh Pournader, Garret Rieger, Read Roberts, Guido van
- Rossum, Just van Rossum, Andreas Seidel, Georg Seifert, Chris Simpkins,
- Miguel Sousa, Adam Twardoch, Adrien Tétar, Vitaly Volkov, Paul Wise.
-
- Copyrights
- ~~~~~~~~~~
-
- | Copyright (c) 1999-2004 Just van Rossum, LettError
- (just@letterror.com)
- | See `LICENSE <LICENSE>`__ for the full license.
-
- Copyright (c) 2000 BeOpen.com. All Rights Reserved.
-
- Copyright (c) 1995-2001 Corporation for National Research Initiatives.
- All Rights Reserved.
-
- Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All
- Rights Reserved.
-
- Have fun!
-
- .. |Travis Build Status| image:: https://travis-ci.org/fonttools/fonttools.svg
- :target: https://travis-ci.org/fonttools/fonttools
- .. |Appveyor Build status| image:: https://ci.appveyor.com/api/projects/status/0f7fmee9as744sl7/branch/master?svg=true
- :target: https://ci.appveyor.com/project/fonttools/fonttools/branch/master
- .. |Coverage Status| image:: https://codecov.io/gh/fonttools/fonttools/branch/master/graph/badge.svg
- :target: https://codecov.io/gh/fonttools/fonttools
- .. |PyPI| image:: https://img.shields.io/pypi/v/fonttools.svg
- :target: https://pypi.org/project/FontTools
- .. |Gitter Chat| image:: https://badges.gitter.im/fonttools-dev/Lobby.svg
- :alt: Join the chat at https://gitter.im/fonttools-dev/Lobby
- :target: https://gitter.im/fonttools-dev/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
-
- Changelog
- ~~~~~~~~~
-
- 4.17.1 (released 2020-11-16)
- ----------------------------
-
- - [colorLib] Fixed regression in 4.17.0 when building COLR v0 table; when color
- layers are stored in UFO lib plist, we can't distinguish tuples from lists so
- we need to accept either types (e5439eb9, googlefonts/ufo2ft/issues#426).
-
- 4.17.0 (released 2020-11-12)
- ----------------------------
-
- - [colorLib/otData] Updated to latest draft ``COLR`` v1 spec (#2092).
- - [svgLib] Fixed parsing error when arc commands' boolean flags are not separated
- by space or comma (#2094).
- - [varLib] Interpret empty non-default glyphs as 'missing', if the default glyph is
- not empty (#2082).
- - [feaLib.builder] Only stash lookup location for ``Debg`` if ``Builder.buildLookups_``
- has cooperated (#2065, #2067).
- - [varLib] Fixed bug in VarStore optimizer (#2073, #2083).
- - [varLib] Add designspace lib key for custom feavar feature tag (#2080).
- - Add HashPointPen adapted from psautohint. With this pen, a hash value of a glyph
- can be computed, which can later be used to detect glyph changes (#2005).
-
- 4.16.1 (released 2020-10-05)
- ----------------------------
-
- - [varLib.instancer] Fixed ``TypeError`` exception when instantiating a VF with
- a GSUB table 1.1 in which ``FeatureVariations`` attribute is present but set to
- ``None`` -- indicating that optional ``FeatureVariations`` is missing (#2077).
- - [glifLib] Make ``x`` and ``y`` attributes of the ``point`` element required
- even when validation is turned off, and raise a meaningful ``GlifLibError``
- message when that happens (#2075).
-
- 4.16.0 (released 2020-09-30)
- ----------------------------
-
- - [removeOverlaps] Added new module and ``removeOverlaps`` function that merges
- overlapping contours and components in TrueType glyphs. It requires the
- `skia-pathops <https://github.com/fonttools/skia-pathops>`__ module.
- Note that removing overlaps invalidates the TrueType hinting (#2068).
- - [varLib.instancer] Added ``--remove-overlaps`` command-line option.
- The ``overlap`` option in ``instantiateVariableFont`` now takes an ``OverlapMode``
- enum: 0: KEEP_AND_DONT_SET_FLAGS, 1: KEEP_AND_SET_FLAGS (default), and 2: REMOVE.
- The latter is equivalent to calling ``removeOverlaps`` on the generated static
- instance. The option continues to accept ``bool`` value for backward compatibility.
-
-
- 4.15.0 (released 2020-09-21)
- ----------------------------
-
- - [plistlib] Added typing annotations to plistlib module. Set up mypy static
- typechecker to run automatically on CI (#2061).
- - [ttLib] Implement private ``Debg`` table, a reverse-DNS namespaced JSON dict.
- - [feaLib] Optionally add an entry into the ``Debg`` table with the original
- lookup name (if any), feature name / script / language combination (if any),
- and original source filename and line location. Annotate the ttx output for
- a lookup with the information from the Debg table (#2052).
- - [sfnt] Disabled checksum checking by default in ``SFNTReader`` (#2058).
- - [Docs] Document ``mtiLib`` module (#2027).
- - [varLib.interpolatable] Added checks for contour node count and operation type
- of each node (#2054).
- - [ttLib] Added API to register custom table packer/unpacker classes (#2055).
-
- 4.14.0 (released 2020-08-19)
- ----------------------------
-
- - [feaLib] Allow anonymous classes in LookupFlags definitions (#2037).
- - [Docs] Better document DesignSpace rules processing order (#2041).
- - [ttLib] Fixed 21-year old bug in ``maxp.maxComponentDepth`` calculation (#2044,
- #2045).
- - [varLib.models] Fixed misspelled argument name in CLI entry point (81d0042a).
- - [subset] When subsetting GSUB v1.1, fixed TypeError by checking whether the
- optional FeatureVariations table is present (e63ecc5b).
- - [Snippets] Added snippet to show how to decompose glyphs in a TTF (#2030).
- - [otlLib] Generate GSUB type 5 and GPOS type 7 contextual lookups where appropriate
- (#2016).
-
- 4.13.0 (released 2020-07-10)
- ----------------------------
-
- - [feaLib/otlLib] Moved lookup subtable builders from feaLib to otlLib; refactored
- some common code (#2004, #2007).
- - [docs] Document otlLib module (#2009).
- - [glifLib] Fixed bug with some UFO .glif filenames clashing on case-insensitive
- filesystems (#2001, #2002).
- - [colorLib] Updated COLRv1 implementation following changes in the draft spec:
- (#2008, googlefonts/colr-gradients-spec#24).
-
- 4.12.1 (released 2020-06-16)
- ----------------------------
-
- - [_n_a_m_e] Fixed error in ``addMultilingualName`` with one-character names.
- Only attempt to recovered malformed UTF-16 data from a ``bytes`` string,
- not from unicode ``str`` (#1997, #1998).
-
- 4.12.0 (released 2020-06-09)
- ----------------------------
-
- - [otlLib/varLib] Ensure that the ``AxisNameID`` in the ``STAT`` and ``fvar``
- tables is grater than 255 as per OpenType spec (#1985, #1986).
- - [docs] Document more modules in ``fontTools.misc`` package: ``filenames``,
- ``fixedTools``, ``intTools``, ``loggingTools``, ``macCreatorType``, ``macRes``,
- ``plistlib`` (#1981).
- - [OS/2] Don't calculate whole sets of unicode codepoints, use faster and more memory
- efficient ranges and bisect lookups (#1984).
- - [voltLib] Support writing back abstract syntax tree as VOLT data (#1983).
- - [voltLib] Accept DO_NOT_TOUCH_CMAP keyword (#1987).
- - [subset/merge] Fixed a namespace clash involving a private helper class (#1955).
-
- 4.11.0 (released 2020-05-28)
- ----------------------------
-
- - [feaLib] Introduced ``includeDir`` parameter on Parser and IncludingLexer to
- explicitly specify the directory to search when ``include()`` statements are
- encountered (#1973).
- - [ufoLib] Silently delete duplicate glyphs within the same kerning group when reading
- groups (#1970).
- - [ttLib] Set version of COLR table when decompiling COLRv1 (commit 9d8a7e2).
-
- 4.10.2 (released 2020-05-20)
- ----------------------------
-
- - [sfnt] Fixed ``NameError: SimpleNamespace`` while reading TTC header. The regression
- was introduced with 4.10.1 after removing ``py23`` star import.
-
- 4.10.1 (released 2020-05-19)
- ----------------------------
-
- - [sfnt] Make ``SFNTReader`` pickleable even when TTFont is loaded with lazy=True
- option and thus keeps a reference to an external file (#1962, #1967).
- - [feaLib.ast] Restore backward compatibility (broken in 4.10 with #1905) for
- ``ChainContextPosStatement`` and ``ChainContextSubstStatement`` classes.
- Make them accept either list of lookups or list of lists of lookups (#1961).
- - [docs] Document some modules in ``fontTools.misc`` package: ``arrayTools``,
- ``bezierTools`` ``cliTools`` and ``eexec`` (#1956).
- - [ttLib._n_a_m_e] Fixed ``findMultilingualName()`` when name record's ``string`` is
- encoded as bytes sequence (#1963).
-
- 4.10.0 (released 2020-05-15)
- ----------------------------
-
- - [varLib] Allow feature variations to be active across the entire space (#1957).
- - [ufoLib] Added support for ``formatVersionMinor`` in UFO's ``fontinfo.plist`` and for
- ``formatMinor`` attribute in GLIF file as discussed in unified-font-object/ufo-spec#78.
- No changes in reading or writing UFOs until an upcoming (non-0) minor update of the
- UFO specification is published (#1786).
- - [merge] Fixed merging fonts with different versions of ``OS/2`` table (#1865, #1952).
- - [subset] Fixed ``AttributeError`` while subsetting ``ContextSubst`` and ``ContextPos``
- Format 3 subtable (#1879, #1944).
- - [ttLib.table._m_e_t_a] if data happens to be ascii, emit comment in TTX (#1938).
- - [feaLib] Support multiple lookups per glyph position (#1905).
- - [psCharStrings] Use inheritance to avoid repeated code in initializer (#1932).
- - [Doc] Improved documentation for the following modules: ``afmLib`` (#1933), ``agl``
- (#1934), ``cffLib`` (#1935), ``cu2qu`` (#1937), ``encodings`` (#1940), ``feaLib``
- (#1941), ``merge`` (#1949).
- - [Doc] Split off developer-centric info to new page, making front page of docs more
- user-focused. List all utilities and sub-modules with brief descriptions.
- Make README more concise and focused (#1914).
- - [otlLib] Add function to build STAT table from high-level description (#1926).
- - [ttLib._n_a_m_e] Add ``findMultilingualName()`` method (#1921).
- - [unicodedata] Update ``RTL_SCRIPTS`` for Unicode 13.0 (#1925).
- - [gvar] Sort ``gvar`` XML output by glyph name, not glyph order (#1907, #1908).
- - [Doc] Added help options to ``fonttools`` command line tool (#1913, #1920).
- Ensure all fonttools CLI tools have help documentation (#1948).
- - [ufoLib] Only write fontinfo.plist when there actually is content (#1911).
-
- 4.9.0 (released 2020-04-29)
- ---------------------------
-
- - [subset] Fixed subsetting of FeatureVariations table. The subsetter no longer drops
- FeatureVariationRecords that have empty substitutions as that will keep the search
- going and thus change the logic. It will only drop empty records that occur at the
- end of the FeatureVariationRecords array (#1881).
- - [subset] Remove FeatureVariations table and downgrade GSUB/GPOS to version 0x10000
- when FeatureVariations contain no FeatureVariationRecords after subsetting (#1903).
- - [agl] Add support for legacy Adobe Glyph List of glyph names in ``fontTools.agl``
- (#1895).
- - [feaLib] Ignore superfluous script statements (#1883).
- - [feaLib] Hide traceback by default on ``fonttools feaLib`` command line.
- Use ``--traceback`` option to show (#1898).
- - [feaLib] Check lookup index in chaining sub/pos lookups and print better error
- message (#1896, #1897).
- - [feaLib] Fix building chained alt substitutions (#1902).
- - [Doc] Included all fontTools modules in the sphinx-generated documentation, and
- published it to ReadTheDocs for continuous documentation of the fontTools project
- (#1333). Check it out at https://fonttools.readthedocs.io/. Thanks to Chris Simpkins!
- - [transform] The ``Transform`` class is now subclass of ``typing.NamedTuple``. No
- change in functionality (#1904).
-
-
- 4.8.1 (released 2020-04-17)
- ---------------------------
-
- - [feaLib] Fixed ``AttributeError: 'NoneType' has no attribute 'getAlternateGlyphs'``
- when ``aalt`` feature references a chain contextual substitution lookup
- (googlefonts/fontmake#648, #1878).
-
- 4.8.0 (released 2020-04-16)
- ---------------------------
-
- - [feaLib] If Parser is initialized without a ``glyphNames`` parameter, it cannot
- distinguish between a glyph name containing an hyphen, or a range of glyph names;
- instead of raising an error, it now interprets them as literal glyph names, while
- also outputting a logging warning to alert user about the ambiguity (#1768, #1870).
- - [feaLib] When serializing AST to string, emit spaces around hyphens that denote
- ranges. Also, fixed an issue with CID ranges when round-tripping AST->string->AST
- (#1872).
- - [Snippets/otf2ttf] In otf2ttf.py script update LSB in hmtx to match xMin (#1873).
- - [colorLib] Added experimental support for building ``COLR`` v1 tables as per
- the `colr-gradients-spec <https://github.com/googlefonts/colr-gradients-spec/blob/master/colr-gradients-spec.md>`__
- draft proposal. **NOTE**: both the API and the XML dump of ``COLR`` v1 are
- susceptible to change while the proposal is being discussed and formalized (#1822).
-
- 4.7.0 (released 2020-04-03)
- ---------------------------
-
- - [cu2qu] Added ``fontTools.cu2qu`` package, imported from the original
- `cu2qu <https://github.com/googlefonts/cu2qu>`__ project. The ``cu2qu.pens`` module
- was moved to ``fontTools.pens.cu2quPen``. The optional cu2qu extension module
- can be compiled by installing `Cython <https://cython.org/>`__ before installing
- fonttools from source (i.e. git repo or sdist tarball). The wheel package that
- is published on PyPI (i.e. the one ``pip`` downloads, unless ``--no-binary``
- option is used), will continue to be pure-Python for now (#1868).
-
- 4.6.0 (released 2020-03-24)
- ---------------------------
-
- - [varLib] Added support for building variable ``BASE`` table version 1.1 (#1858).
- - [CPAL] Added ``fromRGBA`` method to ``Color`` class (#1861).
-
-
- 4.5.0 (released 2020-03-20)
- ---------------------------
-
- - [designspaceLib] Added ``add{Axis,Source,Instance,Rule}Descriptor`` methods to
- ``DesignSpaceDocument`` class, to initialize new descriptor objects using keyword
- arguments, and at the same time append them to the current document (#1860).
- - [unicodedata] Update to Unicode 13.0 (#1859).
-
- 4.4.3 (released 2020-03-13)
- ---------------------------
-
- - [varLib] Always build ``gvar`` table for TrueType-flavored Variable Fonts,
- even if it contains no variation data. The table is required according to
- the OpenType spec (#1855, #1857).
-
- 4.4.2 (released 2020-03-12)
- ---------------------------
-
- - [ttx] Annotate ``LookupFlag`` in XML dump with comment explaining what bits
- are set and what they mean (#1850).
- - [feaLib] Added more descriptive message to ``IncludedFeaNotFound`` error (#1842).
-
- 4.4.1 (released 2020-02-26)
- ---------------------------
-
- - [woff2] Skip normalizing ``glyf`` and ``loca`` tables if these are missing from
- a font (e.g. in NotoColorEmoji using ``CBDT/CBLC`` tables).
- - [timeTools] Use non-localized date parsing in ``timestampFromString``, to fix
- error when non-English ``LC_TIME`` locale is set (#1838, #1839).
- - [fontBuilder] Make sure the CFF table generated by fontBuilder can be used by varLib
- without having to compile and decompile the table first. This was breaking in
- converting the CFF table to CFF2 due to some unset attributes (#1836).
-
- 4.4.0 (released 2020-02-18)
- ---------------------------
-
- - [colorLib] Added ``fontTools.colorLib.builder`` module, initially with ``buildCOLR``
- and ``buildCPAL`` public functions. More color font formats will follow (#1827).
- - [fontBuilder] Added ``setupCOLR`` and ``setupCPAL`` methods (#1826).
- - [ttGlyphPen] Quantize ``GlyphComponent.transform`` floats to ``F2Dot14`` to fix
- round-trip issue when computing bounding boxes of transformed components (#1830).
- - [glyf] If a component uses reference points (``firstPt`` and ``secondPt``) for
- alignment (instead of X and Y offsets), compute the effective translation offset
- *after* having applied any transform (#1831).
- - [glyf] When all glyphs have zero contours, compile ``glyf`` table data as a single
- null byte in order to pass validation by OTS and Windows (#1829).
- - [feaLib] Parsing feature code now ensures that referenced glyph names are part of
- the known glyph set, unless a glyph set was not provided.
- - [varLib] When filling in the default axis value for a missing location of a source or
- instance, correctly map the value forward.
- - [varLib] The avar table can now contain mapping output values that are greater than
- OR EQUAL to the preceeding value, as the avar specification allows this.
- - [varLib] The errors of the module are now ordered hierarchically below VarLibError.
- See #1821.
-
- 4.3.0 (released 2020-02-03)
- ---------------------------
-
- - [EBLC/CBLC] Fixed incorrect padding length calculation for Format 3 IndexSubTable
- (#1817, #1818).
- - [varLib] Fixed error when merging OTL tables and TTFonts were loaded as ``lazy=True``
- (#1808, #1809).
- - [varLib] Allow to use master fonts containing ``CFF2`` table when building VF (#1816).
- - [ttLib] Make ``recalcBBoxes`` option work also with ``CFF2`` table (#1816).
- - [feaLib] Don't reset ``lookupflag`` in lookups defined inside feature blocks.
- They will now inherit the current ``lookupflag`` of the feature. This is what
- Adobe ``makeotf`` also does in this case (#1815).
- - [feaLib] Fixed bug with mixed single/multiple substitutions. If a single substitution
- involved a glyph class, we were incorrectly using only the first glyph in the class
- (#1814).
-
- 4.2.5 (released 2020-01-29)
- ---------------------------
-
- - [feaLib] Do not fail on duplicate multiple substitutions, only warn (#1811).
- - [subset] Optimize SinglePos subtables to Format 1 if all ValueRecords are the same
- (#1802).
-
- 4.2.4 (released 2020-01-09)
- ---------------------------
-
- - [unicodedata] Update RTL_SCRIPTS for Unicode 11 and 12.
-
- 4.2.3 (released 2020-01-07)
- ---------------------------
-
- - [otTables] Fixed bug when splitting `MarkBasePos` subtables as offsets overflow.
- The mark class values in the split subtable were not being updated, leading to
- invalid mark-base attachments (#1797, googlefonts/noto-source#145).
- - [feaLib] Only log a warning instead of error when features contain duplicate
- substitutions (#1767).
- - [glifLib] Strip XML comments when parsing with lxml (#1784, #1785).
-
- 4.2.2 (released 2019-12-12)
- ---------------------------
-
- - [subset] Fixed issue with subsetting FeatureVariations table when the index
- of features changes as features get dropped. The feature index need to be
- remapped to point to index of the remaining features (#1777, #1782).
- - [fontBuilder] Added `addFeatureVariations` method to `FontBuilder` class. This
- is a shorthand for calling `featureVars.addFeatureVariations` on the builder's
- TTFont object (#1781).
- - [glyf] Fixed the flags bug in glyph.drawPoints() like we did for glyph.draw()
- (#1771, #1774).
-
- 4.2.1 (released 2019-12-06)
- ---------------------------
-
- - [glyf] Use the ``flagOnCurve`` bit mask in ``glyph.draw()``, so that we ignore
- the ``overlap`` flag that may be set when instantiating variable fonts (#1771).
-
- 4.2.0 (released 2019-11-28)
- ---------------------------
-
- - [pens] Added the following pens:
-
- * ``roundingPen.RoundingPen``: filter pen that rounds coordinates and components'
- offsets to integer;
- * ``roundingPen.RoundingPointPen``: like the above, but using PointPen protocol.
- * ``filterPen.FilterPointPen``: base class for filter point pens;
- * ``transformPen.TransformPointPen``: filter point pen to apply affine transform;
- * ``recordingPen.RecordingPointPen``: records and replays point-pen commands.
-
- - [ttGlyphPen] Always round float coordinates and component offsets to integers
- (#1763).
- - [ufoLib] When converting kerning groups from UFO2 to UFO3, avoid confusing
- groups with the same name as one of the glyphs (#1761, #1762,
- unified-font-object/ufo-spec#98).
-
- 4.1.0 (released 2019-11-18)
- ---------------------------
-
- - [instancer] Implemented restricting axis ranges (level 3 partial instancing).
- You can now pass ``{axis_tag: (min, max)}`` tuples as input to the
- ``instantiateVariableFont`` function. Note that changing the default axis
- position is not supported yet. The command-line script also accepts axis ranges
- in the form of colon-separated float values, e.g. ``wght=400:700`` (#1753, #1537).
- - [instancer] Never drop STAT ``DesignAxis`` records, but only prune out-of-range
- ``AxisValue`` records.
- - [otBase/otTables] Enforce that VarStore.RegionAxisCount == fvar.axisCount, even
- when regions list is empty to appease OTS < v8.0 (#1752).
- - [designspaceLib] Defined new ``processing`` attribute for ``<rules>`` element,
- with values "first" or "last", plus other editorial changes to DesignSpace
- specification. Bumped format version to 4.1 (#1750).
- - [varLib] Improved error message when masters' glyph orders do not match (#1758,
- #1759).
- - [featureVars] Allow to specify custom feature tag in ``addFeatureVariations``;
- allow said feature to already exist, in which case we append new lookup indices
- to existing features. Implemented ``<rules>`` attribute ``processing`` according to
- DesignSpace specification update in #1750. Depending on this flag, we generate
- either an 'rvrn' (always processed first) or a 'rclt' feature (follows lookup order,
- therefore last) (#1747, #1625, #1371).
- - [ttCollection] Added support for context manager auto-closing via ``with`` statement
- like with ``TTFont`` (#1751).
- - [unicodedata] Require unicodedata2 >= 12.1.0.
- - [py2.py3] Removed yet more PY2 vestiges (#1743).
- - [_n_a_m_e] Fixed issue when comparing NameRecords with different string types (#1742).
- - [fixedTools] Changed ``fixedToFloat`` to not do any rounding but simply return
- ``value / (1 << precisionBits)``. Added ``floatToFixedToStr`` and
- ``strToFixedToFloat`` functions to be used when loading from or dumping to XML.
- Fixed values (e.g. fvar axes and instance coordinates, avar mappings, etc.) are
- are now stored as un-rounded decimal floats upon decompiling (#1740, #737).
- - [feaLib] Fixed handling of multiple ``LigatureCaret`` statements for the same glyph.
- Only the first rule per glyph is used, additional ones are ignored (#1733).
-
- 4.0.2 (released 2019-09-26)
- ---------------------------
-
- - [voltLib] Added support for ``ALL`` and ``NONE`` in ``PROCESS_MARKS`` (#1732).
- - [Silf] Fixed issue in ``Silf`` table compilation and decompilation regarding str vs
- bytes in python3 (#1728).
- - [merge] Handle duplicate glyph names better: instead of appending font index to
- all glyph names, use similar code like we use in ``post`` and ``CFF`` tables (#1729).
-
- 4.0.1 (released 2019-09-11)
- ---------------------------
-
- - [otTables] Support fixing offset overflows in ``MultipleSubst`` lookup subtables
- (#1706).
- - [subset] Prune empty strikes in ``EBDT`` and ``CBDT`` table data (#1698, #1633).
- - [pens] Fixed issue in ``PointToSegmentPen`` when last point of closed contour has
- same coordinates as the starting point and was incorrectly dropped (#1720).
- - [Graphite] Fixed ``Sill`` table output to pass OTS (#1705).
- - [name] Added ``removeNames`` method to ``table__n_a_m_e`` class (#1719).
- - [ttLib] Added aliases for renamed entries ``ascender`` and ``descender`` in
- ``hhea`` table (#1715).
-
- 4.0.0 (released 2019-08-22)
- ---------------------------
-
- - NOTE: The v4.x version series only supports Python 3.6 or greater. You can keep
- using fonttools 3.x if you need support for Python 2.
- - [py23] Removed all the python2-only code since it is no longer reachable, thus
- unused; only the Python3 symbols were kept, but these are no-op. The module is now
- DEPRECATED and will removed in the future.
- - [ttLib] Fixed UnboundLocalError for empty loca/glyph tables (#1680). Also, allow
- the glyf table to be incomplete when dumping to XML (#1681).
- - [varLib.models] Fixed KeyError while sorting masters and there are no on-axis for
- a given axis (38a8eb0e).
- - [cffLib] Make sure glyph names are unique (#1699).
- - [feaLib] Fix feature parser to correctly handle octal numbers (#1700).
-
- 3.44.0 (released 2019-08-02)
- ----------------------------
-
- - NOTE: This is the last scheduled release to support Python 2.7. The upcoming fonttools
- v4.x series is going to require Python 3.6 or greater.
- - [varLib] Added new ``varLib.instancer`` module for partially instantiating variable
- fonts. This extends (and will eventually replace) ``varLib.mutator`` module, as
- it allows to create not just full static instances from a variable font, but also
- "partial" or "less variable" fonts where some of the axes are dropped or
- instantiated at a particular value.
- Also available from the command-line as `fonttools varLib.instancer --help`
- (#1537, #1628).
- - [cffLib] Added support for ``FDSelect`` format 4 (#1677).
- - [subset] Added support for subsetting ``sbix`` (Apple bitmap color font) table.
- - [t1Lib] Fixed issue parsing ``eexec`` section in Type1 fonts when whitespace
- characters are interspersed among the trailing zeros (#1676).
- - [cffLib.specializer] Fixed bug in ``programToCommands`` with CFF2 charstrings (#1669).
-
- 3.43.2 (released 2019-07-10)
- ----------------------------
-
- - [featureVars] Fixed region-merging code on python3 (#1659).
- - [varLib.cff] Fixed merging of sparse PrivateDict items (#1653).
-
- 3.43.1 (released 2019-06-19)
- ----------------------------
-
- - [subset] Fixed regression when passing ``--flavor=woff2`` option with an input font
- that was already compressed as WOFF 1.0 (#1650).
-
- 3.43.0 (released 2019-06-18)
- ----------------------------
-
- - [woff2] Added support for compressing/decompressing WOFF2 fonts with non-transformed
- ``glyf`` and ``loca`` tables, as well as with transformed ``hmtx`` table.
- Removed ``Snippets/woff2_compress.py`` and ``Snippets/woff2_decompress.py`` scripts,
- and replaced them with a new console entry point ``fonttools ttLib.woff2``
- that provides two sub-commands ``compress`` and ``decompress``.
- - [varLib.cff] Fixed bug when merging CFF2 ``PrivateDicts``. The ``PrivateDict``
- data from the first region font was incorrecty used for all subsequent fonts.
- The bug would only affect variable CFF2 fonts with hinting (#1643, #1644).
- Also, fixed a merging bug when VF masters have no blends or marking glyphs (#1632,
- #1642).
- - [loggingTools] Removed unused backport of ``LastResortLogger`` class.
- - [subset] Gracefully handle partial MATH table (#1635).
- - [featureVars] Avoid duplicate references to ``rvrn`` feature record in
- ``DefaultLangSys`` tables when calling ``addFeatureVariations`` on a font that
- does not already have a ``GSUB`` table (aa8a5bc6).
- - [varLib] Fixed merging of class-based kerning. Before, the process could introduce
- rogue kerning values and variations for random classes against class zero (everything
- not otherwise classed).
- - [varLib] Fixed merging GPOS tables from master fonts with different number of
- ``SinglePos`` subtables (#1621, #1641).
- - [unicodedata] Updated Blocks, Scripts and ScriptExtensions to Unicode 12.1.
-
- 3.42.0 (released 2019-05-28)
- ----------------------------
-
- - [OS/2] Fixed sign of ``fsType``: it should be ``uint16``, not ``int16`` (#1619).
- - [subset] Skip out-of-range class values in mark attachment (#1478).
- - [fontBuilder] Add an empty ``DSIG`` table with ``setupDummyDSIG`` method (#1621).
- - [varLib.merger] Fixed bug whereby ``GDEF.GlyphClassDef`` were being dropped
- when generating instance via ``varLib.mutator`` (#1614).
- - [varLib] Added command-line options ``-v`` and ``-q`` to configure logging (#1613).
- - [subset] Update font extents in head table (#1612).
- - [subset] Make --retain-gids truncate empty glyphs after the last non-empty glyph
- (#1611).
- - [requirements] Updated ``unicodedata2`` backport for Unicode 12.0.
-
- 3.41.2 (released 2019-05-13)
- ----------------------------
-
- - [cffLib] Fixed issue when importing a ``CFF2`` variable font from XML, whereby
- the VarStore state was not propagated to PrivateDict (#1598).
- - [varLib] Don't drop ``post`` glyph names when building CFF2 variable font (#1609).
-
-
- 3.41.1 (released 2019-05-13)
- ----------------------------
-
- - [designspaceLib] Added ``loadSourceFonts`` method to load source fonts using
- custom opener function (#1606).
- - [head] Round font bounding box coordinates to integers to fix compile error
- if CFF font has float coordinates (#1604, #1605).
- - [feaLib] Don't write ``None`` in ``ast.ValueRecord.asFea()`` (#1599).
- - [subset] Fixed issue ``AssertionError`` when using ``--desubroutinize`` option
- (#1590, #1594).
- - [graphite] Fixed bug in ``Silf`` table's ``decompile`` method unmasked by
- previous typo fix (#1597). Decode languange code as UTF-8 in ``Sill`` table's
- ``decompile`` method (#1600).
-
- 3.41.0 (released 2019-04-29)
- ----------------------------
-
- - [varLib/cffLib] Added support for building ``CFF2`` variable font from sparse
- masters, or masters with more than one model (multiple ``VarStore.VarData``).
- In ``cffLib.specializer``, added support for ``CFF2`` CharStrings with
- ``blend`` operators (#1547, #1591).
- - [subset] Fixed subsetting ``HVAR`` and ``VVAR`` with ``--retain-gids`` option,
- and when advances mapping is null while sidebearings mappings are non-null
- (#1587, #1588).
- - Added ``otlLib.maxContextCalc`` module to compute ``OS/2.usMaxContext`` value.
- Calculate it automatically when compiling features with feaLib. Added option
- ``--recalc-max-context`` to ``subset`` module (#1582).
- - [otBase/otTables] Fixed ``AttributeError`` on missing OT table fields after
- importing font from TTX (#1584).
- - [graphite] Fixed typo ``Silf`` table's ``decompile`` method (#1586).
- - [otlLib] Better compress ``GPOS`` SinglePos (LookupType 1) subtables (#1539).
-
- 3.40.0 (released 2019-04-08)
- ----------------------------
-
- - [subset] Fixed error while subsetting ``VVAR`` with ``--retain-gids``
- option (#1552).
- - [designspaceLib] Use up-to-date default location in ``findDefault`` method
- (#1554).
- - [voltLib] Allow passing file-like object to Parser.
- - [arrayTools/glyf] ``calcIntBounds`` (used to compute bounding boxes of glyf
- table's glyphs) now uses ``otRound`` instead of ``round3`` (#1566).
- - [svgLib] Added support for converting more SVG shapes to path ``d`` strings
- (ellipse, line, polyline), as well as support for ``transform`` attributes.
- Only ``matrix`` transformations are currently supported (#1564, #1564).
- - [varLib] Added support for building ``VVAR`` table from ``vmtx`` and ``VORG``
- tables (#1551).
- - [fontBuilder] Enable making CFF2 fonts with ``post`` table format 2 (#1557).
- - Fixed ``DeprecationWarning`` on invalid escape sequences (#1562).
-
- 3.39.0 (released 2019-03-19)
- ----------------------------
-
- - [ttLib/glyf] Raise more specific error when encountering recursive
- component references (#1545, #1546).
- - [Doc/designspaceLib] Defined new ``public.skipExportGlyphs`` lib key (#1534,
- unified-font-object/ufo-spec#84).
- - [varLib] Use ``vmtx`` to compute vertical phantom points; or ``hhea.ascent``
- and ``head.unitsPerEM`` if ``vmtx`` is missing (#1528).
- - [gvar/cvar] Sort XML element's min/value/max attributes in TupleVariation
- toXML to improve readability of TTX dump (#1527).
- - [varLib.plot] Added support for 2D plots with only 1 variation axis (#1522).
- - [designspaceLib] Use axes maps when normalizing locations in
- DesignSpaceDocument (#1226, #1521), and when finding default source (#1535).
- - [mutator] Set ``OVERLAP_SIMPLE`` and ``OVERLAP_COMPOUND`` glyf flags by
- default in ``instantiateVariableFont``. Added ``--no-overlap`` cli option
- to disable this (#1518).
- - [subset] Fixed subsetting ``VVAR`` table (#1516, #1517).
- Fixed subsetting an ``HVAR`` table that has an ``AdvanceWidthMap`` when the
- option ``--retain-gids`` is used.
- - [feaLib] Added ``forceChained`` in MultipleSubstStatement (#1511).
- Fixed double indentation of ``subtable`` statement (#1512).
- Added support for ``subtable`` statement in more places than just PairPos
- lookups (#1520).
- Handle lookupflag 0 and lookupflag without a value (#1540).
- - [varLib] In ``load_designspace``, provide a default English name for the
- ``ital`` axis tag.
- - Remove pyftinspect because it is unmaintained and bitrotted.
-
- 3.38.0 (released 2019-02-18)
- ----------------------------
-
- - [cffLib] Fixed RecursionError when unpickling or deepcopying TTFont with
- CFF table (#1488, 649dc49).
- - [subset] Fixed AttributeError when using --desubroutinize option (#1490).
- Also, fixed desubroutinizing bug when subrs contain hints (#1499).
- - [CPAL] Make Color a subclass of namedtuple (173a0f5).
- - [feaLib] Allow hyphen in glyph class names.
- - [feaLib] Added 'tables' option to __main__.py (#1497).
- - [feaLib] Add support for special-case contextual positioning formatting
- (#1501).
- - [svgLib] Support converting SVG basic shapes (rect, circle, etc.) into
- equivalent SVG paths (#1500, #1508).
- - [Snippets] Added name-viewer.ipynb Jupyter notebook.
-
-
- 3.37.3 (released 2019-02-05)
- ----------------------------
-
- - The previous release accidentally changed several files from Unix to DOS
- line-endings. Fix that.
-
- 3.37.2 (released 2019-02-05)
- ----------------------------
-
- - [varLib] Temporarily revert the fix to ``load_masters()``, which caused a
- crash in ``interpolate_layout()`` when ``deepcopy``-ing OTFs.
-
- 3.37.1 (released 2019-02-05)
- ----------------------------
-
- - [varLib] ``load_masters()`` now actually assigns the fonts it loads to the
- source.font attributes.
- - [varLib] Fixed an MVAR table generation crash when sparse masters were
- involved.
- - [voltLib] ``parse_coverage_()`` returns a tuple instead of an ast.Enum.
- - [feaLib] A MarkClassDefinition inside a block is no longer doubly indented
- compared to the rest of the block.
-
- 3.37.0 (released 2019-01-28)
- ----------------------------
-
- - [svgLib] Added support for converting elliptical arcs to cubic bezier curves
- (#1464).
- - [py23] Added backport for ``math.isfinite``.
- - [varLib] Apply HIDDEN flag to fvar axis if designspace axis has attribute
- ``hidden=1``.
- - Fixed "DeprecationWarning: invalid escape sequence" in Python 3.7.
- - [voltLib] Fixed parsing glyph groups. Distinguish different PROCESS_MARKS.
- Accept COMPONENT glyph type.
- - [feaLib] Distinguish missing value and explicit ``<NULL>`` for PairPos2
- format A (#1459). Round-trip ``useExtension`` keyword. Implemented
- ``ValueRecord.asFea`` method.
- - [subset] Insert empty widths into hdmx when retaining gids (#1458).
-
- 3.36.0 (released 2019-01-17)
- ----------------------------
-
- - [ttx] Added ``--no-recalc-timestamp`` option to keep the original font's
- ``head.modified`` timestamp (#1455, #46).
- - [ttx/psCharStrings] Fixed issues while dumping and round-tripping CFF2 table
- with ttx (#1451, #1452, #1456).
- - [voltLib] Fixed check for duplicate anchors (#1450). Don't try to read past
- the ``END`` operator in .vtp file (#1453).
- - [varLib] Use sentinel value -0x8000 (-32768) to ignore post.underlineThickness
- and post.underlinePosition when generating MVAR deltas (#1449,
- googlei18n/ufo2ft#308).
- - [subset] Added ``--retain-gids`` option to subset font without modifying the
- current glyph indices (#1443, #1447).
- - [ufoLib] Replace deprecated calls to ``getbytes`` and ``setbytes`` with new
- equivalent ``readbytes`` and ``writebytes`` calls. ``fs`` >= 2.2 no required.
- - [varLib] Allow loading masters from TTX files as well (#1441).
-
- 3.35.2 (released 2019-01-14)
- ----------------------------
-
- - [hmtx/vmtx]: Allow to compile/decompile ``hmtx`` and ``vmtx`` tables even
- without the corresponding (required) metrics header tables, ``hhea`` and
- ``vhea`` (#1439).
- - [varLib] Added support for localized axes' ``labelname`` and named instances'
- ``stylename`` (#1438).
-
- 3.35.1 (released 2019-01-09)
- ----------------------------
-
- - [_m_a_x_p] Include ``maxComponentElements`` in ``maxp`` table's recalculation.
-
- 3.35.0 (released 2019-01-07)
- ----------------------------
-
- - [psCharStrings] In ``encodeFloat`` function, use float's "general format" with
- 8 digits of precision (i.e. ``%8g``) instead of ``str()``. This works around
- a macOS rendering issue when real numbers in CFF table are too long, and
- also makes sure that floats are encoded with the same precision in python 2.7
- and 3.x (#1430, googlei18n/ufo2ft#306).
- - [_n_a_m_e/fontBuilder] Make ``_n_a_m_e_table.addMultilingualName`` also add
- Macintosh (platformID=1) names by default. Added options to ``FontBuilder``
- ``setupNameTable`` method to optionally disable Macintosh or Windows names.
- (#1359, #1431).
- - [varLib] Make ``build`` optionally accept a ``DesignSpaceDocument`` object,
- instead of a designspace file path. The caller can now set the ``font``
- attribute of designspace's sources to a TTFont object, thus allowing to
- skip filenames manipulation altogether (#1416, #1425).
- - [sfnt] Allow SFNTReader objects to be deep-copied.
- - Require typing>=3.6.4 on py27 to fix issue with singledispatch (#1423).
- - [designspaceLib/t1Lib/macRes] Fixed some cases where pathlib.Path objects were
- not accepted (#1421).
- - [varLib] Fixed merging of multiple PairPosFormat2 subtables (#1411).
- - [varLib] The default STAT table version is now set to 1.1, to improve
- compatibility with legacy applications (#1413).
-
- 3.34.2 (released 2018-12-17)
- ----------------------------
-
- - [merge] Fixed AssertionError when none of the script tables in GPOS/GSUB have
- a DefaultLangSys record (#1408, 135a4a1).
-
- 3.34.1 (released 2018-12-17)
- ----------------------------
-
- - [varLib] Work around macOS rendering issue for composites without gvar entry (#1381).
-
- 3.34.0 (released 2018-12-14)
- ----------------------------
-
- - [varLib] Support generation of CFF2 variable fonts. ``model.reorderMasters()``
- now supports arbitrary mapping. Fix handling of overlapping ranges for feature
- variations (#1400).
- - [cffLib, subset] Code clean-up and fixing related to CFF2 support.
- - [ttLib.tables.ttProgram] Use raw strings for regex patterns (#1389).
- - [fontbuilder] Initial support for building CFF2 fonts. Set CFF's
- ``FontMatrix`` automatically from unitsPerEm.
- - [plistLib] Accept the more general ``collections.Mapping`` instead of the
- specific ``dict`` class to support custom data classes that should serialize
- to dictionaries.
-
- 3.33.0 (released 2018-11-30)
- ----------------------------
- - [subset] subsetter bug fix with variable fonts.
- - [varLib.featureVar] Improve FeatureVariations generation with many rules.
- - [varLib] Enable sparse masters when building variable fonts:
- https://github.com/fonttools/fonttools/pull/1368#issuecomment-437257368
- - [varLib.mutator] Add IDEF for GETVARIATION opcode, for handling hints in an
- instance.
- - [ttLib] Ignore the length of kern table subtable format 0
-
- 3.32.0 (released 2018-11-01)
- ----------------------------
-
- - [ufoLib] Make ``UFOWriter`` a subclass of ``UFOReader``, and use mixins
- for shared methods (#1344).
- - [featureVars] Fixed normalization error when a condition's minimum/maximum
- attributes are missing in designspace ``<rule>`` (#1366).
- - [setup.py] Added ``[plot]`` to extras, to optionally install ``matplotlib``,
- needed to use the ``fonTools.varLib.plot`` module.
- - [varLib] Take total bounding box into account when resolving model (7ee81c8).
- If multiple axes have the same range ratio, cut across both (62003f4).
- - [subset] Don't error if ``STAT`` has no ``AxisValue`` tables.
- - [fontBuilder] Added a new submodule which contains a ``FontBuilder`` wrapper
- class around ``TTFont`` that makes it easier to create a working TTF or OTF
- font from scratch with code. NOTE: the API is still experimental and may
- change in future versions.
-
- 3.31.0 (released 2018-10-21)
- ----------------------------
-
- - [ufoLib] Merged the `ufoLib <https://github.com/unified-font-objects/ufoLib>`__
- master branch into a new ``fontTools.ufoLib`` package (#1335, #1095).
- Moved ``ufoLib.pointPen`` module to ``fontTools.pens.pointPen``.
- Moved ``ufoLib.etree`` module to ``fontTools.misc.etree``.
- Moved ``ufoLib.plistlib`` module to ``fontTools.misc.plistlib``.
- To use the new ``fontTools.ufoLib`` module you need to install fonttools
- with the ``[ufo]`` extra, or you can manually install the required additional
- dependencies (cf. README.rst).
- - [morx] Support AAT action type to insert glyphs and clean up compilation
- of AAT action tables (4a1871f, 2011ccf).
- - [subset] The ``--no-hinting`` on a CFF font now also drops the optional
- hinting keys in Private dict: ``ForceBold``, ``LanguageGroup``, and
- ``ExpansionFactor`` (#1322).
- - [subset] Include nameIDs referenced by STAT table (#1327).
- - [loggingTools] Added ``msg=None`` argument to
- ``CapturingLogHandler.assertRegex`` (0245f2c).
- - [varLib.mutator] Implemented ``FeatureVariations`` instantiation (#1244).
- - [g_l_y_f] Added PointPen support to ``_TTGlyph`` objects (#1334).
-
- 3.30.0 (released 2018-09-18)
- ----------------------------
-
- - [feaLib] Skip building noop class PairPos subtables when Coverage is NULL
- (#1318).
- - [ttx] Expose the previously reserved bit flag ``OVERLAP_SIMPLE`` of
- glyf table's contour points in the TTX dump. This is used in some
- implementations to specify a non-zero fill with overlapping contours (#1316).
- - [ttLib] Added support for decompiling/compiling ``TS1C`` tables containing
- VTT sources for ``cvar`` variation table (#1310).
- - [varLib] Use ``fontTools.designspaceLib`` to read DesignSpaceDocument. The
- ``fontTools.varLib.designspace`` module is now deprecated and will be removed
- in future versions. The presence of an explicit ``axes`` element is now
- required in order to build a variable font (#1224, #1313).
- - [varLib] Implemented building GSUB FeatureVariations table from the ``rules``
- element of DesignSpace document (#1240, #713, #1314).
- - [subset] Added ``--no-layout-closure`` option to not expand the subset with
- the glyphs produced by OpenType layout features. Instead, OpenType features
- will be subset to only rules that are relevant to the otherwise-specified
- glyph set (#43, #1121).
-
- 3.29.1 (released 2018-09-10)
- ----------------------------
-
- - [feaLib] Fixed issue whereby lookups from DFLT/dflt were not included in the
- DFLT/non-dflt language systems (#1307).
- - [graphite] Fixed issue on big-endian architectures (e.g. ppc64) (#1311).
- - [subset] Added ``--layout-scripts`` option to add/exclude set of OpenType
- layout scripts that will be preserved. By default all scripts are retained
- (``'*'``) (#1303).
-
- 3.29.0 (released 2018-07-26)
- ----------------------------
-
- - [feaLib] In the OTL table builder, when the ``name`` table is excluded
- from the list of tables to be build, skip compiling ``featureNames`` blocks,
- as the records referenced in ``FeatureParams`` table don't exist (68951b7).
- - [otBase] Try ``ExtensionLookup`` if other offset-overflow methods fail
- (05f95f0).
- - [feaLib] Added support for explicit ``subtable;`` break statements in
- PairPos lookups; previously these were ignored (#1279, #1300, #1302).
- - [cffLib.specializer] Make sure the stack depth does not exceed maxstack - 1,
- so that a subroutinizer can insert subroutine calls (#1301,
- https://github.com/googlei18n/ufo2ft/issues/266).
- - [otTables] Added support for fixing offset overflow errors occurring inside
- ``MarkBasePos`` subtables (#1297).
- - [subset] Write the default output file extension based on ``--flavor`` option,
- or the value of ``TTFont.sfntVersion`` (d7ac0ad).
- - [unicodedata] Updated Blocks, Scripts and ScriptExtensions for Unicode 11
- (452c85e).
- - [xmlWriter] Added context manager to XMLWriter class to autoclose file
- descriptor on exit (#1290).
- - [psCharStrings] Optimize the charstring's bytecode by encoding as integers
- all float values that have no decimal portion (8d7774a).
- - [ttFont] Fixed missing import of ``TTLibError`` exception (#1285).
- - [feaLib] Allow any languages other than ``dflt`` under ``DFLT`` script
- (#1278, #1292).
-
- 3.28.0 (released 2018-06-19)
- ----------------------------
-
- - [featureVars] Added experimental module to build ``FeatureVariations``
- tables. Still needs to be hooked up to ``varLib.build`` (#1240).
- - [fixedTools] Added ``otRound`` to round floats to nearest integer towards
- positive Infinity. This is now used where we deal with visual data like X/Y
- coordinates, advance widths/heights, variation deltas, and similar (#1274,
- #1248).
- - [subset] Improved GSUB closure memoize algorithm.
- - [varLib.models] Fixed regression in model resolution (180124, #1269).
- - [feaLib.ast] Fixed error when converting ``SubtableStatement`` to string
- (#1275).
- - [varLib.mutator] Set ``OS/2.usWeightClass`` and ``usWidthClass``, and
- ``post.italicAngle`` based on the 'wght', 'wdth' and 'slnt' axis values
- (#1276, #1264).
- - [py23/loggingTools] Don't automatically set ``logging.lastResort`` handler
- on py27. Moved ``LastResortLogger`` to the ``loggingTools`` module (#1277).
-
- 3.27.1 (released 2018-06-11)
- ----------------------------
-
- - [ttGlyphPen] Issue a warning and skip building non-existing components
- (https://github.com/googlei18n/fontmake/issues/411).
- - [tests] Fixed issue running ttx_test.py from a tagged commit.
-
- 3.27.0 (released 2018-06-11)
- ----------------------------
-
- - [designspaceLib] Added new ``conditionSet`` element to ``rule`` element in
- designspace document. Bumped ``format`` attribute to ``4.0`` (previously,
- it was formatted as an integer). Removed ``checkDefault``, ``checkAxes``
- methods, and any kind of guessing about the axes when the ``<axes>`` element
- is missing. The default master is expected at the intersection of all default
- values for each axis (#1254, #1255, #1267).
- - [cffLib] Fixed issues when compiling CFF2 or converting from CFF when the
- font has an FDArray (#1211, #1271).
- - [varLib] Avoid attempting to build ``cvar`` table when ``glyf`` table is not
- present, as is the case for CFF2 fonts.
- - [subset] Handle None coverages in MarkGlyphSets; revert commit 02616ab that
- sets empty Coverage tables in MarkGlyphSets to None, to make OTS happy.
- - [ttFont] Allow to build glyph order from ``maxp.numGlyphs`` when ``post`` or
- ``cmap`` are missing.
- - [ttFont] Added ``__len__`` method to ``_TTGlyphSet``.
- - [glyf] Ensure ``GlyphCoordinates`` never overflow signed shorts (#1230).
- - [py23] Added alias for ``itertools.izip`` shadowing the built-in ``zip``.
- - [loggingTools] Memoize ``log`` property of ``LogMixin`` class (fbab12).
- - [ttx] Impoved test coverage (#1261).
- - [Snippets] Addded script to append a suffix to all family names in a font.
- - [varLib.plot] Make it work with matplotlib >= 2.1 (b38e2b).
-
- 3.26.0 (released 2018-05-03)
- ----------------------------
-
- - [designspace] Added a new optional ``layer`` attribute to the source element,
- and a corresponding ``layerName`` attribute to the ``SourceDescriptor``
- object (#1253).
- Added ``conditionset`` element to the ``rule`` element to the spec, but not
- implemented in designspace reader/writer yet (#1254).
- - [varLib.models] Refine modeling one last time (0ecf5c5).
- - [otBase] Fixed sharing of tables referred to by different offset sizes
- (795f2f9).
- - [subset] Don't drop a GDEF that only has VarStore (fc819d6). Set to None
- empty Coverage tables in MarkGlyphSets (02616ab).
- - [varLib]: Added ``--master-finder`` command-line option (#1249).
- - [varLib.mutator] Prune fvar nameIDs from instance's name table (#1245).
- - [otTables] Allow decompiling bad ClassDef tables with invalid format, with
- warning (#1236).
- - [varLib] Make STAT v1.2 and reuse nameIDs from fvar table (#1242).
- - [varLib.plot] Show master locations. Set axis limits to -1, +1.
- - [subset] Handle HVAR direct mapping. Passthrough 'cvar'.
- Added ``--font-number`` command-line option for collections.
- - [t1Lib] Allow a text encoding to be specified when parsing a Type 1 font
- (#1234). Added ``kind`` argument to T1Font constructor (c5c161c).
- - [ttLib] Added context manager API to ``TTFont`` class, so it can be used in
- ``with`` statements to auto-close the file when exiting the context (#1232).
-
- 3.25.0 (released 2018-04-03)
- ----------------------------
-
- - [varLib] Improved support-resolution algorithm. Previously, the on-axis
- masters would always cut the space. They don't anymore. That's more
- consistent, and fixes the main issue Erik showed at TYPO Labs 2017.
- Any varfont built that had an unusual master configuration will change
- when rebuilt (42bef17, a523a697,
- https://github.com/googlei18n/fontmake/issues/264).
- - [varLib.models] Added a ``main()`` entry point, that takes positions and
- prints model results.
- - [varLib.plot] Added new module to plot a designspace's
- VariationModel. Requires ``matplotlib``.
- - [varLib.mutator] Added -o option to specify output file path (2ef60fa).
- - [otTables] Fixed IndexError while pruning of HVAR pre-write (6b6c34a).
- - [varLib.models] Convert delta array to floats if values overflows signed
- short integer (0055f94).
-
- 3.24.2 (released 2018-03-26)
- ----------------------------
-
- - [otBase] Don't fail during ``ValueRecord`` copy if src has more items.
- We drop hinting in the subsetter by simply changing ValueFormat, without
- cleaning up the actual ValueRecords. This was causing assertion error if
- a variable font was subsetted without hinting and then passed directly to
- the mutator for instantiation without first it saving to disk.
-
- 3.24.1 (released 2018-03-06)
- ----------------------------
-
- - [varLib] Don't remap the same ``DeviceTable`` twice in VarStore optimizer
- (#1206).
- - [varLib] Add ``--disable-iup`` option to ``fonttools varLib`` script,
- and a ``optimize=True`` keyword argument to ``varLib.build`` function,
- to optionally disable IUP optimization while building varfonts.
- - [ttCollection] Fixed issue while decompiling ttc with python3 (#1207).
-
- 3.24.0 (released 2018-03-01)
- ----------------------------
-
- - [ttGlyphPen] Decompose composite glyphs if any components' transform is too
- large to fit a ``F2Dot14`` value, or clamp transform values that are
- (almost) equal to +2.0 to make them fit and avoid decomposing (#1200,
- #1204, #1205).
- - [ttx] Added new ``-g`` option to dump glyphs from the ``glyf`` table
- splitted as individual ttx files (#153, #1035, #1132, #1202).
- - Copied ``ufoLib.filenames`` module to ``fontTools.misc.filenames``, used
- for the ttx split-glyphs option (#1202).
- - [feaLib] Added support for ``cvParameters`` blocks in Character Variant
- feautures ``cv01-cv99`` (#860, #1169).
- - [Snippets] Added ``checksum.py`` script to generate/check SHA1 hash of
- ttx files (#1197).
- - [varLib.mutator] Fixed issue while instantiating some variable fonts
- whereby the horizontal advance width computed from ``gvar`` phantom points
- could turn up to be negative (#1198).
- - [varLib/subset] Fixed issue with subsetting GPOS variation data not
- picking up ``ValueRecord`` ``Device`` objects (54fd71f).
- - [feaLib/voltLib] In all AST elements, the ``location`` is no longer a
- required positional argument, but an optional kewyord argument (defaults
- to ``None``). This will make it easier to construct feature AST from
- code (#1201).
-
-
- 3.23.0 (released 2018-02-26)
- ----------------------------
-
- - [designspaceLib] Added an optional ``lib`` element to the designspace as a
- whole, as well as to the instance elements, to store arbitrary data in a
- property list dictionary, similar to the UFO's ``lib``. Added an optional
- ``font`` attribute to the ``SourceDescriptor``, to allow operating on
- in-memory font objects (#1175).
- - [cffLib] Fixed issue with lazy-loading of attributes when attempting to
- set the CFF TopDict.Encoding (#1177, #1187).
- - [ttx] Fixed regression introduced in 3.22.0 that affected the split tables
- ``-s`` option (#1188).
- - [feaLib] Added ``IncludedFeaNotFound`` custom exception subclass, raised
- when an included feature file cannot be found (#1186).
- - [otTables] Changed ``VarIdxMap`` to use glyph names internally instead of
- glyph indexes. The old ttx dumps of HVAR/VVAR tables that contain indexes
- can still be imported (21cbab8, 38a0ffb).
- - [varLib] Implemented VarStore optimizer (#1184).
- - [subset] Implemented pruning of GDEF VarStore, HVAR and MVAR (#1179).
- - [sfnt] Restore backward compatiblity with ``numFonts`` attribute of
- ``SFNTReader`` object (#1181).
- - [merge] Initial support for merging ``LangSysRecords`` (#1180).
- - [ttCollection] don't seek(0) when writing to possibly unseekable strems.
- - [subset] Keep all ``--name-IDs`` from 0 to 6 by default (#1170, #605, #114).
- - [cffLib] Added ``width`` module to calculate optimal CFF default and
- nominal glyph widths.
- - [varLib] Don’t fail if STAT already in the master fonts (#1166).
-
- 3.22.0 (released 2018-02-04)
- ----------------------------
-
- - [subset] Support subsetting ``endchar`` acting as ``seac``-like components
- in ``CFF`` (fixes #1162).
- - [feaLib] Allow to build from pre-parsed ``ast.FeatureFile`` object.
- Added ``tables`` argument to only build some tables instead of all (#1159,
- #1163).
- - [textTools] Replaced ``safeEval`` with ``ast.literal_eval`` (#1139).
- - [feaLib] Added option to the parser to not resolve ``include`` statements
- (#1154).
- - [ttLib] Added new ``ttCollection`` module to read/write TrueType and
- OpenType Collections. Exports a ``TTCollection`` class with a ``fonts``
- attribute containing a list of ``TTFont`` instances, the methods ``save``
- and ``saveXML``, plus some list-like methods. The ``importXML`` method is
- not implemented yet (#17).
- - [unicodeadata] Added ``ot_tag_to_script`` function that converts from
- OpenType script tag to Unicode script code.
- - Added new ``designspaceLib`` subpackage, originally from Erik Van Blokland's
- ``designSpaceDocument``: https://github.com/LettError/designSpaceDocument
- NOTE: this is not yet used internally by varLib, and the API may be subject
- to changes (#911, #1110, LettError/designSpaceDocument#28).
- - Added new FontTools icon images (8ee7c32).
- - [unicodedata] Added ``script_horizontal_direction`` function that returns
- either "LTR" or "RTL" given a unicode script code.
- - [otConverters] Don't write descriptive name string as XML comment if the
- NameID value is 0 (== NULL) (#1151, #1152).
- - [unicodedata] Add ``ot_tags_from_script`` function to get the list of
- OpenType script tags associated with unicode script code (#1150).
- - [feaLib] Don't error when "enumerated" kern pairs conflict with preceding
- single pairs; emit warning and chose the first value (#1147, #1148).
- - [loggingTools] In ``CapturingLogHandler.assertRegex`` method, match the
- fully formatted log message.
- - [sbix] Fixed TypeError when concatenating str and bytes (#1154).
- - [bezierTools] Implemented cusp support and removed ``approximate_fallback``
- arg in ``calcQuadraticArcLength``. Added ``calcCubicArcLength`` (#1142).
-
- 3.21.2 (released 2018-01-08)
- ----------------------------
-
- - [varLib] Fixed merging PairPos Format1/2 with missing subtables (#1125).
-
- 3.21.1 (released 2018-01-03)
- ----------------------------
-
- - [feaLib] Allow mixed single/multiple substitutions (#612)
- - Added missing ``*.afm`` test assets to MAINFEST.in (#1137).
- - Fixed dumping ``SVG`` tables containing color palettes (#1124).
-
- 3.21.0 (released 2017-12-18)
- ----------------------------
-
- - [cmap] when compiling format6 subtable, don't assume gid0 is always called
- '.notdef' (1e42224).
- - [ot] Allow decompiling fonts with bad Coverage format number (1aafae8).
- - Change FontTools licence to MIT (#1127).
- - [post] Prune extra names already in standard Mac set (df1e8c7).
- - [subset] Delete empty SubrsIndex after subsetting (#994, #1118).
- - [varLib] Don't share points in cvar by default, as it currently fails on
- some browsers (#1113).
- - [afmLib] Make poor old afmLib work on python3.
-
- 3.20.1 (released 2017-11-22)
- ----------------------------
-
- - [unicodedata] Fixed issue with ``script`` and ``script_extension`` functions
- returning inconsistent short vs long names. They both return the short four-
- letter script codes now. Added ``script_name`` and ``script_code`` functions
- to look up the long human-readable script name from the script code, and
- viceversa (#1109, #1111).
-
- 3.20.0 (released 2017-11-21)
- ----------------------------
-
- - [unicodedata] Addded new module ``fontTools.unicodedata`` which exports the
- same interface as the built-in ``unicodedata`` module, with the addition of
- a few functions that are missing from the latter, such as ``script``,
- ``script_extension`` and ``block``. Added a ``MetaTools/buildUCD.py`` script
- to download and parse data files from the Unicode Character Database and
- generate python modules containing lists of ranges and property values.
- - [feaLib] Added ``__str__`` method to all ``ast`` elements (delegates to the
- ``asFea`` method).
- - [feaLib] ``Parser`` constructor now accepts a ``glyphNames`` iterable
- instead of ``glyphMap`` dict. The latter still works but with a pending
- deprecation warning (#1104).
- - [bezierTools] Added arc length calculation functions originally from
- ``pens.perimeterPen`` module (#1101).
- - [varLib] Started generating STAT table (8af4309). Right now it just reflects
- the axes, and even that with certain limitations:
- * AxisOrdering is set to the order axes are defined,
- * Name-table entries are not shared with fvar.
- - [py23] Added backports for ``redirect_stdout`` and ``redirect_stderr``
- context managers (#1097).
- - [Graphite] Fixed some round-trip bugs (#1093).
-
- 3.19.0 (released 2017-11-06)
- ----------------------------
-
- - [varLib] Try set of used points instead of all points when testing whether to
- share points between tuples (#1090).
- - [CFF2] Fixed issue with reading/writing PrivateDict BlueValues to TTX file.
- Read the commit message 8b02b5a and issue #1030 for more details.
- NOTE: this change invalidates all the TTX files containing CFF2 tables
- that where dumped with previous verisons of fonttools.
- CFF2 Subr items can have values on the stack after the last operator, thus
- a ``CFF2Subr`` class was added to accommodate this (#1091).
- - [_k_e_r_n] Fixed compilation of AAT kern version=1.0 tables (#1089, #1094)
- - [ttLib] Added getBestCmap() convenience method to TTFont class and cmap table
- class that returns a preferred Unicode cmap subtable given a list of options
- (#1092).
- - [morx] Emit more meaningful subtable flags. Implement InsertionMorphAction
-
- 3.18.0 (released 2017-10-30)
- ----------------------------
-
- - [feaLib] Fixed writing back nested glyph classes (#1086).
- - [TupleVariation] Reactivated shared points logic, bugfixes (#1009).
- - [AAT] Implemented ``morx`` ligature subtables (#1082).
- - [reverseContourPen] Keep duplicate lineTo following a moveTo (#1080,
- https://github.com/googlei18n/cu2qu/issues/51).
- - [varLib.mutator] Suport instantiation of GPOS, GDEF and MVAR (#1079).
- - [sstruct] Fixed issue with ``unicode_literals`` and ``struct`` module in
- old versions of python 2.7 (#993).
-
- 3.17.0 (released 2017-10-16)
- ----------------------------
-
- - [svgPathPen] Added an ``SVGPathPen`` that translates segment pen commands
- into SVG path descriptions. Copied from Tal Leming's ``ufo2svg.svgPathPen``
- https://github.com/typesupply/ufo2svg/blob/d69f992/Lib/ufo2svg/svgPathPen.py
- - [reverseContourPen] Added ``ReverseContourPen``, a filter pen that draws
- contours with the winding direction reversed, while keeping the starting
- point (#1071).
- - [filterPen] Added ``ContourFilterPen`` to manipulate contours as a whole
- rather than segment by segment.
- - [arrayTools] Added ``Vector`` class to apply math operations on an array
- of numbers, and ``pairwise`` function to loop over pairs of items in an
- iterable.
- - [varLib] Added support for building and interpolation of ``cvar`` table
- (f874cf6, a25a401).
-
- 3.16.0 (released 2017-10-03)
- ----------------------------
-
- - [head] Try using ``SOURCE_DATE_EPOCH`` environment variable when setting
- the ``head`` modified timestamp to ensure reproducible builds (#1063).
- See https://reproducible-builds.org/specs/source-date-epoch/
- - [VTT] Decode VTT's ``TSI*`` tables text as UTF-8 (#1060).
- - Added support for Graphite font tables: Feat, Glat, Gloc, Silf and Sill.
- Thanks @mhosken! (#1054).
- - [varLib] Default to using axis "name" attribute if "labelname" element
- is missing (588f524).
- - [merge] Added support for merging Script records. Remove unused features
- and lookups after merge (d802580, 556508b).
- - Added ``fontTools.svgLib`` package. Includes a parser for SVG Paths that
- supports the Pen protocol (#1051). Also, added a snippet to convert SVG
- outlines to UFO GLIF (#1053).
- - [AAT] Added support for ``ankr``, ``bsln``, ``mort``, ``morx``, ``gcid``,
- and ``cidg``.
- - [subset] Implemented subsetting of ``prop``, ``opbd``, ``bsln``, ``lcar``.
-
- 3.15.1 (released 2017-08-18)
- ----------------------------
-
- - [otConverters] Implemented ``__add__`` and ``__radd__`` methods on
- ``otConverters._LazyList`` that decompile a lazy list before adding
- it to another list or ``_LazyList`` instance. Fixes an ``AttributeError``
- in the ``subset`` module when attempting to sum ``_LazyList`` objects
- (6ef48bd2, 1aef1683).
- - [AAT] Support the `opbd` table with optical bounds (a47f6588).
- - [AAT] Support `prop` table with glyph properties (d05617b4).
-
-
- 3.15.0 (released 2017-08-17)
- ----------------------------
-
- - [AAT] Added support for AAT lookups. The ``lcar`` table can be decompiled
- and recompiled; futher work needed to handle ``morx`` table (#1025).
- - [subset] Keep (empty) DefaultLangSys for Script 'DFLT' (6eb807b5).
- - [subset] Support GSUB/GPOS.FeatureVariations (fe01d87b).
- - [varLib] In ``models.supportScalars``, ignore an axis when its peak value
- is 0 (fixes #1020).
- - [varLib] Add default mappings to all axes in avar to fix rendering issue
- in some rasterizers (19c4b377, 04eacf13).
- - [varLib] Flatten multiple tail PairPosFormat2 subtables before merging
- (c55ef525).
- - [ttLib] Added support for recalculating font bounding box in ``CFF`` and
- ``head`` tables, and min/max values in ``hhea`` and ``vhea`` tables (#970).
-
- 3.14.0 (released 2017-07-31)
- ----------------------------
-
- - [varLib.merger] Remove Extensions subtables before merging (f7c20cf8).
- - [varLib] Initialize the avar segment map with required default entries
- (#1014).
- - [varLib] Implemented optimal IUP optmiziation (#1019).
- - [otData] Add ``AxisValueFormat4`` for STAT table v1.2 from OT v1.8.2
- (#1015).
- - [name] Fixed BCP46 language tag for Mac langID=9: 'si' -> 'sl'.
- - [subset] Return value from ``_DehintingT2Decompiler.op_hintmask``
- (c0d672ba).
- - [cffLib] Allow to get TopDict by index as well as by name (dca96c9c).
- - [cffLib] Removed global ``isCFF2`` state; use one set of classes for
- both CFF and CFF2, maintaining backward compatibility existing code (#1007).
- - [cffLib] Deprecated maxstack operator, per OpenType spec update 1.8.1.
- - [cffLib] Added missing default (-100) for UnderlinePosition (#983).
- - [feaLib] Enable setting nameIDs greater than 255 (#1003).
- - [varLib] Recalculate ValueFormat when merging SinglePos (#996).
- - [varLib] Do not emit MVAR if there are no entries in the variation store
- (#987).
- - [ttx] For ``-x`` option, pad with space if table tag length is < 4.
-
- 3.13.1 (released 2017-05-30)
- ----------------------------
-
- - [feaLib.builder] Removed duplicate lookups optimization. The original
- lookup order and semantics of the feature file are preserved (#976).
-
- 3.13.0 (released 2017-05-24)
- ----------------------------
-
- - [varLib.mutator] Implement IUP optimization (#969).
- - [_g_l_y_f.GlyphCoordinates] Changed ``__bool__()`` semantics to match those
- of other iterables (e46f949). Removed ``__abs__()`` (3db5be2).
- - [varLib.interpolate_layout] Added ``mapped`` keyword argument to
- ``interpolate_layout`` to allow disabling avar mapping: if False (default),
- the location is mapped using the map element of the axes in designspace file;
- if True, it is assumed that location is in designspace's internal space and
- no mapping is performed (#950, #975).
- - [varLib.interpolate_layout] Import designspace-loading logic from varLib.
- - [varLib] Fixed bug with recombining PairPosClass2 subtables (81498e5, #914).
- - [cffLib.specializer] When copying iterables, cast to list (462b7f86).
-
- 3.12.1 (released 2017-05-18)
- ----------------------------
-
- - [pens.t2CharStringPen] Fixed AttributeError when calling addComponent in
- T2CharStringPen (#965).
-
- 3.12.0 (released 2017-05-17)
- ----------------------------
-
- - [cffLib.specializer] Added new ``specializer`` module to optimize CFF
- charstrings, used by the T2CharStringPen (#948).
- - [varLib.mutator] Sort glyphs by component depth before calculating composite
- glyphs' bounding boxes to ensure deltas are correctly caclulated (#945).
- - [_g_l_y_f] Fixed loss of precision in GlyphCoordinates by using 'd' (double)
- instead of 'f' (float) as ``array.array`` typecode (#963, #964).
-
- 3.11.0 (released 2017-05-03)
- ----------------------------
-
- - [t2CharStringPen] Initial support for specialized Type2 path operators:
- vmoveto, hmoveto, vlineto, hlineto, vvcurveto, hhcurveto, vhcurveto and
- hvcurveto. This should produce more compact charstrings (#940, #403).
- - [Doc] Added Sphinx sources for the documentation. Thanks @gferreira (#935).
- - [fvar] Expose flags in XML (#932)
- - [name] Add helper function for building multi-lingual names (#921)
- - [varLib] Fixed kern merging when a PairPosFormat2 has ClassDef1 with glyphs
- that are NOT present in the Coverage (1b5e1c4, #939).
- - [varLib] Fixed non-deterministic ClassDef order with PY3 (f056c12, #927).
- - [feLib] Throw an error when the same glyph is defined in multiple mark
- classes within the same lookup (3e3ff00, #453).
-
- 3.10.0 (released 2017-04-14)
- ----------------------------
-
- - [varLib] Added support for building ``avar`` table, using the designspace
- ``<map>`` elements.
- - [varLib] Removed unused ``build(..., axisMap)`` argument. Axis map should
- be specified in designspace file now. We do not accept nonstandard axes
- if ``<axes>`` element is not present.
- - [varLib] Removed "custom" axis from the ``standard_axis_map``. This was
- added before when glyphsLib was always exporting the (unused) custom axis.
- - [varLib] Added partial support for building ``MVAR`` table; does not
- implement ``gasp`` table variations yet.
- - [pens] Added FilterPen base class, for pens that control another pen;
- factored out ``addComponent`` method from BasePen into a separate abstract
- DecomposingPen class; added DecomposingRecordingPen, which records
- components decomposed as regular contours.
- - [TSI1] Fixed computation of the textLength of VTT private tables (#913).
- - [loggingTools] Added ``LogMixin`` class providing a ``log`` property to
- subclasses, which returns a ``logging.Logger`` named after the latter.
- - [loggingTools] Added ``assertRegex`` method to ``CapturingLogHandler``.
- - [py23] Added backport for python 3's ``types.SimpleNamespace`` class.
- - [EBLC] Fixed issue with python 3 ``zip`` iterator.
-
- 3.9.2 (released 2017-04-08)
- ---------------------------
-
- - [pens] Added pen to draw glyphs using WxPython ``GraphicsPath`` class:
- https://wxpython.org/docs/api/wx.GraphicsPath-class.html
- - [varLib.merger] Fixed issue with recombining multiple PairPosFormat2
- subtables (#888)
- - [varLib] Do not encode gvar deltas that are all zeroes, or if all values
- are smaller than tolerance.
- - [ttLib] _TTGlyphSet glyphs now also have ``height`` and ``tsb`` (top
- side bearing) attributes from the ``vmtx`` table, if present.
- - [glyf] In ``GlyphCoordintes`` class, added ``__bool__`` / ``__nonzero__``
- methods, and ``array`` property to get raw array.
- - [ttx] Support reading TTX files with BOM (#896)
- - [CFF2] Fixed the reporting of the number of regions in the font.
-
- 3.9.1 (released 2017-03-20)
- ---------------------------
-
- - [varLib.merger] Fixed issue while recombining multiple PairPosFormat2
- subtables if they were split because of offset overflows (9798c30).
- - [varLib.merger] Only merge multiple PairPosFormat1 subtables if there is
- at least one of the fonts with a non-empty Format1 subtable (0f5a46b).
- - [varLib.merger] Fixed IndexError with empty ClassDef1 in PairPosFormat2
- (aad0d46).
- - [varLib.merger] Avoid reusing Class2Record (mutable) objects (e6125b3).
- - [varLib.merger] Calculate ClassDef1 and ClassDef2's Format when merging
- PairPosFormat2 (23511fd).
- - [macUtils] Added missing ttLib import (b05f203).
-
- 3.9.0 (released 2017-03-13)
- ---------------------------
-
- - [feaLib] Added (partial) support for parsing feature file comments ``# ...``
- appearing in between statements (#879).
- - [feaLib] Cleaned up syntax tree for FeatureNames.
- - [ttLib] Added support for reading/writing ``CFF2`` table (thanks to
- @readroberts at Adobe), and ``TTFA`` (ttfautohint) table.
- - [varLib] Fixed regression introduced with 3.8.0 in the calculation of
- ``NumShorts``, i.e. the number of deltas in ItemVariationData's delta sets
- that use a 16-bit representation (b2825ff).
-
- 3.8.0 (released 2017-03-05)
- ---------------------------
-
- - New pens: MomentsPen, StatisticsPen, RecordingPen, and TeePen.
- - [misc] Added new ``fontTools.misc.symfont`` module, for symbolic font
- statistical analysis; requires ``sympy`` (http://www.sympy.org/en/index.html)
- - [varLib] Added experimental ``fontTools.varLib.interpolatable`` module for
- finding wrong contour order between different masters
- - [varLib] designspace.load() now returns a dictionary, instead of a tuple,
- and supports <axes> element (#864); the 'masters' item was renamed 'sources',
- like the <sources> element in the designspace document
- - [ttLib] Fixed issue with recalculating ``head`` modified timestamp when
- saving CFF fonts
- - [ttLib] In TupleVariation, round deltas before compiling (#861, fixed #592)
- - [feaLib] Ignore duplicate glyphs in classes used as MarkFilteringSet and
- MarkAttachmentType (#863)
- - [merge] Changed the ``gasp`` table merge logic so that only the one from
- the first font is retained, similar to other hinting tables (#862)
- - [Tests] Added tests for the ``varLib`` package, as well as test fonts
- from the "Annotated OpenType Specification" (AOTS) to exercise ``ttLib``'s
- table readers/writers (<https://github.com/adobe-type-tools/aots>)
-
- 3.7.2 (released 2017-02-17)
- ---------------------------
-
- - [subset] Keep advance widths when stripping ".notdef" glyph outline in
- CID-keyed CFF fonts (#845)
- - [feaLib] Zero values now produce the same results as makeotf (#633, #848)
- - [feaLib] More compact encoding for “Contextual positioning with in-line
- single positioning rules” (#514)
-
- 3.7.1 (released 2017-02-15)
- ---------------------------
-
- - [subset] Fixed issue with ``--no-hinting`` option whereby advance widths in
- Type 2 charstrings were also being stripped (#709, #343)
- - [feaLib] include statements now resolve relative paths like makeotf (#838)
- - [feaLib] table ``name`` now handles Unicode codepoints beyond the Basic
- Multilingual Plane, also supports old-style MacOS platform encodings (#842)
- - [feaLib] correctly escape string literals when emitting feature syntax (#780)
-
- 3.7.0 (released 2017-02-11)
- ---------------------------
-
- - [ttx, mtiLib] Preserve ordering of glyph alternates in GSUB type 3 (#833).
- - [feaLib] Glyph names can have dashes, as per new AFDKO syntax v1.20 (#559).
- - [feaLib] feaLib.Parser now needs the font's glyph map for parsing.
- - [varLib] Fix regression where GPOS values were stored as 0.
- - [varLib] Allow merging of class-based kerning when ClassDefs are different
-
- 3.6.3 (released 2017-02-06)
- ---------------------------
-
- - [varLib] Fix building variation of PairPosFormat2 (b5c34ce).
- - Populate defaults even for otTables that have postRead (e45297b).
- - Fix compiling of MultipleSubstFormat1 with zero 'out' glyphs (b887860).
-
- 3.6.2 (released 2017-01-30)
- ---------------------------
-
- - [varLib.merger] Fixed "TypeError: reduce() of empty sequence with no
- initial value" (3717dc6).
-
- 3.6.1 (released 2017-01-28)
- ---------------------------
-
- - [py23] Fixed unhandled exception occurring at interpreter shutdown in
- the "last resort" logging handler (972b3e6).
- - [agl] Ensure all glyph names are of native 'str' type; avoid mixing
- 'str' and 'unicode' in TTFont.glyphOrder (d8c4058).
- - Fixed inconsistent title levels in README.rst that caused PyPI to
- incorrectly render the reStructuredText page.
-
- 3.6.0 (released 2017-01-26)
- ---------------------------
-
- - [varLib] Refactored and improved the variation-font-building process.
- - Assembly code in the fpgm, prep, and glyf tables is now indented in
- XML output for improved readability. The ``instruction`` element is
- written as a simple tag if empty (#819).
- - [ttx] Fixed 'I/O operation on closed file' error when dumping
- multiple TTXs to standard output with the '-o -' option.
- - The unit test modules (``*_test.py``) have been moved outside of the
- fontTools package to the Tests folder, thus they are no longer
- installed (#811).
-
- 3.5.0 (released 2017-01-14)
- ---------------------------
-
- - Font tables read from XML can now be written back to XML with no
- loss.
- - GSUB/GPOS LookupType is written out in XML as an element, not
- comment. (#792)
- - When parsing cmap table, do not store items mapped to glyph id 0.
- (#790)
- - [otlLib] Make ClassDef sorting deterministic. Fixes #766 (7d1ddb2)
- - [mtiLib] Added unit tests (#787)
- - [cvar] Implemented cvar table
- - [gvar] Renamed GlyphVariation to TupleVariation to match OpenType
- terminology.
- - [otTables] Handle gracefully empty VarData.Item array when compiling
- XML. (#797)
- - [varLib] Re-enabled generation of ``HVAR`` table for fonts with
- TrueType outlines; removed ``--build-HVAR`` command-line option.
- - [feaLib] The parser can now be extended to support non-standard
- statements in FEA code by using a customized Abstract Syntax Tree.
- See, for example, ``feaLib.builder_test.test_extensions`` and
- baseClass.feax (#794, fixes #773).
- - [feaLib] Added ``feaLib`` command to the 'fonttools' command-line
- tool; applies a feature file to a font. ``fonttools feaLib -h`` for
- help.
- - [pens] The ``T2CharStringPen`` now takes an optional
- ``roundTolerance`` argument to control the rounding of coordinates
- (#804, fixes #769).
- - [ci] Measure test coverage on all supported python versions and OSes,
- combine coverage data and upload to
- https://codecov.io/gh/fonttools/fonttools (#786)
- - [ci] Configured Travis and Appveyor for running tests on Python 3.6
- (#785, 55c03bc)
- - The manual pages installation directory can be customized through
- ``FONTTOOLS_MANPATH`` environment variable (#799, fixes #84).
- - [Snippets] Added otf2ttf.py, for converting fonts from CFF to
- TrueType using the googlei18n/cu2qu module (#802)
-
- 3.4.0 (released 2016-12-21)
- ---------------------------
-
- - [feaLib] Added support for generating FEA text from abstract syntax
- tree (AST) objects (#776). Thanks @mhosken
- - Added ``agl.toUnicode`` function to convert AGL-compliant glyph names
- to Unicode strings (#774)
- - Implemented MVAR table (b4d5381)
-
- 3.3.1 (released 2016-12-15)
- ---------------------------
-
- - [setup] We no longer use versioneer.py to compute fonttools version
- from git metadata, as this has caused issues for some users (#767).
- Now we bump the version strings manually with a custom ``release``
- command of setup.py script.
-
- 3.3.0 (released 2016-12-06)
- ---------------------------
-
- - [ttLib] Implemented STAT table from OpenType 1.8 (#758)
- - [cffLib] Fixed decompilation of CFF fonts containing non-standard
- key/value pairs in FontDict (issue #740; PR #744)
- - [py23] minor: in ``round3`` function, allow the second argument to be
- ``None`` (#757)
- - The standalone ``sstruct`` and ``xmlWriter`` modules, deprecated
- since vesion 3.2.0, have been removed. They can be imported from the
- ``fontTools.misc`` package.
-
- 3.2.3 (released 2016-12-02)
- ---------------------------
-
- - [py23] optimized performance of round3 function; added backport for
- py35 math.isclose() (9d8dacb)
- - [subset] fixed issue with 'narrow' (UCS-2) Python 2 builds and
- ``--text``/``--text-file`` options containing non-BMP chararcters
- (16d0e5e)
- - [varLib] fixed issuewhen normalizing location values (8fa2ee1, #749)
- - [inspect] Made it compatible with both python2 and python3 (167ee60,
- #748). Thanks @pnemade
-
- 3.2.2 (released 2016-11-24)
- ---------------------------
-
- - [varLib] Do not emit null axes in fvar (1bebcec). Thanks @robmck-ms
- - [varLib] Handle fonts without GPOS (7915a45)
- - [merge] Ignore LangSys if None (a11bc56)
- - [subset] Fix subsetting MathVariants (78d3cbe)
- - [OS/2] Fix "Private Use (plane 15)" range (08a0d55). Thanks @mashabow
-
- 3.2.1 (released 2016-11-03)
- ---------------------------
-
- - [OS/2] fix checking ``fsSelection`` bits matching ``head.macStyle``
- bits
- - [varLib] added ``--build-HVAR`` option to generate ``HVAR`` table for
- fonts with TrueType outlines. For ``CFF2``, it is enabled by default.
-
- 3.2.0 (released 2016-11-02)
- ---------------------------
-
- - [varLib] Improve support for OpenType 1.8 Variable Fonts:
- - Implement GDEF's VariationStore
- - Implement HVAR/VVAR tables
- - Partial support for loading MutatorMath .designspace files with
- varLib.designspace module
- - Add varLib.models with Variation fonts interpolation models
- - Implement GSUB/GPOS FeatureVariations
- - Initial support for interpolating and merging OpenType Layout tables
- (see ``varLib.interpolate_layout`` and ``varLib.merger`` modules)
- - [API change] Change version to be an integer instead of a float in
- XML output for GSUB, GPOS, GDEF, MATH, BASE, JSTF, HVAR, VVAR, feat,
- hhea and vhea tables. Scripts that set the Version for those to 1.0
- or other float values also need fixing. A warning is emitted when
- code or XML needs fix.
- - several bug fixes to the cffLib module, contributed by Adobe's
- @readroberts
- - The XML output for CFF table now has a 'major' and 'minor' elements
- for specifying whether it's version 1.0 or 2.0 (support for CFF2 is
- coming soon)
- - [setup.py] remove undocumented/deprecated ``extra_path`` Distutils
- argument. This means that we no longer create a "FontTools" subfolder
- in site-packages containing the actual fontTools package, as well as
- the standalone xmlWriter and sstruct modules. The latter modules are
- also deprecated, and scheduled for removal in upcoming releases.
- Please change your import statements to point to from fontTools.misc
- import xmlWriter and from fontTools.misc import sstruct.
- - [scripts] Add a 'fonttools' command-line tool that simply runs
- ``fontTools.*`` sub-modules: e.g. ``fonttools ttx``,
- ``fonttools subset``, etc.
- - [hmtx/vmts] Read advance width/heights as unsigned short (uint16);
- automatically round float values to integers.
- - [ttLib/xmlWriter] add 'newlinestr=None' keyword argument to
- ``TTFont.saveXML`` for overriding os-specific line endings (passed on
- to ``XMLWriter`` instances).
- - [versioning] Use versioneer instead of ``setuptools_scm`` to
- dynamically load version info from a git checkout at import time.
- - [feaLib] Support backslash-prefixed glyph names.
-
- 3.1.2 (released 2016-09-27)
- ---------------------------
-
- - restore Makefile as an alternative way to build/check/install
- - README.md: update instructions for installing package from source,
- and for running test suite
- - NEWS: Change log was out of sync with tagged release
-
- 3.1.1 (released 2016-09-27)
- ---------------------------
-
- - Fix ``ttLibVersion`` attribute in TTX files still showing '3.0'
- instead of '3.1'.
- - Use ``setuptools_scm`` to manage package versions.
-
- 3.1.0 (released 2016-09-26)
- ---------------------------
-
- - [feaLib] New library to parse and compile Adobe FDK OpenType Feature
- files.
- - [mtiLib] New library to parse and compile Monotype 'FontDame'
- OpenType Layout Tables files.
- - [voltLib] New library to parse Microsoft VOLT project files.
- - [otlLib] New library to work with OpenType Layout tables.
- - [varLib] New library to work with OpenType Font Variations.
- - [pens] Add ttGlyphPen to draw to TrueType glyphs, and t2CharStringPen
- to draw to Type 2 Charstrings (CFF); add areaPen and perimeterPen.
- - [ttLib.tables] Implement 'meta' and 'trak' tables.
- - [ttx] Add --flavor option for compiling to 'woff' or 'woff2'; add
- ``--with-zopfli`` option to use Zopfli to compress WOFF 1.0 fonts.
- - [subset] Support subsetting 'COLR'/'CPAL' and 'CBDT'/'CBLC' color
- fonts tables, and 'gvar' table for variation fonts.
- - [Snippets] Add ``symfont.py``, for symbolic font statistics analysis;
- interpolatable.py, a preliminary script for detecting interpolation
- errors; ``{merge,dump}_woff_metadata.py``.
- - [classifyTools] Helpers to classify things into classes.
- - [CI] Run tests on Windows, Linux and macOS using Appveyor and Travis
- CI; check unit test coverage with Coverage.py/Coveralls; automatic
- deployment to PyPI on tags.
- - [loggingTools] Use Python built-in logging module to print messages.
- - [py23] Make round() behave like Python 3 built-in round(); define
- round2() and round3().
-
- 3.0 (released 2015-09-01)
- -------------------------
-
- - Add Snippet scripts for cmap subtable format conversion, printing
- GSUB/GPOS features, building a GX font from two masters
- - TTX WOFF2 support and a ``-f`` option to overwrite output file(s)
- - Support GX tables: ``avar``, ``gvar``, ``fvar``, ``meta``
- - Support ``feat`` and gzip-compressed SVG tables
- - Upgrade Mac East Asian encodings to native implementation if
- available
- - Add Roman Croatian and Romanian encodings, codecs for mac-extended
- East Asian encodings
- - Implement optimal GLYF glyph outline packing; disabled by default
-
- 2.5 (released 2014-09-24)
- -------------------------
-
- - Add a Qt pen
- - Add VDMX table converter
- - Load all OpenType sub-structures lazily
- - Add support for cmap format 13.
- - Add pyftmerge tool
- - Update to Unicode 6.3.0d3
- - Add pyftinspect tool
- - Add support for Google CBLC/CBDT color bitmaps, standard EBLC/EBDT
- embedded bitmaps, and ``SVG`` table (thanks to Read Roberts at Adobe)
- - Add support for loading, saving and ttx'ing WOFF file format
- - Add support for Microsoft COLR/CPAL layered color glyphs
- - Support PyPy
- - Support Jython, by replacing numpy with array/lists modules and
- removed it, pure-Python StringIO, not cStringIO
- - Add pyftsubset and Subsetter object, supporting CFF and TTF
- - Add to ttx args for -q for quiet mode, -z to choose a bitmap dump
- format
-
- 2.4 (released 2013-06-22)
- -------------------------
-
- - Option to write to arbitrary files
- - Better dump format for DSIG
- - Better detection of OTF XML
- - Fix issue with Apple's kern table format
- - Fix mangling of TT glyph programs
- - Fix issues related to mona.ttf
- - Fix Windows Installer instructions
- - Fix some modern MacOS issues
- - Fix minor issues and typos
-
- 2.3 (released 2009-11-08)
- -------------------------
-
- - TrueType Collection (TTC) support
- - Python 2.6 support
- - Update Unicode data to 5.2.0
- - Couple of bug fixes
-
- 2.2 (released 2008-05-18)
- -------------------------
-
- - ClearType support
- - cmap format 1 support
- - PFA font support
- - Switched from Numeric to numpy
- - Update Unicode data to 5.1.0
- - Update AGLFN data to 1.6
- - Many bug fixes
-
- 2.1 (released 2008-01-28)
- -------------------------
-
- - Many years worth of fixes and features
-
- 2.0b2 (released 2002-??-??)
- ---------------------------
-
- - Be "forgiving" when interpreting the maxp table version field:
- interpret any value as 1.0 if it's not 0.5. Fixes dumping of these
- GPL fonts: http://www.freebsd.org/cgi/pds.cgi?ports/chinese/wangttf
- - Fixed ttx -l: it turned out this part of the code didn't work with
- Python 2.2.1 and earlier. My bad to do most of my testing with a
- different version than I shipped TTX with :-(
- - Fixed bug in ClassDef format 1 subtable (Andreas Seidel bumped into
- this one).
-
- 2.0b1 (released 2002-09-10)
- ---------------------------
-
- - Fixed embarrassing bug: the master checksum in the head table is now
- calculated correctly even on little-endian platforms (such as Intel).
- - Made the cmap format 4 compiler smarter: the binary data it creates
- is now more or less as compact as possible. TTX now makes more
- compact data than in any shipping font I've tested it with.
- - Dump glyph names as a separate "GlyphOrder" pseudo table as opposed
- to as part of the glyf table (obviously needed for CFF-OTF's).
- - Added proper support for the CFF table.
- - Don't barf on empty tables (questionable, but "there are font out
- there...")
- - When writing TT glyf data, align glyphs on 4-byte boundaries. This
- seems to be the current recommendation by MS. Also: don't barf on
- fonts which are already 4-byte aligned.
- - Windows installer contributed bu Adam Twardoch! Yay!
- - Changed the command line interface again, now by creating one new
- tool replacing the old ones: ttx It dumps and compiles, depending on
- input file types. The options have changed somewhat.
- - The -d option is back (output dir)
- - ttcompile's -i options is now called -m (as in "merge"), to avoid
- clash with dump's -i.
- - The -s option ("split tables") no longer creates a directory, but
- instead outputs a small .ttx file containing references to the
- individual table files. This is not a true link, it's a simple file
- name, and the referenced file should be in the same directory so
- ttcompile can find them.
- - compile no longer accepts a directory as input argument. Instead it
- can parse the new "mini-ttx" format as output by "ttx -s".
- - all arguments are input files
- - Renamed the command line programs and moved them to the Tools
- subdirectory. They are now installed by the setup.py install script.
- - Added OpenType support. BASE, GDEF, GPOS, GSUB and JSTF are (almost)
- fully supported. The XML output is not yet final, as I'm still
- considering to output certain subtables in a more human-friendly
- manner.
- - Fixed 'kern' table to correctly accept subtables it doesn't know
- about, as well as interpreting Apple's definition of the 'kern' table
- headers correctly.
- - Fixed bug where glyphnames were not calculated from 'cmap' if it was
- (one of the) first tables to be decompiled. More specifically: it
- cmap was the first to ask for a glyphID -> glyphName mapping.
- - Switched XML parsers: use expat instead of xmlproc. Should be faster.
- - Removed my UnicodeString object: I now require Python 2.0 or up,
- which has unicode support built in.
- - Removed assert in glyf table: redundant data at the end of the table
- is now ignored instead of raising an error. Should become a warning.
- - Fixed bug in hmtx/vmtx code that only occured if all advances were
- equal.
- - Fixed subtle bug in TT instruction disassembler.
- - Couple of fixes to the 'post' table.
- - Updated OS/2 table to latest spec.
-
- 1.0b1 (released 2001-08-10)
- ---------------------------
-
- - Reorganized the command line interface for ttDump.py and
- ttCompile.py, they now behave more like "normal" command line tool,
- in that they accept multiple input files for batch processing.
- - ttDump.py and ttCompile.py don't silently override files anymore, but
- ask before doing so. Can be overridden by -f.
- - Added -d option to both ttDump.py and ttCompile.py.
- - Installation is now done with distutils. (Needs work for environments
- without compilers.)
- - Updated installation instructions.
- - Added some workarounds so as to handle certain buggy fonts more
- gracefully.
- - Updated Unicode table to Unicode 3.0 (Thanks Antoine!)
- - Included a Python script by Adam Twardoch that adds some useful stuff
- to the Windows registry.
- - Moved the project to SourceForge.
-
- 1.0a6 (released 2000-03-15)
- ---------------------------
-
- - Big reorganization: made ttLib a subpackage of the new fontTools
- package, changed several module names. Called the entire suite
- "FontTools"
- - Added several submodules to fontTools, some new, some older.
- - Added experimental CFF/GPOS/GSUB support to ttLib, read-only (but XML
- dumping of GPOS/GSUB is for now disabled)
- - Fixed hdmx endian bug
- - Added -b option to ttCompile.py, it disables recalculation of
- bounding boxes, as requested by Werner Lemberg.
- - Renamed tt2xml.pt to ttDump.py and xml2tt.py to ttCompile.py
- - Use ".ttx" as file extension instead of ".xml".
- - TTX is now the name of the XML-based *format* for TT fonts, and not
- just an application.
-
- 1.0a5
- -----
-
- Never released
-
- - More tables supported: hdmx, vhea, vmtx
-
- 1.0a3 & 1.0a4
- -------------
-
- Never released
-
- - fixed most portability issues
- - retracted the "Euro_or_currency" change from 1.0a2: it was
- nonsense!
-
- 1.0a2 (released 1999-05-02)
- ---------------------------
-
- - binary release for MacOS
- - genenates full FOND resources: including width table, PS font name
- info and kern table if applicable.
- - added cmap format 4 support. Extra: dumps Unicode char names as XML
- comments!
- - added cmap format 6 support
- - now accepts true type files starting with "true" (instead of just
- 0x00010000 and "OTTO")
- - 'glyf' table support is now complete: I added support for composite
- scale, xy-scale and two-by-two for the 'glyf' table. For now,
- component offset scale behaviour defaults to Apple-style. This only
- affects the (re)calculation of the glyph bounding box.
- - changed "Euro" to "Euro_or_currency" in the Standard Apple Glyph
- order list, since we cannot tell from the 'post' table which is
- meant. I should probably doublecheck with a Unicode encoding if
- available. (This does not affect the output!)
-
- Fixed bugs: - 'hhea' table is now recalculated correctly - fixed wrong
- assumption about sfnt resource names
-
- 1.0a1 (released 1999-04-27)
- ---------------------------
-
- - initial binary release for MacOS
-
-Platform: Any
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: Environment :: Console
-Classifier: Environment :: Other Environment
-Classifier: Intended Audience :: Developers
-Classifier: Intended Audience :: End Users/Desktop
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Natural Language :: English
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 3
-Classifier: Topic :: Text Processing :: Fonts
-Classifier: Topic :: Multimedia :: Graphics
-Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
-Requires-Python: >=3.6
-Provides-Extra: ufo
-Provides-Extra: lxml
-Provides-Extra: woff
-Provides-Extra: unicode
-Provides-Extra: graphite
-Provides-Extra: interpolatable
-Provides-Extra: plot
-Provides-Extra: symfont
-Provides-Extra: type1
-Provides-Extra: pathops
-Provides-Extra: all
diff --git a/README.rst b/README.rst
index 810f5fb1..4bc7a3d5 100644
--- a/README.rst
+++ b/README.rst
@@ -184,9 +184,9 @@ are required to unlock the extra features named "ufo", etc.
*Extra:* ``pathops``
-- ``Lib/fontTools/pens/cocoaPen.py``
+- ``Lib/fontTools/pens/cocoaPen.py`` and ``Lib/fontTools/pens/quartzPen.py``
- Pen for drawing glyphs with Cocoa ``NSBezierPath``, requires:
+ Pens for drawing glyphs with Cocoa ``NSBezierPath`` or ``CGPath`` require:
* `PyObjC <https://pypi.python.org/pypi/pyobjc>`__: the bridge between
Python and the Objective-C runtime (macOS platform only).
@@ -211,16 +211,17 @@ Acknowledgements
In alphabetical order:
Olivier Berten, Samyak Bhuta, Erik van Blokland, Petr van Blokland,
-Jelle Bosma, Sascha Brawer, Tom Byrer, Frédéric Coiffier, Vincent
-Connare, David Corbett, Simon Cozens, Dave Crossland, Simon Daniels,
-Peter Dekkers, Behdad Esfahbod, Behnam Esfahbod, Hannes Famira, Sam
-Fishman, Matt Fontaine, Yannis Haralambous, Greg Hitchcock, Jeremie
-Hornus, Khaled Hosny, John Hudson, Denis Moyogo Jacquerye, Jack Jansen,
-Tom Kacvinsky, Jens Kutilek, Antoine Leca, Werner Lemberg, Tal Leming,
-Peter Lofting, Cosimo Lupo, Masaya Nakamura, Dave Opstad, Laurence
-Penney, Roozbeh Pournader, Garret Rieger, Read Roberts, Guido van
-Rossum, Just van Rossum, Andreas Seidel, Georg Seifert, Chris Simpkins,
-Miguel Sousa, Adam Twardoch, Adrien Tétar, Vitaly Volkov, Paul Wise.
+Jelle Bosma, Sascha Brawer, Tom Byrer, Antonio Cavedoni, Frédéric
+Coiffier, Vincent Connare, David Corbett, Simon Cozens, Dave Crossland,
+Simon Daniels, Peter Dekkers, Behdad Esfahbod, Behnam Esfahbod, Hannes
+Famira, Sam Fishman, Matt Fontaine, Yannis Haralambous, Greg Hitchcock,
+Jeremie Hornus, Khaled Hosny, John Hudson, Denis Moyogo Jacquerye, Jack
+Jansen, Tom Kacvinsky, Jens Kutilek, Antoine Leca, Werner Lemberg, Tal
+Leming, Peter Lofting, Cosimo Lupo, Masaya Nakamura, Dave Opstad,
+Laurence Penney, Roozbeh Pournader, Garret Rieger, Read Roberts, Guido
+van Rossum, Just van Rossum, Andreas Seidel, Georg Seifert, Chris
+Simpkins, Miguel Sousa, Adam Twardoch, Adrien Tétar, Vitaly Volkov,
+Paul Wise.
Copyrights
~~~~~~~~~~
diff --git a/Snippets/fontTools b/Snippets/fontTools
new file mode 100755
index 00000000..9a21c02e
--- /dev/null
+++ b/Snippets/fontTools
@@ -0,0 +1 @@
+../Lib/fontTools \ No newline at end of file
diff --git a/Snippets/name-viewer.ipynb b/Snippets/name-viewer.ipynb
new file mode 100644
index 00000000..11722bca
--- /dev/null
+++ b/Snippets/name-viewer.ipynb
@@ -0,0 +1,117 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## name-viewer.ipynb\n",
+ "\n",
+ "### Usage\n",
+ "\n",
+ "1. Install `jupyter`, `plotly`, `fonttools` dependencies with pip\n",
+ "2. Modify the `FONT_PATH` setting in the Python source block below by clicking next to it and typing a new path in your web browser window\n",
+ "3. Execute the block of Python source by selecting the code block below and clicking the \"Run\" button above\n",
+ "4. Repeat from step 2 with modified font paths to view tables in other fonts\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "import plotly as py\n",
+ "import plotly.graph_objs as go\n",
+ "\n",
+ "from fontTools.ttLib import TTFont\n",
+ "\n",
+ "py.offline.init_notebook_mode(connected=True)\n",
+ "\n",
+ "# EDIT HERE ------------------------------------------------------\n",
+ "#\n",
+ "# Path to font file\n",
+ "FONT_PATH = \"path/to/font.ttf\"\n",
+ "#\n",
+ "# Table height\n",
+ "# - adjust for the length of output from the font file\n",
+ "HEIGHT = 700\n",
+ "#\n",
+ "# END EDIT -------------------------------------------------------\n",
+ "\n",
+ "record_list = []\n",
+ "nameID_list = []\n",
+ "ppelangID_list = []\n",
+ "value_list = []\n",
+ "\n",
+ "tt = TTFont(FONT_PATH)\n",
+ "namerecord_list = tt[\"name\"].names\n",
+ "\n",
+ "for record in namerecord_list:\n",
+ " nameID_list.append(record.nameID)\n",
+ " ppelangID_list.append(\"{} {} {}\".format(record.platformID, \n",
+ " record.platEncID, \n",
+ " record.langID))\n",
+ " value_list.append(\"{}\".format(record.string.decode('utf-8').strip()))\n",
+ " \n",
+ "\n",
+ "record_list.append(nameID_list)\n",
+ "record_list.append(ppelangID_list)\n",
+ "record_list.append(value_list)\n",
+ "\n",
+ "\n",
+ "trace0 = go.Table(\n",
+ " columnorder = [1,2,3],\n",
+ " columnwidth = [80,80,400],\n",
+ " header = dict(\n",
+ " values = [['<b>nameID</b>'],\n",
+ " ['<b>p-pE-lang</b>'],\n",
+ " ['<b>Value</b>']\n",
+ " ],\n",
+ " line = dict(color = '#506784'),\n",
+ " fill = dict(color = '#FFDE00'),\n",
+ " align = ['center','center', 'center'],\n",
+ " font = dict(color = 'black', size = 16),\n",
+ " ),\n",
+ " cells = dict(\n",
+ " values = record_list,\n",
+ " line = dict(color = '#506784'),\n",
+ " fill = dict(color = ['#000000', 'white']),\n",
+ " align = ['center', 'center', 'left'],\n",
+ " font = dict(color = ['#F8F8F5', '#000000', '#000000'], size = 14),\n",
+ " height = 30,\n",
+ " ))\n",
+ "\n",
+ "data1 = [trace0]\n",
+ "\n",
+ "layout1 = go.Layout(\n",
+ " autosize=True,\n",
+ " height=HEIGHT,\n",
+ ")\n",
+ "\n",
+ "fig1 = dict(data=data1, layout=layout1)\n",
+ "py.offline.iplot(fig1)"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 3",
+ "language": "python",
+ "name": "python3"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.7.2"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 2
+}
diff --git a/Tests/colorLib/builder_test.py b/Tests/colorLib/builder_test.py
index 86b5f9e9..152e16e0 100644
--- a/Tests/colorLib/builder_test.py
+++ b/Tests/colorLib/builder_test.py
@@ -544,7 +544,7 @@ def test_buildPaintComposite():
composite = layerBuilder.buildPaintComposite(
mode=ot.CompositeMode.SRC_OVER,
source={
- "format": 8,
+ "format": 10,
"mode": "src_over",
"source": {"format": 5, "glyph": "c", "paint": 2},
"backdrop": {"format": 5, "glyph": "b", "paint": 1},
@@ -574,6 +574,44 @@ def test_buildPaintComposite():
assert composite.BackdropPaint.Paint.Color.PaletteIndex == 0
+def test_buildPaintRotate():
+ layerBuilder = LayerV1ListBuilder()
+ paint = layerBuilder.buildPaintRotate(
+ paint=layerBuilder.buildPaintGlyph(
+ "a", layerBuilder.buildPaintSolid(paletteIndex=0, alpha=1.0)
+ ),
+ angle=15,
+ centerX=127,
+ centerY=129,
+ )
+
+ assert paint.Format == ot.Paint.Format.PaintRotate
+ assert paint.Paint.Format == ot.Paint.Format.PaintGlyph
+ assert paint.angle.value == 15
+ assert paint.centerX.value == 127
+ assert paint.centerY.value == 129
+
+
+def test_buildPaintRotate():
+ layerBuilder = LayerV1ListBuilder()
+ paint = layerBuilder.buildPaintSkew(
+ paint=layerBuilder.buildPaintGlyph(
+ "a", layerBuilder.buildPaintSolid(paletteIndex=0, alpha=1.0)
+ ),
+ xSkewAngle=15,
+ ySkewAngle=42,
+ centerX=127,
+ centerY=129,
+ )
+
+ assert paint.Format == ot.Paint.Format.PaintSkew
+ assert paint.Paint.Format == ot.Paint.Format.PaintGlyph
+ assert paint.xSkewAngle.value == 15
+ assert paint.ySkewAngle.value == 42
+ assert paint.centerX.value == 127
+ assert paint.centerY.value == 129
+
+
def test_buildColrV1():
colorGlyphs = {
"a": [("b", 0), ("c", 1)],
diff --git a/Tests/cu2qu/data/curves.json b/Tests/cu2qu/data/curves.json
new file mode 100644
index 00000000..23af5752
--- /dev/null
+++ b/Tests/cu2qu/data/curves.json
@@ -0,0 +1 @@
+[[[550.0,258.0],[1044.0,482.0],[2029.0,1841.0],[1934.0,1554.0]],[[859.0,384.0],[1998.0,116.0],[1596.0,1772.0],[8.0,1824.0]],[[1090.0,937.0],[418.0,1300.0],[125.0,91.0],[104.0,37.0]],[[1561.0,887.0],[1728.0,118.0],[908.0,1793.0],[2030.0,954.0]],[[1415.0,945.0],[896.0,1882.0],[1186.0,88.0],[1704.0,409.0]],[[761.0,1214.0],[495.0,1362.0],[1728.0,777.0],[1242.0,1163.0]],[[2045.0,1611.0],[141.0,1967.0],[994.0,1655.0],[1697.0,708.0]],[[1503.0,1534.0],[354.0,1797.0],[442.0,670.0],[1610.0,1517.0]],[[2005.0,121.0],[1922.0,178.0],[1263.0,1612.0],[697.0,690.0]],[[929.0,50.0],[817.0,950.0],[1656.0,1408.0],[1447.0,1880.0]],[[1102.0,23.0],[1571.0,529.0],[841.0,1745.0],[229.0,1970.0]],[[1493.0,818.0],[1693.0,1986.0],[1461.0,1697.0],[1417.0,6.0]],[[1356.0,1876.0],[114.0,940.0],[725.0,740.0],[375.0,1045.0]],[[132.0,288.0],[340.0,68.0],[1855.0,59.0],[1151.0,1022.0]],[[1100.0,448.0],[756.0,1410.0],[1189.0,284.0],[685.0,653.0]],[[1045.0,688.0],[1117.0,1206.0],[1862.0,1318.0],[2033.0,1940.0]],[[467.0,96.0],[1277.0,1583.0],[1406.0,1724.0],[770.0,1058.0]],[[445.0,1038.0],[856.0,1768.0],[85.0,923.0],[73.0,1627.0]],[[599.0,144.0],[656.0,1825.0],[1747.0,903.0],[1846.0,914.0]],[[125.0,1617.0],[1315.0,1746.0],[240.0,1223.0],[514.0,868.0]],[[194.0,1254.0],[289.0,313.0],[1271.0,1220.0],[648.0,1704.0]],[[1033.0,534.0],[34.0,155.0],[891.0,1887.0],[702.0,153.0]],[[1548.0,820.0],[1421.0,405.0],[842.0,1773.0],[795.0,2016.0]],[[427.0,1597.0],[1212.0,2047.0],[70.0,1332.0],[1647.0,1152.0]],[[74.0,642.0],[822.0,1342.0],[553.0,1388.0],[1758.0,872.0]],[[1091.0,394.0],[1553.0,1408.0],[1984.0,961.0],[267.0,165.0]],[[346.0,544.0],[695.0,682.0],[872.0,1097.0],[1360.0,1045.0]],[[1507.0,1387.0],[1393.0,466.0],[1192.0,963.0],[2002.0,554.0]],[[427.0,1313.0],[160.0,1665.0],[299.0,1557.0],[603.0,512.0]],[[1396.0,469.0],[1548.0,313.0],[916.0,334.0],[1092.0,1494.0]],[[1210.0,468.0],[1875.0,1135.0],[441.0,187.0],[1211.0,50.0]],[[59.0,375.0],[1693.0,471.0],[163.0,769.0],[981.0,1724.0]],[[663.0,473.0],[1846.0,685.0],[988.0,651.0],[421.0,1782.0]],[[1549.0,1204.0],[1037.0,1953.0],[1288.0,410.0],[850.0,1300.0]],[[162.0,111.0],[43.0,1210.0],[1311.0,1842.0],[1602.0,1283.0]],[[1632.0,257.0],[262.0,1299.0],[1867.0,456.0],[1024.0,881.0]],[[1920.0,1457.0],[1061.0,750.0],[851.0,1258.0],[815.0,1009.0]],[[1476.0,333.0],[1150.0,366.0],[1834.0,370.0],[1388.0,931.0]],[[1599.0,1256.0],[168.0,1340.0],[765.0,1297.0],[1240.0,1006.0]],[[1369.0,413.0],[377.0,1003.0],[901.0,83.0],[998.0,1645.0]],[[296.0,1097.0],[290.0,307.0],[88.0,40.0],[1191.0,1471.0]],[[2020.0,1920.0],[631.0,413.0],[1343.0,315.0],[709.0,735.0]],[[612.0,579.0],[1309.0,1251.0],[437.0,1202.0],[517.0,846.0]],[[580.0,130.0],[1294.0,841.0],[729.0,1224.0],[1772.0,646.0]],[[198.0,1012.0],[1034.0,263.0],[1829.0,1761.0],[1024.0,1799.0]],[[1856.0,44.0],[1620.0,1387.0],[702.0,1056.0],[1989.0,99.0]],[[1706.0,77.0],[255.0,1453.0],[566.0,512.0],[567.0,1061.0]],[[1134.0,1629.0],[1642.0,705.0],[365.0,956.0],[1990.0,30.0]],[[727.0,1299.0],[1795.0,924.0],[976.0,1281.0],[2027.0,1961.0]],[[921.0,1688.0],[1380.0,1127.0],[898.0,197.0],[293.0,1510.0]],[[653.0,834.0],[1277.0,1223.0],[1227.0,1522.0],[676.0,1903.0]],[[348.0,504.0],[1545.0,722.0],[638.0,1026.0],[1747.0,891.0]],[[213.0,2027.0],[1612.0,1425.0],[1572.0,675.0],[166.0,370.0]],[[1045.0,413.0],[1095.0,342.0],[569.0,335.0],[1822.0,987.0]],[[1566.0,1773.0],[1627.0,674.0],[1333.0,1794.0],[517.0,1998.0]],[[868.0,488.0],[1766.0,1672.0],[483.0,1210.0],[1137.0,1016.0]],[[1551.0,16.0],[777.0,1797.0],[86.0,126.0],[992.0,1066.0]],[[846.0,708.0],[1166.0,607.0],[821.0,1119.0],[1274.0,1027.0]],[[1828.0,688.0],[1462.0,2010.0],[1720.0,498.0],[855.0,1569.0]],[[838.0,1163.0],[442.0,98.0],[483.0,54.0],[1214.0,559.0]],[[307.0,1530.0],[1274.0,1790.0],[1461.0,1325.0],[3.0,507.0]],[[1811.0,1841.0],[1434.0,1248.0],[1635.0,1390.0],[2016.0,463.0]],[[1546.0,1566.0],[835.0,15.0],[1137.0,814.0],[1890.0,1675.0]],[[1250.0,697.0],[1840.0,808.0],[1472.0,14.0],[1594.0,1744.0]],[[1659.0,1376.0],[277.0,2018.0],[1014.0,1191.0],[85.0,1667.0]],[[639.0,1627.0],[1106.0,729.0],[300.0,41.0],[1431.0,1083.0]],[[1684.0,1243.0],[622.0,1892.0],[1062.0,1984.0],[694.0,1913.0]],[[185.0,1109.0],[403.0,1730.0],[285.0,1454.0],[274.0,1812.0]],[[80.0,672.0],[662.0,381.0],[1646.0,1129.0],[1246.0,855.0]],[[850.0,971.0],[1367.0,1102.0],[280.0,306.0],[1508.0,1916.0]],[[203.0,690.0],[1216.0,1104.0],[1457.0,950.0],[1607.0,1637.0]],[[705.0,1980.0],[1063.0,1350.0],[910.0,1059.0],[1000.0,125.0]],[[1649.0,1296.0],[1768.0,1017.0],[1102.0,777.0],[297.0,678.0]],[[1816.0,606.0],[1073.0,1881.0],[665.0,567.0],[565.0,1805.0]],[[1479.0,1268.0],[1641.0,985.0],[474.0,844.0],[1251.0,279.0]],[[435.0,932.0],[1626.0,1316.0],[2016.0,409.0],[764.0,184.0]],[[226.0,95.0],[887.0,142.0],[2025.0,1811.0],[1402.0,1124.0]],[[483.0,707.0],[390.0,909.0],[1637.0,955.0],[2027.0,1842.0]],[[1547.0,690.0],[949.0,965.0],[1161.0,1894.0],[1595.0,867.0]],[[1850.0,1056.0],[1352.0,2032.0],[454.0,875.0],[322.0,189.0]],[[63.0,21.0],[1967.0,1308.0],[1569.0,1176.0],[802.0,1638.0]],[[655.0,623.0],[124.0,62.0],[1586.0,594.0],[233.0,1554.0]],[[1041.0,532.0],[325.0,1895.0],[1242.0,59.0],[145.0,249.0]],[[528.0,175.0],[1120.0,481.0],[1771.0,372.0],[778.0,113.0]],[[2046.0,533.0],[1143.0,786.0],[1833.0,1596.0],[1350.0,1097.0]],[[1064.0,995.0],[1005.0,246.0],[717.0,1432.0],[1755.0,249.0]],[[1446.0,1690.0],[816.0,1737.0],[287.0,1094.0],[296.0,1030.0]],[[727.0,395.0],[618.0,240.0],[832.0,1753.0],[183.0,216.0]],[[373.0,1921.0],[1516.0,406.0],[1280.0,164.0],[518.0,135.0]],[[1815.0,525.0],[1618.0,1827.0],[100.0,1105.0],[370.0,1024.0]],[[1332.0,351.0],[1236.0,140.0],[1573.0,238.0],[1069.0,1282.0]],[[532.0,1066.0],[1557.0,479.0],[1244.0,385.0],[1740.0,1005.0]],[[841.0,1352.0],[1387.0,1601.0],[1970.0,428.0],[531.0,1837.0]],[[123.0,1193.0],[643.0,819.0],[1516.0,1594.0],[1328.0,398.0]],[[1677.0,1414.0],[517.0,265.0],[178.0,1230.0],[1284.0,1710.0]],[[1221.0,1305.0],[1444.0,1116.0],[1332.0,35.0],[499.0,609.0]],[[1298.0,1333.0],[1341.0,281.0],[1850.0,1145.0],[1964.0,1860.0]],[[1491.0,1558.0],[320.0,229.0],[551.0,199.0],[2015.0,1031.0]],[[1005.0,1387.0],[1481.0,1516.0],[1648.0,1259.0],[1902.0,1394.0]],[[687.0,119.0],[607.0,1024.0],[905.0,546.0],[461.0,756.0]],[[1683.0,205.0],[406.0,1088.0],[438.0,836.0],[1071.0,273.0]],[[321.0,298.0],[890.0,710.0],[1769.0,89.0],[1507.0,1993.0]],[[1162.0,900.0],[820.0,2021.0],[963.0,1742.0],[1852.0,1503.0]],[[773.0,1974.0],[297.0,1050.0],[1668.0,824.0],[33.0,1559.0]],[[1995.0,312.0],[1653.0,1743.0],[164.0,1441.0],[1877.0,26.0]],[[777.0,1226.0],[22.0,491.0],[1239.0,1292.0],[1157.0,1685.0]],[[1672.0,1260.0],[1853.0,1236.0],[536.0,1819.0],[574.0,667.0]],[[1035.0,39.0],[1737.0,148.0],[1508.0,1723.0],[1647.0,1153.0]],[[75.0,370.0],[368.0,19.0],[1570.0,1101.0],[1902.0,1113.0]],[[1526.0,1971.0],[1378.0,1591.0],[1868.0,477.0],[1981.0,1452.0]],[[592.0,1700.0],[607.0,74.0],[704.0,1065.0],[1506.0,520.0]],[[1176.0,1691.0],[1056.0,1176.0],[1723.0,1120.0],[1775.0,1375.0]],[[1989.0,882.0],[2012.0,1646.0],[1741.0,374.0],[263.0,530.0]],[[844.0,612.0],[938.0,107.0],[422.0,1037.0],[637.0,1965.0]],[[405.0,1634.0],[767.0,12.0],[365.0,1751.0],[208.0,894.0]],[[1728.0,1420.0],[192.0,422.0],[1718.0,485.0],[1086.0,1141.0]],[[733.0,1964.0],[195.0,877.0],[357.0,1596.0],[507.0,1832.0]],[[1205.0,2039.0],[1610.0,475.0],[1962.0,433.0],[610.0,1582.0]],[[824.0,684.0],[1055.0,1706.0],[1182.0,2017.0],[879.0,1380.0]],[[1990.0,421.0],[35.0,1420.0],[1095.0,231.0],[1803.0,1228.0]],[[412.0,936.0],[1124.0,1107.0],[1009.0,1686.0],[607.0,533.0]],[[1049.0,799.0],[1670.0,239.0],[609.0,1694.0],[1106.0,1146.0]],[[1966.0,1252.0],[1093.0,2012.0],[878.0,2042.0],[1506.0,1927.0]],[[989.0,1386.0],[721.0,742.0],[1847.0,612.0],[238.0,1335.0]],[[553.0,873.0],[1291.0,2022.0],[1967.0,1351.0],[484.0,523.0]],[[573.0,1050.0],[921.0,360.0],[204.0,704.0],[475.0,926.0]],[[816.0,1261.0],[1729.0,1342.0],[17.0,82.0],[1250.0,902.0]],[[346.0,919.0],[1147.0,1397.0],[1102.0,1553.0],[94.0,498.0]],[[1351.0,1421.0],[571.0,464.0],[1027.0,586.0],[168.0,1421.0]],[[316.0,376.0],[422.0,1228.0],[1298.0,1019.0],[1103.0,203.0]],[[1481.0,127.0],[320.0,569.0],[1635.0,1523.0],[991.0,384.0]],[[1346.0,1120.0],[32.0,1318.0],[459.0,1443.0],[515.0,1110.0]],[[1659.0,373.0],[1947.0,1715.0],[1612.0,1233.0],[898.0,1239.0]],[[545.0,220.0],[450.0,717.0],[985.0,880.0],[1780.0,1124.0]],[[81.0,1025.0],[1109.0,1072.0],[1938.0,516.0],[1651.0,424.0]],[[1529.0,282.0],[1487.0,124.0],[1262.0,1824.0],[541.0,638.0]],[[304.0,581.0],[885.0,1982.0],[1374.0,1495.0],[1197.0,654.0]],[[637.0,1563.0],[1801.0,1661.0],[482.0,594.0],[1104.0,1209.0]],[[33.0,39.0],[543.0,1554.0],[414.0,1882.0],[124.0,1769.0]],[[1729.0,1130.0],[1516.0,1672.0],[1663.0,1892.0],[218.0,406.0]],[[1928.0,153.0],[2.0,172.0],[455.0,571.0],[1459.0,1109.0]],[[1459.0,1941.0],[1004.0,982.0],[432.0,1465.0],[649.0,476.0]],[[166.0,1284.0],[1730.0,1418.0],[1038.0,228.0],[1781.0,1699.0]],[[1541.0,1469.0],[1203.0,1397.0],[1806.0,975.0],[591.0,229.0]],[[1398.0,464.0],[705.0,1996.0],[1396.0,497.0],[88.0,1967.0]],[[856.0,1569.0],[715.0,1627.0],[933.0,408.0],[1017.0,1374.0]],[[1347.0,1004.0],[1889.0,1929.0],[1513.0,2017.0],[793.0,1769.0]],[[1804.0,1633.0],[493.0,1999.0],[1091.0,512.0],[613.0,48.0]],[[1540.0,1698.0],[446.0,107.0],[305.0,749.0],[1879.0,1544.0]],[[1181.0,636.0],[631.0,433.0],[1042.0,76.0],[1902.0,1624.0]],[[935.0,1600.0],[21.0,1021.0],[1732.0,650.0],[733.0,1402.0]],[[979.0,311.0],[659.0,719.0],[1538.0,88.0],[888.0,1750.0]],[[965.0,165.0],[779.0,316.0],[1015.0,1630.0],[1904.0,487.0]],[[198.0,1585.0],[367.0,387.0],[1961.0,184.0],[979.0,49.0]],[[85.0,1277.0],[1910.0,1138.0],[1702.0,682.0],[545.0,1303.0]],[[1837.0,1710.0],[686.0,1619.0],[1593.0,822.0],[2029.0,1140.0]],[[1474.0,620.0],[1062.0,1144.0],[717.0,342.0],[1476.0,1376.0]],[[584.0,1058.0],[1044.0,1033.0],[1430.0,1573.0],[1143.0,1915.0]],[[55.0,610.0],[533.0,1035.0],[925.0,804.0],[288.0,812.0]],[[1758.0,982.0],[570.0,1886.0],[1602.0,802.0],[338.0,316.0]],[[627.0,235.0],[123.0,1660.0],[1567.0,1709.0],[563.0,529.0]],[[303.0,988.0],[1563.0,571.0],[1170.0,829.0],[1626.0,1461.0]],[[730.0,922.0],[1219.0,589.0],[1424.0,2015.0],[1195.0,362.0]],[[1224.0,855.0],[1898.0,89.0],[1189.0,422.0],[1526.0,1816.0]],[[1044.0,238.0],[213.0,1292.0],[654.0,542.0],[423.0,460.0]],[[1782.0,1007.0],[851.0,1625.0],[497.0,869.0],[1572.0,548.0]],[[1042.0,14.0],[495.0,825.0],[1548.0,1974.0],[944.0,1096.0]],[[154.0,687.0],[954.0,1681.0],[1121.0,1725.0],[1632.0,1114.0]],[[2023.0,400.0],[530.0,764.0],[65.0,1859.0],[183.0,2000.0]],[[877.0,1613.0],[1377.0,997.0],[385.0,315.0],[174.0,1731.0]],[[1809.0,773.0],[709.0,778.0],[1576.0,1476.0],[807.0,953.0]],[[1473.0,264.0],[1396.0,212.0],[1877.0,181.0],[724.0,604.0]],[[1169.0,1921.0],[176.0,265.0],[1623.0,376.0],[1638.0,1234.0]],[[1615.0,1097.0],[1442.0,1927.0],[201.0,1954.0],[71.0,1748.0]],[[1247.0,1299.0],[611.0,1137.0],[269.0,1478.0],[1700.0,1601.0]],[[96.0,464.0],[151.0,58.0],[413.0,1360.0],[1379.0,1508.0]],[[141.0,1516.0],[303.0,1986.0],[343.0,1827.0],[1370.0,2048.0]],[[13.0,658.0],[1331.0,1478.0],[876.0,598.0],[607.0,441.0]],[[1654.0,1299.0],[1723.0,1474.0],[1398.0,1064.0],[1509.0,154.0]],[[259.0,1010.0],[1087.0,1626.0],[1162.0,341.0],[306.0,697.0]],[[1094.0,1694.0],[341.0,517.0],[1156.0,1076.0],[961.0,862.0]],[[404.0,1135.0],[1967.0,192.0],[1234.0,835.0],[307.0,1292.0]],[[1391.0,1212.0],[545.0,144.0],[1811.0,1490.0],[152.0,117.0]],[[1292.0,1710.0],[670.0,166.0],[1739.0,755.0],[808.0,953.0]],[[470.0,532.0],[501.0,1091.0],[1877.0,804.0],[226.0,1479.0]],[[1868.0,1371.0],[1452.0,900.0],[38.0,57.0],[2001.0,132.0]],[[673.0,1037.0],[163.0,37.0],[942.0,346.0],[709.0,143.0]],[[820.0,857.0],[1814.0,1182.0],[995.0,2009.0],[1521.0,1330.0]],[[1605.0,300.0],[799.0,743.0],[768.0,1216.0],[1745.0,1941.0]],[[1488.0,94.0],[1996.0,84.0],[429.0,1771.0],[1407.0,1388.0]],[[303.0,1721.0],[799.0,2024.0],[1956.0,1843.0],[1929.0,677.0]],[[1098.0,1235.0],[1623.0,1061.0],[1046.0,1270.0],[60.0,187.0]],[[1874.0,1874.0],[1456.0,950.0],[1819.0,856.0],[1949.0,1374.0]],[[593.0,1572.0],[1791.0,222.0],[455.0,1459.0],[33.0,1047.0]],[[221.0,1255.0],[1551.0,61.0],[1329.0,1385.0],[1264.0,203.0]],[[854.0,334.0],[1346.0,491.0],[271.0,525.0],[1205.0,1677.0]],[[1395.0,952.0],[111.0,749.0],[1498.0,1239.0],[1203.0,1548.0]],[[1722.0,1890.0],[303.0,815.0],[1669.0,948.0],[172.0,986.0]],[[919.0,997.0],[1616.0,1553.0],[860.0,622.0],[1225.0,1474.0]],[[5.0,1258.0],[1819.0,2039.0],[699.0,599.0],[127.0,1518.0]],[[1789.0,1400.0],[2005.0,1300.0],[456.0,1197.0],[1130.0,1759.0]],[[46.0,1272.0],[354.0,2014.0],[470.0,903.0],[1084.0,1789.0]],[[1526.0,944.0],[222.0,419.0],[667.0,531.0],[1196.0,197.0]],[[279.0,893.0],[12.0,253.0],[1732.0,86.0],[271.0,225.0]],[[36.0,142.0],[1389.0,1362.0],[76.0,36.0],[865.0,1920.0]],[[819.0,1090.0],[1209.0,1029.0],[956.0,748.0],[863.0,1603.0]],[[244.0,977.0],[1853.0,144.0],[1357.0,1338.0],[1666.0,490.0]],[[65.0,757.0],[383.0,757.0],[894.0,921.0],[723.0,1245.0]],[[400.0,240.0],[1285.0,599.0],[257.0,1815.0],[614.0,945.0]],[[176.0,1172.0],[1410.0,238.0],[365.0,1812.0],[820.0,933.0]],[[758.0,488.0],[235.0,828.0],[221.0,474.0],[358.0,900.0]],[[1171.0,1032.0],[1731.0,1018.0],[132.0,1031.0],[797.0,1334.0]],[[1433.0,1463.0],[1860.0,1566.0],[1583.0,366.0],[1745.0,1001.0]],[[2004.0,1407.0],[731.0,466.0],[981.0,296.0],[1788.0,1134.0]],[[1244.0,1372.0],[1517.0,1676.0],[1869.0,1492.0],[1441.0,1293.0]],[[1622.0,1930.0],[70.0,1516.0],[521.0,1238.0],[688.0,1237.0]],[[519.0,612.0],[683.0,1874.0],[623.0,553.0],[659.0,326.0]],[[1039.0,964.0],[1457.0,1291.0],[702.0,1135.0],[1937.0,1268.0]],[[316.0,1754.0],[630.0,1446.0],[1841.0,440.0],[638.0,1293.0]],[[283.0,765.0],[1964.0,143.0],[191.0,785.0],[1458.0,1499.0]],[[1455.0,1534.0],[1401.0,493.0],[756.0,1537.0],[133.0,1109.0]],[[860.0,255.0],[1011.0,1246.0],[1339.0,1650.0],[1000.0,1473.0]],[[202.0,949.0],[1190.0,27.0],[800.0,397.0],[554.0,912.0]],[[1510.0,1091.0],[576.0,665.0],[934.0,308.0],[1275.0,1769.0]],[[1799.0,1945.0],[749.0,1456.0],[800.0,1773.0],[303.0,1134.0]],[[840.0,937.0],[582.0,547.0],[852.0,86.0],[670.0,1989.0]],[[1486.0,753.0],[201.0,1475.0],[337.0,972.0],[865.0,356.0]],[[1807.0,804.0],[1402.0,675.0],[73.0,891.0],[1294.0,1967.0]],[[148.0,214.0],[1502.0,2047.0],[1431.0,555.0],[1999.0,279.0]],[[1305.0,1276.0],[1301.0,366.0],[1969.0,1384.0],[1702.0,292.0]],[[1073.0,257.0],[1322.0,78.0],[738.0,1341.0],[924.0,1282.0]],[[1075.0,1033.0],[1254.0,1997.0],[1703.0,49.0],[1206.0,665.0]],[[1191.0,199.0],[474.0,1767.0],[1763.0,890.0],[1139.0,1460.0]],[[2024.0,1152.0],[1048.0,706.0],[1321.0,584.0],[1440.0,387.0]],[[1626.0,1461.0],[787.0,1621.0],[1840.0,614.0],[1970.0,994.0]],[[154.0,1014.0],[323.0,288.0],[157.0,1931.0],[1983.0,1340.0]],[[698.0,2036.0],[1628.0,54.0],[1581.0,1845.0],[677.0,1528.0]],[[211.0,1508.0],[1445.0,1793.0],[972.0,1243.0],[361.0,1809.0]],[[1462.0,799.0],[660.0,551.0],[1811.0,184.0],[1491.0,1381.0]],[[710.0,2008.0],[1959.0,34.0],[958.0,243.0],[1819.0,669.0]],[[853.0,1639.0],[1908.0,505.0],[1289.0,1073.0],[566.0,693.0]],[[1351.0,539.0],[739.0,1262.0],[959.0,1750.0],[1917.0,1875.0]],[[1274.0,695.0],[1264.0,846.0],[1157.0,633.0],[26.0,1394.0]],[[487.0,1742.0],[1556.0,732.0],[1800.0,1840.0],[1811.0,1489.0]],[[845.0,221.0],[348.0,439.0],[398.0,1587.0],[562.0,1816.0]],[[1626.0,745.0],[1945.0,1838.0],[149.0,794.0],[1843.0,2000.0]],[[1596.0,1190.0],[1428.0,710.0],[1119.0,738.0],[112.0,248.0]],[[265.0,941.0],[1825.0,1306.0],[1808.0,1373.0],[416.0,1590.0]],[[220.0,1918.0],[1139.0,1676.0],[1905.0,1356.0],[393.0,672.0]],[[1643.0,1749.0],[1956.0,610.0],[1308.0,597.0],[1433.0,562.0]],[[792.0,921.0],[885.0,1859.0],[637.0,423.0],[421.0,1741.0]],[[215.0,1857.0],[621.0,1534.0],[1317.0,1147.0],[1630.0,58.0]],[[1587.0,1995.0],[1824.0,1235.0],[1241.0,1585.0],[1282.0,1186.0]],[[713.0,410.0],[2004.0,736.0],[1825.0,628.0],[1878.0,432.0]],[[505.0,1304.0],[1295.0,2024.0],[1396.0,1309.0],[1894.0,1324.0]],[[1984.0,1614.0],[893.0,680.0],[987.0,819.0],[1004.0,211.0]],[[1314.0,252.0],[1344.0,1719.0],[121.0,1410.0],[1472.0,1480.0]],[[1674.0,856.0],[1182.0,919.0],[1284.0,1627.0],[1575.0,719.0]],[[34.0,1592.0],[1434.0,910.0],[958.0,269.0],[1311.0,1575.0]],[[834.0,1202.0],[392.0,1777.0],[16.0,1437.0],[381.0,1670.0]],[[627.0,456.0],[734.0,1394.0],[590.0,1538.0],[1789.0,1333.0]],[[1135.0,854.0],[794.0,648.0],[674.0,657.0],[600.0,490.0]],[[1810.0,532.0],[1766.0,548.0],[1367.0,1299.0],[561.0,84.0]],[[1468.0,713.0],[926.0,962.0],[2035.0,2001.0],[140.0,367.0]],[[547.0,1920.0],[584.0,856.0],[1476.0,564.0],[1147.0,1427.0]],[[265.0,1571.0],[1946.0,122.0],[1891.0,806.0],[986.0,844.0]],[[20.0,1245.0],[172.0,1093.0],[775.0,294.0],[433.0,451.0]],[[1639.0,1359.0],[429.0,1824.0],[1977.0,1149.0],[584.0,1766.0]],[[1521.0,1429.0],[1571.0,1685.0],[1786.0,1507.0],[843.0,801.0]],[[267.0,593.0],[974.0,982.0],[85.0,987.0],[1612.0,1870.0]],[[1805.0,390.0],[221.0,705.0],[31.0,181.0],[1762.0,1140.0]],[[1701.0,543.0],[965.0,1533.0],[1698.0,1400.0],[193.0,1861.0]],[[529.0,1491.0],[246.0,1430.0],[480.0,1005.0],[510.0,1788.0]],[[609.0,78.0],[1496.0,532.0],[616.0,1180.0],[101.0,1934.0]],[[109.0,1978.0],[274.0,1765.0],[376.0,1924.0],[396.0,527.0]],[[1612.0,1679.0],[990.0,1555.0],[1956.0,1299.0],[1793.0,478.0]],[[275.0,862.0],[1512.0,427.0],[393.0,1453.0],[432.0,802.0]],[[455.0,358.0],[14.0,1768.0],[960.0,374.0],[1258.0,1997.0]],[[253.0,1757.0],[1221.0,1605.0],[167.0,118.0],[1133.0,1959.0]],[[1793.0,896.0],[1100.0,1317.0],[1956.0,1808.0],[224.0,1101.0]],[[711.0,1793.0],[1865.0,1211.0],[747.0,1314.0],[1629.0,1694.0]],[[1631.0,1955.0],[903.0,1254.0],[70.0,258.0],[605.0,2021.0]],[[474.0,1472.0],[1061.0,1266.0],[1241.0,567.0],[437.0,565.0]],[[1864.0,155.0],[1825.0,1923.0],[1334.0,1520.0],[512.0,59.0]],[[825.0,1100.0],[265.0,1892.0],[1160.0,49.0],[1089.0,88.0]],[[1644.0,458.0],[400.0,1319.0],[1832.0,374.0],[2041.0,1407.0]],[[178.0,769.0],[694.0,227.0],[476.0,174.0],[480.0,1249.0]],[[821.0,663.0],[615.0,933.0],[890.0,367.0],[1445.0,1783.0]],[[1092.0,551.0],[1171.0,1016.0],[284.0,1084.0],[232.0,89.0]],[[1768.0,1156.0],[1944.0,1728.0],[1787.0,278.0],[758.0,879.0]],[[139.0,1758.0],[1697.0,1453.0],[1453.0,607.0],[732.0,925.0]],[[939.0,243.0],[1497.0,274.0],[1828.0,1318.0],[891.0,897.0]],[[1055.0,634.0],[1562.0,439.0],[1956.0,7.0],[1933.0,1278.0]],[[1075.0,1192.0],[854.0,543.0],[1558.0,143.0],[1566.0,1872.0]],[[99.0,539.0],[948.0,2020.0],[405.0,1212.0],[1786.0,822.0]],[[1367.0,402.0],[1019.0,993.0],[2013.0,474.0],[728.0,2033.0]],[[1468.0,1774.0],[1639.0,1727.0],[97.0,1635.0],[579.0,1743.0]],[[521.0,248.0],[1197.0,1591.0],[1761.0,390.0],[825.0,1111.0]],[[1961.0,1729.0],[1082.0,436.0],[1334.0,626.0],[1063.0,100.0]],[[397.0,1518.0],[1860.0,1085.0],[387.0,1163.0],[569.0,346.0]],[[1664.0,1558.0],[114.0,1961.0],[532.0,1603.0],[2015.0,954.0]],[[115.0,1540.0],[253.0,1681.0],[344.0,1023.0],[162.0,1860.0]],[[343.0,1202.0],[162.0,1423.0],[173.0,279.0],[299.0,185.0]],[[1256.0,1451.0],[1261.0,371.0],[1927.0,1464.0],[1338.0,700.0]],[[1454.0,1023.0],[1340.0,953.0],[1017.0,891.0],[1272.0,1253.0]],[[1322.0,1236.0],[19.0,1970.0],[1035.0,942.0],[604.0,989.0]],[[660.0,346.0],[1063.0,1633.0],[829.0,564.0],[675.0,303.0]],[[1295.0,1581.0],[864.0,648.0],[158.0,1825.0],[884.0,1641.0]],[[461.0,1273.0],[900.0,1186.0],[1826.0,1378.0],[341.0,280.0]],[[288.0,945.0],[490.0,1898.0],[1877.0,40.0],[686.0,1876.0]],[[1772.0,449.0],[787.0,63.0],[996.0,1260.0],[877.0,1204.0]],[[1261.0,1081.0],[1431.0,1088.0],[1177.0,194.0],[119.0,43.0]],[[1807.0,173.0],[844.0,315.0],[1292.0,1852.0],[1246.0,468.0]],[[1010.0,454.0],[790.0,123.0],[797.0,555.0],[105.0,1803.0]],[[117.0,931.0],[1946.0,708.0],[36.0,917.0],[566.0,256.0]],[[65.0,561.0],[1312.0,346.0],[1068.0,798.0],[1631.0,32.0]],[[1145.0,1441.0],[1060.0,1578.0],[1654.0,1906.0],[1142.0,362.0]],[[737.0,1963.0],[1613.0,545.0],[853.0,105.0],[211.0,1299.0]],[[592.0,896.0],[1305.0,1625.0],[167.0,1672.0],[1944.0,265.0]],[[140.0,537.0],[1682.0,1595.0],[1112.0,181.0],[891.0,795.0]],[[1246.0,1557.0],[1227.0,93.0],[1092.0,781.0],[665.0,941.0]],[[360.0,863.0],[1967.0,674.0],[215.0,1648.0],[1158.0,60.0]],[[618.0,405.0],[162.0,1761.0],[1945.0,717.0],[893.0,1919.0]],[[441.0,1658.0],[917.0,259.0],[520.0,1384.0],[1944.0,2021.0]],[[1505.0,1772.0],[1016.0,1814.0],[1064.0,1655.0],[1457.0,1582.0]],[[937.0,1545.0],[435.0,740.0],[1411.0,310.0],[105.0,1718.0]],[[2023.0,249.0],[1885.0,451.0],[959.0,1862.0],[1438.0,374.0]],[[1372.0,151.0],[1133.0,1372.0],[531.0,684.0],[1760.0,1276.0]],[[1813.0,996.0],[2004.0,1571.0],[113.0,1043.0],[493.0,1174.0]],[[1063.0,101.0],[345.0,1329.0],[741.0,896.0],[1202.0,331.0]],[[698.0,1865.0],[1523.0,1633.0],[1854.0,1933.0],[420.0,2001.0]],[[341.0,139.0],[242.0,76.0],[1141.0,149.0],[1100.0,1273.0]],[[722.0,1955.0],[1381.0,69.0],[1862.0,1400.0],[972.0,927.0]],[[1416.0,237.0],[93.0,1804.0],[811.0,1612.0],[627.0,734.0]],[[950.0,333.0],[1617.0,167.0],[713.0,1311.0],[19.0,1860.0]],[[665.0,156.0],[1730.0,909.0],[1053.0,1793.0],[773.0,166.0]],[[1546.0,1681.0],[1632.0,1745.0],[1113.0,1813.0],[1380.0,97.0]],[[320.0,1935.0],[1717.0,663.0],[1763.0,656.0],[704.0,1094.0]],[[1691.0,1971.0],[1169.0,1422.0],[1870.0,1628.0],[1542.0,1172.0]],[[983.0,1469.0],[923.0,1084.0],[82.0,296.0],[1078.0,1596.0]],[[657.0,1081.0],[1033.0,2009.0],[64.0,652.0],[1980.0,452.0]],[[899.0,622.0],[462.0,1574.0],[232.0,706.0],[279.0,388.0]],[[1918.0,1918.0],[102.0,237.0],[1111.0,210.0],[1934.0,851.0]],[[1457.0,1793.0],[452.0,1387.0],[1304.0,1565.0],[1593.0,1188.0]],[[338.0,938.0],[1807.0,1431.0],[1750.0,1766.0],[1785.0,1091.0]],[[764.0,617.0],[216.0,1353.0],[1440.0,1542.0],[275.0,1302.0]],[[725.0,595.0],[469.0,836.0],[1954.0,954.0],[1468.0,661.0]],[[832.0,1224.0],[703.0,566.0],[1638.0,1743.0],[2003.0,1437.0]],[[139.0,308.0],[99.0,1507.0],[1019.0,637.0],[874.0,1622.0]],[[1817.0,1117.0],[1745.0,1384.0],[1974.0,1395.0],[332.0,224.0]],[[570.0,1924.0],[721.0,372.0],[33.0,266.0],[98.0,751.0]],[[1141.0,795.0],[1886.0,1647.0],[1111.0,1081.0],[1574.0,431.0]],[[1619.0,1897.0],[988.0,291.0],[1280.0,550.0],[108.0,1550.0]],[[230.0,1189.0],[1413.0,69.0],[1798.0,1299.0],[41.0,1293.0]],[[1605.0,209.0],[1829.0,398.0],[1734.0,1663.0],[504.0,71.0]],[[47.0,1673.0],[1426.0,719.0],[1656.0,166.0],[586.0,1169.0]],[[1683.0,680.0],[1921.0,1202.0],[1049.0,143.0],[1600.0,1687.0]],[[599.0,1327.0],[697.0,1856.0],[1610.0,514.0],[323.0,1609.0]],[[1066.0,1604.0],[2003.0,137.0],[1190.0,653.0],[1101.0,1590.0]],[[1122.0,511.0],[1046.0,36.0],[489.0,437.0],[1916.0,619.0]],[[1908.0,986.0],[973.0,170.0],[920.0,327.0],[443.0,395.0]],[[153.0,467.0],[179.0,1033.0],[1699.0,600.0],[1420.0,467.0]],[[204.0,1595.0],[915.0,652.0],[2004.0,702.0],[1442.0,1630.0]],[[701.0,1335.0],[288.0,203.0],[62.0,1220.0],[407.0,1845.0]],[[356.0,2.0],[194.0,1151.0],[1249.0,1042.0],[1878.0,1569.0]],[[480.0,915.0],[1253.0,514.0],[98.0,1499.0],[1828.0,386.0]],[[1765.0,636.0],[1125.0,466.0],[1528.0,1033.0],[864.0,1345.0]],[[577.0,913.0],[30.0,942.0],[1976.0,1469.0],[521.0,1672.0]],[[1404.0,1750.0],[1802.0,458.0],[1025.0,217.0],[1209.0,1305.0]],[[815.0,852.0],[939.0,991.0],[1540.0,1421.0],[1050.0,6.0]],[[2015.0,575.0],[1751.0,1981.0],[370.0,1130.0],[409.0,898.0]],[[444.0,1745.0],[1659.0,582.0],[469.0,1800.0],[886.0,660.0]],[[882.0,1116.0],[1497.0,1337.0],[1422.0,1031.0],[611.0,127.0]],[[906.0,1053.0],[1974.0,65.0],[1400.0,68.0],[714.0,822.0]],[[1063.0,942.0],[299.0,1745.0],[1511.0,1516.0],[776.0,432.0]],[[18.0,1606.0],[1388.0,1350.0],[1680.0,1405.0],[1054.0,1648.0]],[[1129.0,1446.0],[307.0,1791.0],[913.0,1933.0],[1417.0,1158.0]],[[119.0,434.0],[220.0,700.0],[922.0,1799.0],[1203.0,1733.0]],[[1632.0,18.0],[278.0,1625.0],[625.0,850.0],[1942.0,1612.0]],[[2022.0,404.0],[1679.0,675.0],[2018.0,880.0],[1264.0,148.0]],[[1223.0,1200.0],[568.0,1028.0],[1244.0,1949.0],[546.0,1787.0]],[[1365.0,1315.0],[863.0,1138.0],[162.0,1272.0],[1206.0,2036.0]],[[1224.0,1082.0],[654.0,1186.0],[1077.0,1368.0],[610.0,1060.0]],[[1586.0,1810.0],[2027.0,690.0],[1571.0,162.0],[379.0,842.0]],[[1298.0,209.0],[1251.0,164.0],[1701.0,445.0],[1326.0,529.0]],[[42.0,1410.0],[988.0,1451.0],[1779.0,986.0],[342.0,133.0]],[[1371.0,77.0],[1816.0,106.0],[690.0,1151.0],[857.0,1756.0]],[[1184.0,675.0],[179.0,159.0],[2036.0,1598.0],[456.0,1556.0]],[[1179.0,1786.0],[204.0,938.0],[1366.0,1717.0],[1994.0,832.0]],[[364.0,1378.0],[1657.0,734.0],[964.0,1987.0],[295.0,1716.0]],[[1618.0,893.0],[1047.0,6.0],[1154.0,133.0],[1065.0,349.0]],[[736.0,1034.0],[1838.0,1780.0],[1251.0,411.0],[1217.0,220.0]],[[1954.0,719.0],[1042.0,855.0],[516.0,172.0],[1635.0,40.0]],[[1216.0,11.0],[1563.0,1392.0],[396.0,1051.0],[663.0,818.0]],[[297.0,716.0],[1544.0,95.0],[902.0,1663.0],[73.0,17.0]],[[1702.0,719.0],[218.0,1621.0],[1697.0,781.0],[651.0,909.0]],[[375.0,1851.0],[1369.0,1024.0],[785.0,1047.0],[1591.0,1013.0]],[[1197.0,1055.0],[602.0,1089.0],[1481.0,1128.0],[896.0,775.0]],[[89.0,431.0],[895.0,1129.0],[691.0,1319.0],[899.0,666.0]],[[134.0,897.0],[1588.0,1072.0],[1054.0,869.0],[1070.0,1538.0]],[[171.0,135.0],[630.0,2035.0],[1788.0,1234.0],[1501.0,1661.0]],[[1458.0,810.0],[1173.0,1147.0],[1082.0,1979.0],[625.0,1460.0]],[[579.0,1596.0],[250.0,295.0],[1065.0,308.0],[2021.0,852.0]],[[1858.0,1259.0],[164.0,1101.0],[1380.0,17.0],[2029.0,1767.0]],[[1766.0,1735.0],[1501.0,1990.0],[792.0,1771.0],[1603.0,1184.0]],[[393.0,331.0],[659.0,1381.0],[1496.0,1758.0],[1564.0,504.0]],[[1541.0,212.0],[1776.0,823.0],[461.0,938.0],[1956.0,1571.0]],[[708.0,545.0],[901.0,392.0],[1420.0,1323.0],[1800.0,682.0]],[[1549.0,1983.0],[754.0,153.0],[812.0,1023.0],[537.0,489.0]],[[1121.0,53.0],[20.0,1523.0],[1169.0,879.0],[222.0,1277.0]],[[606.0,521.0],[275.0,640.0],[1712.0,1099.0],[535.0,298.0]],[[791.0,658.0],[1707.0,887.0],[1608.0,2007.0],[709.0,263.0]],[[2041.0,994.0],[835.0,298.0],[621.0,1001.0],[775.0,603.0]],[[1063.0,267.0],[1524.0,323.0],[1456.0,1141.0],[734.0,1923.0]],[[1775.0,904.0],[516.0,481.0],[1783.0,1755.0],[1506.0,917.0]],[[1817.0,1604.0],[1362.0,751.0],[214.0,199.0],[1504.0,1897.0]],[[661.0,1911.0],[1528.0,1442.0],[639.0,1873.0],[823.0,1954.0]],[[1155.0,852.0],[520.0,902.0],[1157.0,433.0],[360.0,929.0]],[[1738.0,877.0],[1231.0,2016.0],[252.0,1538.0],[835.0,218.0]],[[1265.0,1226.0],[863.0,1755.0],[51.0,1870.0],[1333.0,1719.0]],[[999.0,431.0],[690.0,208.0],[1565.0,667.0],[70.0,2031.0]],[[1987.0,1510.0],[1747.0,117.0],[1785.0,1594.0],[972.0,33.0]],[[176.0,818.0],[1292.0,146.0],[552.0,1796.0],[731.0,1851.0]],[[599.0,588.0],[1030.0,1564.0],[380.0,505.0],[290.0,1570.0]],[[1982.0,1501.0],[862.0,154.0],[1676.0,903.0],[1970.0,809.0]],[[691.0,969.0],[807.0,1386.0],[1223.0,1955.0],[963.0,872.0]],[[1153.0,504.0],[41.0,150.0],[1291.0,364.0],[731.0,1868.0]],[[329.0,1678.0],[574.0,177.0],[574.0,1309.0],[1469.0,1851.0]],[[780.0,1639.0],[1898.0,351.0],[1615.0,1498.0],[40.0,1167.0]],[[866.0,1458.0],[1533.0,30.0],[388.0,1824.0],[1660.0,1256.0]],[[709.0,1225.0],[898.0,1351.0],[1361.0,867.0],[167.0,208.0]],[[76.0,745.0],[1894.0,1328.0],[150.0,1089.0],[1112.0,269.0]],[[1023.0,48.0],[532.0,1692.0],[1423.0,1105.0],[2041.0,159.0]],[[1580.0,453.0],[1250.0,1717.0],[1016.0,939.0],[1785.0,1081.0]],[[42.0,23.0],[620.0,1945.0],[610.0,1433.0],[317.0,1013.0]],[[632.0,543.0],[1642.0,568.0],[1352.0,795.0],[530.0,560.0]],[[477.0,521.0],[136.0,1139.0],[1118.0,1443.0],[30.0,595.0]],[[35.0,261.0],[1868.0,1772.0],[1628.0,1267.0],[547.0,1604.0]],[[1745.0,1474.0],[1834.0,1432.0],[1197.0,1946.0],[760.0,1101.0]],[[32.0,1275.0],[941.0,217.0],[2045.0,244.0],[30.0,324.0]],[[1897.0,10.0],[1005.0,542.0],[1605.0,1591.0],[911.0,1133.0]],[[750.0,893.0],[661.0,371.0],[1353.0,1420.0],[352.0,499.0]],[[945.0,838.0],[1345.0,1834.0],[339.0,1766.0],[1459.0,676.0]],[[741.0,416.0],[1451.0,756.0],[2020.0,324.0],[1868.0,1766.0]],[[895.0,259.0],[277.0,1030.0],[1344.0,1605.0],[1508.0,1336.0]],[[1762.0,289.0],[779.0,1686.0],[1423.0,2036.0],[1419.0,488.0]],[[1832.0,1348.0],[35.0,922.0],[1245.0,1682.0],[573.0,784.0]],[[1139.0,189.0],[664.0,1269.0],[233.0,455.0],[1088.0,457.0]],[[736.0,1852.0],[1015.0,1919.0],[1765.0,223.0],[577.0,2018.0]],[[1473.0,1195.0],[1537.0,364.0],[1790.0,531.0],[955.0,1753.0]],[[1993.0,256.0],[1481.0,758.0],[253.0,835.0],[776.0,76.0]],[[1421.0,973.0],[978.0,1682.0],[1699.0,676.0],[961.0,3.0]],[[899.0,232.0],[636.0,369.0],[101.0,582.0],[1091.0,940.0]],[[1477.0,1362.0],[564.0,384.0],[1047.0,1690.0],[1456.0,173.0]],[[254.0,1877.0],[154.0,1288.0],[1275.0,1229.0],[1596.0,1256.0]],[[1576.0,1976.0],[1206.0,491.0],[46.0,433.0],[1736.0,301.0]],[[854.0,504.0],[38.0,1006.0],[1921.0,290.0],[871.0,1396.0]],[[879.0,1212.0],[1170.0,1905.0],[1905.0,861.0],[1895.0,1542.0]],[[342.0,126.0],[302.0,1232.0],[1840.0,839.0],[1209.0,1697.0]],[[757.0,1616.0],[1536.0,1896.0],[906.0,1010.0],[2022.0,57.0]],[[1198.0,1099.0],[1942.0,2021.0],[1441.0,448.0],[491.0,876.0]],[[1828.0,1589.0],[880.0,1724.0],[252.0,720.0],[1583.0,1741.0]],[[1530.0,580.0],[278.0,654.0],[184.0,868.0],[1905.0,1269.0]],[[1232.0,1947.0],[551.0,86.0],[1848.0,1776.0],[1413.0,1784.0]],[[1488.0,892.0],[1106.0,832.0],[1888.0,1940.0],[1111.0,1701.0]],[[1165.0,1134.0],[1817.0,269.0],[455.0,1332.0],[1833.0,1176.0]],[[929.0,1311.0],[1016.0,635.0],[643.0,1041.0],[1016.0,1686.0]],[[123.0,1758.0],[1630.0,923.0],[557.0,294.0],[347.0,676.0]],[[1919.0,1554.0],[900.0,1196.0],[1602.0,1099.0],[32.0,1162.0]],[[613.0,492.0],[1765.0,1153.0],[1232.0,1714.0],[250.0,609.0]],[[398.0,678.0],[1996.0,1773.0],[454.0,235.0],[1469.0,1303.0]],[[1258.0,147.0],[1254.0,1848.0],[128.0,1409.0],[1165.0,870.0]],[[1079.0,1121.0],[691.0,1175.0],[1385.0,367.0],[145.0,527.0]],[[538.0,1571.0],[1323.0,1388.0],[1929.0,685.0],[1199.0,111.0]],[[1086.0,72.0],[94.0,1721.0],[1900.0,99.0],[1593.0,435.0]],[[509.0,67.0],[1571.0,366.0],[2045.0,879.0],[1449.0,133.0]],[[1678.0,1933.0],[1307.0,775.0],[34.0,520.0],[1932.0,1928.0]],[[1026.0,1770.0],[412.0,1704.0],[1853.0,1208.0],[381.0,213.0]],[[1735.0,630.0],[1437.0,811.0],[339.0,1869.0],[1481.0,453.0]],[[1356.0,412.0],[833.0,1301.0],[649.0,657.0],[1353.0,334.0]],[[854.0,1201.0],[269.0,2009.0],[1889.0,2048.0],[1820.0,1581.0]],[[1491.0,1945.0],[714.0,583.0],[1.0,717.0],[1263.0,725.0]],[[614.0,849.0],[550.0,998.0],[1873.0,565.0],[347.0,1984.0]],[[1595.0,1615.0],[1737.0,1786.0],[1927.0,1147.0],[1955.0,513.0]],[[810.0,1548.0],[144.0,1123.0],[575.0,1802.0],[891.0,635.0]],[[1598.0,1811.0],[253.0,1423.0],[925.0,639.0],[1170.0,2005.0]],[[1354.0,627.0],[264.0,1611.0],[299.0,303.0],[0.0,123.0]],[[307.0,357.0],[536.0,1030.0],[251.0,853.0],[1764.0,1383.0]],[[1140.0,1455.0],[820.0,649.0],[1678.0,328.0],[1451.0,472.0]],[[1731.0,1846.0],[1366.0,416.0],[42.0,229.0],[607.0,1670.0]],[[864.0,826.0],[279.0,656.0],[1865.0,97.0],[1339.0,1206.0]],[[1271.0,628.0],[1852.0,214.0],[179.0,1180.0],[652.0,99.0]],[[1293.0,97.0],[605.0,1032.0],[436.0,956.0],[1050.0,2026.0]],[[2044.0,785.0],[316.0,536.0],[1169.0,123.0],[966.0,645.0]],[[716.0,997.0],[1884.0,440.0],[14.0,801.0],[1497.0,698.0]],[[1106.0,388.0],[330.0,1230.0],[950.0,1543.0],[1219.0,555.0]],[[1234.0,570.0],[1219.0,493.0],[1226.0,411.0],[854.0,1802.0]],[[1636.0,400.0],[124.0,1619.0],[1952.0,31.0],[1203.0,1922.0]],[[1920.0,1511.0],[737.0,857.0],[1954.0,817.0],[927.0,564.0]],[[1772.0,813.0],[1493.0,2012.0],[933.0,199.0],[1006.0,470.0]],[[1487.0,273.0],[174.0,870.0],[1769.0,1356.0],[1667.0,1840.0]],[[1809.0,1885.0],[1839.0,1520.0],[160.0,833.0],[1063.0,533.0]],[[443.0,1700.0],[819.0,1341.0],[422.0,21.0],[914.0,812.0]],[[1573.0,798.0],[1241.0,1265.0],[1533.0,953.0],[115.0,1022.0]],[[1136.0,1249.0],[742.0,468.0],[60.0,1425.0],[632.0,1595.0]],[[2011.0,1864.0],[460.0,925.0],[1438.0,252.0],[336.0,988.0]],[[703.0,808.0],[1751.0,575.0],[1550.0,1642.0],[1442.0,336.0]],[[152.0,1865.0],[1448.0,1179.0],[1524.0,1347.0],[1532.0,45.0]],[[468.0,1584.0],[1235.0,1119.0],[239.0,1965.0],[1132.0,213.0]],[[2013.0,1301.0],[1754.0,1866.0],[901.0,698.0],[168.0,1642.0]],[[1050.0,785.0],[1289.0,824.0],[457.0,685.0],[1722.0,1727.0]],[[1035.0,528.0],[380.0,1056.0],[981.0,1144.0],[753.0,1856.0]],[[1743.0,69.0],[592.0,1250.0],[567.0,581.0],[1685.0,150.0]],[[1913.0,2029.0],[183.0,1584.0],[434.0,1204.0],[1693.0,1897.0]],[[440.0,1750.0],[1681.0,109.0],[1075.0,253.0],[1193.0,1062.0]],[[1332.0,117.0],[573.0,225.0],[894.0,1294.0],[397.0,671.0]],[[1236.0,1691.0],[587.0,324.0],[2030.0,258.0],[1744.0,1497.0]],[[612.0,1886.0],[1663.0,1342.0],[1155.0,2042.0],[318.0,553.0]],[[73.0,360.0],[840.0,1489.0],[1965.0,607.0],[715.0,543.0]],[[1739.0,186.0],[305.0,1458.0],[1277.0,1028.0],[1476.0,1515.0]],[[1270.0,1665.0],[1632.0,1949.0],[1795.0,1508.0],[1335.0,1690.0]],[[620.0,543.0],[1957.0,1025.0],[1035.0,1749.0],[1931.0,198.0]],[[1204.0,2020.0],[1411.0,2027.0],[538.0,1830.0],[593.0,1942.0]],[[619.0,953.0],[1364.0,287.0],[1495.0,696.0],[1720.0,1678.0]],[[1246.0,1105.0],[904.0,41.0],[1965.0,1464.0],[331.0,1076.0]],[[1990.0,1609.0],[1881.0,186.0],[1749.0,1036.0],[1996.0,612.0]],[[1318.0,607.0],[843.0,1561.0],[498.0,454.0],[1316.0,588.0]],[[1921.0,1839.0],[632.0,2023.0],[638.0,249.0],[775.0,1632.0]],[[1369.0,1059.0],[1999.0,1185.0],[151.0,1785.0],[329.0,878.0]],[[109.0,1310.0],[1657.0,1194.0],[1008.0,1229.0],[1768.0,1433.0]],[[1809.0,1328.0],[1137.0,493.0],[1522.0,139.0],[1182.0,832.0]],[[445.0,1058.0],[69.0,1056.0],[1368.0,452.0],[1632.0,1887.0]],[[1207.0,1145.0],[1526.0,591.0],[2016.0,236.0],[427.0,1551.0]],[[1820.0,1282.0],[28.0,1911.0],[963.0,558.0],[1284.0,614.0]],[[835.0,1987.0],[703.0,1152.0],[1411.0,898.0],[849.0,250.0]],[[1861.0,1129.0],[1898.0,1888.0],[1924.0,1495.0],[1749.0,1732.0]],[[279.0,921.0],[1411.0,227.0],[1331.0,425.0],[1571.0,2047.0]],[[1355.0,583.0],[831.0,280.0],[1098.0,2035.0],[1992.0,1919.0]],[[1305.0,1906.0],[328.0,2017.0],[1147.0,464.0],[539.0,1706.0]],[[381.0,592.0],[1565.0,394.0],[1735.0,893.0],[600.0,15.0]],[[460.0,415.0],[335.0,1353.0],[509.0,1533.0],[1707.0,1616.0]],[[305.0,1695.0],[1847.0,1229.0],[1785.0,1804.0],[1629.0,546.0]],[[1872.0,1958.0],[1585.0,434.0],[1360.0,1136.0],[578.0,1084.0]],[[178.0,387.0],[681.0,145.0],[18.0,1339.0],[1384.0,168.0]],[[662.0,1727.0],[1798.0,70.0],[1766.0,1645.0],[500.0,1618.0]],[[232.0,112.0],[558.0,983.0],[1990.0,1599.0],[1285.0,525.0]],[[1181.0,570.0],[573.0,578.0],[597.0,970.0],[812.0,125.0]],[[870.0,2005.0],[1875.0,1490.0],[1923.0,1753.0],[2.0,1720.0]],[[977.0,1552.0],[1092.0,109.0],[1326.0,445.0],[1005.0,1755.0]],[[1052.0,529.0],[1916.0,1504.0],[1031.0,496.0],[373.0,1433.0]],[[1658.0,1810.0],[1493.0,1727.0],[1798.0,2046.0],[1542.0,115.0]],[[196.0,1998.0],[1321.0,946.0],[422.0,80.0],[1433.0,315.0]],[[735.0,1946.0],[502.0,946.0],[592.0,1882.0],[309.0,686.0]],[[1143.0,1939.0],[1494.0,765.0],[954.0,178.0],[1197.0,1816.0]],[[1856.0,1154.0],[1006.0,45.0],[1245.0,1925.0],[609.0,812.0]],[[806.0,743.0],[1254.0,295.0],[1051.0,690.0],[1604.0,1238.0]],[[740.0,1861.0],[1630.0,383.0],[1463.0,1461.0],[944.0,11.0]],[[673.0,1862.0],[515.0,1156.0],[1583.0,608.0],[1379.0,1404.0]],[[1026.0,13.0],[587.0,770.0],[1053.0,872.0],[25.0,237.0]],[[148.0,1881.0],[1165.0,911.0],[449.0,319.0],[612.0,831.0]],[[729.0,127.0],[1784.0,642.0],[703.0,1802.0],[1313.0,212.0]],[[1829.0,1464.0],[1175.0,522.0],[215.0,996.0],[465.0,1852.0]],[[2013.0,941.0],[1296.0,457.0],[1253.0,618.0],[1091.0,1719.0]],[[1085.0,470.0],[74.0,17.0],[1518.0,753.0],[232.0,1340.0]],[[651.0,173.0],[141.0,120.0],[1070.0,1014.0],[125.0,1193.0]],[[1975.0,2045.0],[1383.0,366.0],[817.0,717.0],[1438.0,365.0]],[[1515.0,591.0],[1474.0,794.0],[1891.0,1551.0],[1835.0,1420.0]],[[320.0,1010.0],[955.0,389.0],[966.0,361.0],[1278.0,1514.0]],[[332.0,499.0],[1476.0,1021.0],[1161.0,1268.0],[510.0,685.0]],[[1665.0,867.0],[1900.0,559.0],[806.0,325.0],[1777.0,297.0]],[[1561.0,630.0],[999.0,1234.0],[1049.0,1961.0],[1582.0,480.0]],[[444.0,1472.0],[1860.0,1974.0],[1616.0,869.0],[1365.0,615.0]],[[1099.0,1331.0],[802.0,184.0],[1648.0,1088.0],[1318.0,440.0]],[[543.0,835.0],[1529.0,1926.0],[1329.0,176.0],[225.0,1877.0]],[[549.0,1860.0],[2043.0,873.0],[1139.0,1054.0],[639.0,1163.0]],[[486.0,1301.0],[915.0,1399.0],[1280.0,804.0],[497.0,1702.0]],[[864.0,1722.0],[544.0,363.0],[1591.0,119.0],[1580.0,570.0]],[[1613.0,1416.0],[1624.0,599.0],[381.0,945.0],[817.0,1992.0]],[[1937.0,1551.0],[1301.0,1034.0],[36.0,1067.0],[99.0,1561.0]],[[1610.0,592.0],[698.0,1063.0],[406.0,1666.0],[467.0,1956.0]],[[1654.0,219.0],[1998.0,334.0],[325.0,911.0],[1381.0,1580.0]],[[1406.0,1456.0],[1027.0,989.0],[1678.0,562.0],[906.0,1642.0]],[[190.0,1008.0],[769.0,604.0],[1388.0,767.0],[445.0,853.0]],[[1722.0,215.0],[1361.0,1480.0],[1430.0,1788.0],[933.0,1435.0]],[[1559.0,292.0],[921.0,1916.0],[525.0,1461.0],[1510.0,378.0]],[[1896.0,1712.0],[1546.0,1076.0],[300.0,1875.0],[1912.0,610.0]],[[1079.0,58.0],[1484.0,1735.0],[968.0,1438.0],[1907.0,1357.0]],[[1805.0,47.0],[592.0,984.0],[405.0,922.0],[1116.0,1495.0]],[[917.0,755.0],[1821.0,1465.0],[1506.0,159.0],[747.0,1592.0]],[[1447.0,1423.0],[1674.0,1237.0],[1066.0,1877.0],[336.0,218.0]],[[424.0,1103.0],[1268.0,870.0],[1749.0,819.0],[1006.0,1142.0]],[[376.0,1708.0],[1606.0,1178.0],[1197.0,1989.0],[378.0,1691.0]],[[919.0,818.0],[1972.0,497.0],[1470.0,341.0],[128.0,334.0]],[[1323.0,1000.0],[1812.0,371.0],[789.0,135.0],[1807.0,543.0]],[[350.0,1928.0],[264.0,204.0],[590.0,2024.0],[513.0,2024.0]],[[1786.0,1963.0],[1205.0,46.0],[1024.0,487.0],[373.0,1496.0]],[[137.0,955.0],[620.0,89.0],[1560.0,171.0],[542.0,1365.0]],[[1569.0,297.0],[1844.0,1261.0],[1342.0,847.0],[1748.0,1982.0]],[[262.0,1559.0],[1032.0,18.0],[431.0,1237.0],[901.0,1548.0]],[[53.0,1603.0],[309.0,368.0],[997.0,256.0],[1716.0,1830.0]],[[1274.0,133.0],[588.0,2023.0],[1987.0,1505.0],[614.0,477.0]],[[845.0,1096.0],[57.0,2035.0],[1854.0,589.0],[604.0,1295.0]],[[1639.0,1808.0],[1116.0,1878.0],[1516.0,1625.0],[343.0,89.0]],[[883.0,912.0],[1009.0,1423.0],[1774.0,393.0],[339.0,119.0]],[[956.0,1357.0],[983.0,822.0],[670.0,344.0],[661.0,251.0]],[[1230.0,1026.0],[1367.0,1425.0],[1735.0,1522.0],[843.0,6.0]],[[2044.0,536.0],[731.0,1561.0],[8.0,746.0],[68.0,1085.0]],[[1498.0,894.0],[1666.0,775.0],[997.0,1712.0],[831.0,1701.0]],[[1554.0,176.0],[700.0,5.0],[851.0,410.0],[235.0,1192.0]],[[603.0,1609.0],[1475.0,753.0],[690.0,669.0],[602.0,2047.0]],[[362.0,1832.0],[748.0,1179.0],[1094.0,1432.0],[1812.0,992.0]],[[178.0,937.0],[891.0,1101.0],[980.0,1762.0],[1146.0,963.0]],[[1473.0,2007.0],[1683.0,827.0],[1878.0,1292.0],[190.0,952.0]],[[911.0,635.0],[1734.0,504.0],[300.0,1706.0],[1744.0,1560.0]],[[1876.0,387.0],[829.0,241.0],[1600.0,854.0],[864.0,1770.0]],[[1931.0,1532.0],[430.0,1541.0],[1204.0,1505.0],[1281.0,720.0]],[[1727.0,1009.0],[779.0,307.0],[929.0,350.0],[1042.0,1720.0]],[[913.0,2016.0],[1048.0,137.0],[1613.0,1411.0],[1644.0,1901.0]],[[1707.0,836.0],[223.0,1169.0],[951.0,618.0],[585.0,1379.0]],[[1215.0,1848.0],[1743.0,1234.0],[1532.0,1282.0],[1062.0,931.0]],[[1857.0,1615.0],[1350.0,156.0],[862.0,390.0],[558.0,1012.0]],[[1440.0,589.0],[1830.0,1634.0],[1026.0,51.0],[1706.0,1293.0]],[[586.0,1304.0],[283.0,847.0],[1582.0,861.0],[1638.0,369.0]],[[1917.0,865.0],[461.0,567.0],[1556.0,457.0],[1581.0,1003.0]],[[1912.0,1978.0],[335.0,662.0],[23.0,1445.0],[230.0,1882.0]],[[559.0,2047.0],[1571.0,826.0],[773.0,251.0],[1393.0,805.0]],[[1960.0,1148.0],[731.0,2037.0],[1709.0,196.0],[635.0,787.0]],[[41.0,1259.0],[1715.0,292.0],[755.0,98.0],[1542.0,1185.0]],[[607.0,1168.0],[564.0,699.0],[1222.0,957.0],[1263.0,1837.0]],[[866.0,796.0],[213.0,843.0],[1541.0,1342.0],[1459.0,1569.0]],[[180.0,1619.0],[361.0,644.0],[2021.0,630.0],[1443.0,1266.0]],[[740.0,164.0],[1974.0,1888.0],[1459.0,1412.0],[1422.0,891.0]],[[547.0,988.0],[1697.0,258.0],[982.0,1053.0],[1226.0,1899.0]],[[1369.0,1813.0],[66.0,2014.0],[1998.0,543.0],[108.0,1741.0]],[[1586.0,766.0],[1170.0,1547.0],[780.0,1635.0],[105.0,996.0]],[[1983.0,1392.0],[1484.0,1823.0],[1267.0,322.0],[237.0,1291.0]],[[644.0,557.0],[216.0,1481.0],[1935.0,990.0],[174.0,142.0]],[[59.0,1955.0],[1878.0,1912.0],[1758.0,994.0],[1662.0,720.0]],[[424.0,994.0],[1166.0,1246.0],[942.0,102.0],[432.0,841.0]],[[1759.0,1169.0],[2030.0,1148.0],[1255.0,449.0],[1910.0,568.0]],[[1151.0,1281.0],[1275.0,1391.0],[145.0,1216.0],[805.0,1045.0]],[[1902.0,912.0],[13.0,1282.0],[1870.0,454.0],[264.0,1746.0]],[[1446.0,1033.0],[172.0,573.0],[1250.0,1534.0],[1406.0,1635.0]],[[733.0,214.0],[1917.0,1336.0],[669.0,939.0],[1966.0,667.0]],[[1747.0,1630.0],[448.0,1279.0],[374.0,1880.0],[665.0,1782.0]],[[2009.0,574.0],[258.0,127.0],[1963.0,542.0],[978.0,182.0]],[[1235.0,1695.0],[1897.0,1053.0],[1428.0,1364.0],[1496.0,138.0]],[[737.0,1749.0],[911.0,2034.0],[1521.0,1036.0],[995.0,270.0]],[[1063.0,1198.0],[138.0,1202.0],[1958.0,1973.0],[670.0,378.0]],[[815.0,205.0],[1390.0,1171.0],[270.0,925.0],[694.0,595.0]],[[1774.0,1285.0],[818.0,1904.0],[758.0,3.0],[828.0,207.0]],[[71.0,313.0],[1584.0,1480.0],[1790.0,768.0],[660.0,20.0]],[[1744.0,129.0],[1007.0,254.0],[1609.0,461.0],[1513.0,1533.0]],[[547.0,1559.0],[384.0,1303.0],[2006.0,15.0],[1915.0,962.0]],[[1653.0,327.0],[1773.0,1540.0],[78.0,1409.0],[1201.0,949.0]],[[1631.0,2033.0],[1655.0,1512.0],[204.0,252.0],[1669.0,1754.0]],[[643.0,594.0],[1354.0,780.0],[577.0,2014.0],[1692.0,1284.0]],[[24.0,1497.0],[1526.0,1484.0],[328.0,1571.0],[539.0,148.0]],[[579.0,202.0],[1264.0,1083.0],[1363.0,166.0],[324.0,522.0]],[[562.0,982.0],[1300.0,863.0],[644.0,1818.0],[815.0,1673.0]],[[1525.0,539.0],[1274.0,751.0],[1884.0,101.0],[730.0,499.0]],[[129.0,577.0],[1696.0,1195.0],[870.0,233.0],[290.0,1737.0]],[[1099.0,1925.0],[1806.0,1906.0],[333.0,1405.0],[435.0,1228.0]],[[938.0,182.0],[973.0,475.0],[842.0,733.0],[1609.0,1659.0]],[[527.0,946.0],[846.0,1998.0],[628.0,477.0],[1569.0,1822.0]],[[1470.0,85.0],[1971.0,1998.0],[240.0,1020.0],[1162.0,710.0]],[[1920.0,279.0],[1302.0,354.0],[1069.0,1236.0],[531.0,243.0]],[[1291.0,324.0],[603.0,2048.0],[533.0,707.0],[100.0,2.0]],[[251.0,283.0],[1478.0,1954.0],[196.0,317.0],[1882.0,1861.0]],[[72.0,1128.0],[1457.0,1837.0],[329.0,1421.0],[263.0,716.0]],[[725.0,17.0],[1616.0,793.0],[917.0,633.0],[1992.0,502.0]],[[1424.0,2010.0],[421.0,724.0],[2048.0,1265.0],[398.0,1228.0]],[[361.0,477.0],[1319.0,1807.0],[1181.0,1801.0],[1182.0,1798.0]],[[1890.0,612.0],[1244.0,1104.0],[317.0,1171.0],[138.0,1623.0]],[[532.0,2005.0],[1324.0,1074.0],[497.0,1185.0],[1784.0,908.0]],[[999.0,1599.0],[298.0,1647.0],[517.0,1039.0],[172.0,1038.0]],[[963.0,1388.0],[330.0,1058.0],[1562.0,427.0],[538.0,990.0]],[[1991.0,1327.0],[1893.0,1666.0],[332.0,1918.0],[147.0,1779.0]],[[813.0,1614.0],[1066.0,524.0],[545.0,1546.0],[226.0,73.0]],[[219.0,1805.0],[15.0,1417.0],[1824.0,1337.0],[760.0,856.0]],[[1805.0,877.0],[819.0,1594.0],[1359.0,1813.0],[1142.0,1123.0]],[[661.0,1229.0],[357.0,288.0],[1964.0,998.0],[391.0,2046.0]],[[491.0,1842.0],[683.0,462.0],[1330.0,1545.0],[918.0,392.0]],[[1846.0,936.0],[458.0,357.0],[1950.0,1031.0],[1238.0,81.0]],[[1366.0,1574.0],[999.0,1766.0],[625.0,1838.0],[278.0,1948.0]],[[1050.0,1677.0],[278.0,500.0],[1573.0,485.0],[1095.0,1549.0]],[[131.0,376.0],[1409.0,305.0],[1605.0,1924.0],[1963.0,643.0]],[[1638.0,173.0],[1070.0,1631.0],[1605.0,1578.0],[1853.0,63.0]],[[994.0,535.0],[300.0,2043.0],[1655.0,858.0],[439.0,1891.0]],[[804.0,1655.0],[1663.0,1780.0],[105.0,1149.0],[89.0,178.0]],[[1992.0,1713.0],[535.0,721.0],[774.0,1541.0],[1162.0,324.0]],[[173.0,1692.0],[598.0,1912.0],[651.0,1216.0],[162.0,1231.0]],[[1198.0,128.0],[1341.0,1203.0],[130.0,1997.0],[355.0,669.0]],[[1569.0,2019.0],[1080.0,1839.0],[92.0,1720.0],[143.0,1208.0]],[[201.0,1421.0],[817.0,1402.0],[740.0,1002.0],[566.0,372.0]],[[166.0,386.0],[632.0,1258.0],[1294.0,2019.0],[1941.0,87.0]],[[1577.0,1553.0],[960.0,582.0],[428.0,1708.0],[1580.0,916.0]],[[34.0,1295.0],[1679.0,1591.0],[894.0,543.0],[1790.0,723.0]],[[448.0,461.0],[1220.0,719.0],[1440.0,1935.0],[2038.0,657.0]],[[1094.0,982.0],[1081.0,288.0],[1332.0,1002.0],[899.0,1076.0]],[[661.0,536.0],[232.0,1895.0],[1460.0,528.0],[1017.0,1247.0]],[[169.0,1738.0],[1829.0,2018.0],[217.0,710.0],[1549.0,2041.0]],[[1280.0,1256.0],[1139.0,648.0],[1465.0,1509.0],[379.0,1758.0]],[[992.0,1488.0],[386.0,1443.0],[994.0,270.0],[1501.0,1272.0]],[[176.0,1450.0],[51.0,1577.0],[393.0,9.0],[9.0,733.0]],[[1892.0,446.0],[886.0,1528.0],[272.0,565.0],[1641.0,754.0]],[[1793.0,388.0],[1115.0,1962.0],[746.0,1533.0],[618.0,495.0]],[[546.0,318.0],[1622.0,660.0],[747.0,919.0],[1176.0,438.0]],[[201.0,891.0],[25.0,881.0],[51.0,1811.0],[785.0,1540.0]],[[1216.0,611.0],[1389.0,1523.0],[1551.0,443.0],[795.0,1389.0]],[[33.0,1730.0],[1828.0,791.0],[677.0,90.0],[1078.0,1918.0]],[[953.0,337.0],[266.0,880.0],[574.0,1018.0],[981.0,1478.0]],[[76.0,810.0],[1842.0,131.0],[404.0,713.0],[1683.0,526.0]],[[1989.0,940.0],[982.0,230.0],[1521.0,692.0],[668.0,1767.0]],[[1007.0,1101.0],[1418.0,831.0],[1209.0,969.0],[419.0,168.0]],[[1350.0,1252.0],[731.0,515.0],[1692.0,1301.0],[1164.0,95.0]],[[1014.0,117.0],[1302.0,1954.0],[207.0,838.0],[1635.0,405.0]],[[1802.0,1658.0],[2023.0,829.0],[1833.0,438.0],[788.0,718.0]],[[1055.0,1075.0],[30.0,275.0],[1582.0,75.0],[783.0,1363.0]],[[1122.0,840.0],[1957.0,606.0],[1852.0,169.0],[1557.0,1617.0]],[[1646.0,226.0],[247.0,1184.0],[1448.0,959.0],[804.0,1882.0]],[[1925.0,1922.0],[154.0,782.0],[482.0,1316.0],[1226.0,1753.0]],[[1019.0,643.0],[1135.0,1091.0],[1534.0,438.0],[1472.0,1740.0]],[[1736.0,1848.0],[1962.0,915.0],[402.0,724.0],[1848.0,1913.0]],[[233.0,419.0],[345.0,1642.0],[1633.0,1089.0],[783.0,2015.0]],[[1464.0,1539.0],[462.0,50.0],[972.0,2001.0],[1578.0,1077.0]],[[1092.0,349.0],[664.0,1613.0],[401.0,210.0],[868.0,1412.0]],[[737.0,712.0],[1190.0,472.0],[959.0,60.0],[1713.0,1180.0]],[[642.0,597.0],[546.0,1342.0],[779.0,503.0],[1369.0,2021.0]],[[827.0,1279.0],[160.0,781.0],[722.0,1352.0],[780.0,787.0]],[[1735.0,453.0],[1336.0,1103.0],[731.0,10.0],[1242.0,1567.0]],[[1580.0,1655.0],[260.0,1298.0],[1376.0,552.0],[1061.0,1096.0]],[[1807.0,654.0],[1888.0,784.0],[1571.0,1922.0],[382.0,1811.0]],[[498.0,765.0],[1052.0,1267.0],[1680.0,1205.0],[1223.0,816.0]],[[1462.0,533.0],[880.0,426.0],[1765.0,887.0],[1073.0,969.0]],[[540.0,278.0],[1381.0,213.0],[1826.0,1026.0],[239.0,235.0]],[[1006.0,150.0],[1450.0,380.0],[692.0,739.0],[784.0,768.0]],[[177.0,47.0],[1673.0,2023.0],[245.0,982.0],[984.0,442.0]],[[1331.0,1746.0],[723.0,131.0],[1582.0,1248.0],[1449.0,126.0]],[[1882.0,1398.0],[1581.0,1793.0],[2043.0,1939.0],[1455.0,670.0]],[[1790.0,249.0],[1346.0,1061.0],[196.0,127.0],[1573.0,630.0]],[[1945.0,804.0],[1597.0,1914.0],[731.0,927.0],[244.0,673.0]],[[1684.0,1856.0],[4.0,811.0],[190.0,1624.0],[301.0,1647.0]],[[23.0,579.0],[921.0,1636.0],[1389.0,852.0],[419.0,1593.0]],[[1297.0,134.0],[313.0,827.0],[1434.0,1441.0],[174.0,1750.0]],[[1252.0,1783.0],[1201.0,658.0],[691.0,549.0],[51.0,2.0]],[[1784.0,881.0],[909.0,1798.0],[393.0,30.0],[1787.0,652.0]],[[1179.0,1892.0],[761.0,1600.0],[786.0,1188.0],[1297.0,470.0]],[[484.0,485.0],[1981.0,210.0],[1573.0,1456.0],[226.0,432.0]],[[1900.0,1094.0],[238.0,1342.0],[1792.0,512.0],[1272.0,1876.0]],[[195.0,519.0],[1180.0,464.0],[500.0,333.0],[1754.0,1763.0]],[[351.0,1732.0],[1457.0,689.0],[2017.0,2045.0],[1698.0,1202.0]],[[1892.0,1913.0],[991.0,855.0],[788.0,540.0],[254.0,1134.0]],[[56.0,1809.0],[1837.0,718.0],[853.0,1184.0],[1239.0,595.0]],[[348.0,755.0],[369.0,682.0],[698.0,1668.0],[689.0,873.0]],[[1727.0,1035.0],[1389.0,628.0],[950.0,1698.0],[1344.0,46.0]],[[945.0,699.0],[1197.0,232.0],[458.0,924.0],[124.0,1746.0]],[[18.0,138.0],[713.0,77.0],[1800.0,1734.0],[600.0,1491.0]],[[1642.0,923.0],[2028.0,1144.0],[499.0,1180.0],[96.0,1201.0]],[[253.0,1172.0],[225.0,377.0],[1516.0,1458.0],[469.0,1844.0]],[[1124.0,140.0],[227.0,1118.0],[1387.0,1428.0],[1004.0,1149.0]],[[2007.0,1082.0],[276.0,939.0],[1672.0,1559.0],[1924.0,664.0]],[[1691.0,1877.0],[1779.0,907.0],[1870.0,335.0],[1616.0,1556.0]],[[772.0,822.0],[545.0,153.0],[585.0,1871.0],[1438.0,1443.0]],[[384.0,1038.0],[987.0,1309.0],[1268.0,72.0],[1045.0,1780.0]],[[1863.0,1087.0],[1395.0,340.0],[50.0,1100.0],[1743.0,633.0]],[[946.0,1521.0],[1577.0,20.0],[967.0,717.0],[909.0,490.0]],[[786.0,385.0],[790.0,945.0],[173.0,1695.0],[1400.0,590.0]],[[51.0,1909.0],[886.0,248.0],[140.0,409.0],[147.0,768.0]],[[1447.0,257.0],[1542.0,888.0],[1304.0,1602.0],[1192.0,702.0]],[[1196.0,1264.0],[1143.0,1484.0],[935.0,901.0],[489.0,1547.0]],[[582.0,1474.0],[1163.0,1440.0],[1459.0,215.0],[232.0,370.0]],[[1778.0,1388.0],[1460.0,986.0],[1249.0,1169.0],[1582.0,1321.0]],[[683.0,609.0],[410.0,621.0],[911.0,1239.0],[1780.0,1728.0]],[[1079.0,1498.0],[1265.0,1812.0],[1832.0,231.0],[1863.0,1680.0]],[[1.0,506.0],[1220.0,742.0],[298.0,461.0],[979.0,1486.0]],[[1835.0,1501.0],[1185.0,615.0],[1136.0,419.0],[528.0,2002.0]],[[1357.0,950.0],[1443.0,154.0],[228.0,481.0],[752.0,2035.0]],[[1863.0,382.0],[1663.0,250.0],[614.0,296.0],[1244.0,45.0]],[[1879.0,993.0],[945.0,884.0],[534.0,1662.0],[541.0,610.0]],[[641.0,1449.0],[229.0,1523.0],[120.0,2032.0],[1851.0,377.0]],[[143.0,1835.0],[562.0,1566.0],[1088.0,247.0],[155.0,155.0]],[[754.0,910.0],[1155.0,486.0],[1248.0,756.0],[146.0,438.0]],[[1959.0,608.0],[1041.0,472.0],[344.0,1347.0],[543.0,944.0]],[[931.0,1377.0],[1803.0,1427.0],[46.0,269.0],[1118.0,757.0]],[[59.0,1514.0],[1205.0,697.0],[46.0,2009.0],[686.0,1485.0]],[[1496.0,1758.0],[2046.0,1933.0],[1411.0,1672.0],[400.0,309.0]],[[404.0,937.0],[1330.0,845.0],[154.0,244.0],[1442.0,906.0]],[[1708.0,1543.0],[211.0,209.0],[1771.0,1137.0],[1535.0,299.0]],[[423.0,1345.0],[735.0,1425.0],[1590.0,1912.0],[650.0,717.0]],[[1717.0,1933.0],[774.0,108.0],[652.0,811.0],[751.0,331.0]],[[107.0,366.0],[781.0,1854.0],[1054.0,249.0],[1632.0,1104.0]],[[1727.0,970.0],[1851.0,508.0],[284.0,868.0],[851.0,891.0]],[[125.0,717.0],[1686.0,2002.0],[1800.0,1356.0],[728.0,784.0]],[[1722.0,380.0],[1561.0,1490.0],[1482.0,353.0],[1883.0,30.0]],[[802.0,1142.0],[1461.0,1471.0],[114.0,768.0],[1007.0,1741.0]],[[1329.0,1511.0],[1804.0,1895.0],[452.0,145.0],[857.0,1402.0]],[[316.0,1766.0],[1034.0,997.0],[237.0,1274.0],[385.0,1274.0]],[[604.0,1762.0],[1479.0,340.0],[1254.0,295.0],[1812.0,1958.0]],[[671.0,980.0],[4.0,121.0],[813.0,863.0],[1343.0,375.0]],[[1596.0,1680.0],[1549.0,1401.0],[1551.0,1793.0],[1153.0,1460.0]],[[779.0,573.0],[1220.0,388.0],[1996.0,1434.0],[1624.0,756.0]],[[135.0,347.0],[2016.0,245.0],[1608.0,633.0],[561.0,751.0]],[[282.0,1611.0],[791.0,1606.0],[1454.0,1696.0],[713.0,1666.0]],[[1124.0,956.0],[1535.0,33.0],[1199.0,1178.0],[1096.0,597.0]],[[843.0,1907.0],[159.0,1109.0],[470.0,359.0],[210.0,272.0]],[[2039.0,554.0],[1993.0,1892.0],[1595.0,925.0],[217.0,1700.0]],[[694.0,215.0],[1190.0,1860.0],[183.0,636.0],[781.0,852.0]],[[660.0,875.0],[517.0,77.0],[1539.0,70.0],[1659.0,1506.0]],[[1477.0,1366.0],[619.0,1319.0],[1321.0,1390.0],[240.0,1326.0]],[[1856.0,664.0],[380.0,61.0],[109.0,1996.0],[424.0,771.0]],[[1596.0,1686.0],[449.0,1074.0],[1787.0,179.0],[1880.0,886.0]],[[178.0,11.0],[1201.0,1722.0],[260.0,1371.0],[1414.0,1644.0]],[[252.0,1102.0],[539.0,838.0],[53.0,657.0],[1828.0,217.0]],[[1685.0,447.0],[133.0,689.0],[1887.0,266.0],[47.0,35.0]],[[577.0,924.0],[11.0,128.0],[962.0,1783.0],[441.0,1995.0]],[[1527.0,1367.0],[671.0,871.0],[1000.0,343.0],[891.0,676.0]],[[1233.0,379.0],[322.0,853.0],[529.0,308.0],[1842.0,1056.0]],[[1479.0,1012.0],[577.0,705.0],[979.0,1739.0],[305.0,1523.0]],[[711.0,246.0],[177.0,1143.0],[26.0,1955.0],[1704.0,786.0]],[[460.0,1444.0],[1372.0,1058.0],[674.0,1165.0],[1215.0,1996.0]],[[1327.0,1752.0],[455.0,196.0],[266.0,260.0],[1277.0,1724.0]],[[1582.0,1524.0],[1344.0,367.0],[601.0,1804.0],[1710.0,921.0]],[[1036.0,1697.0],[1377.0,1277.0],[708.0,171.0],[462.0,411.0]],[[1793.0,498.0],[1947.0,1429.0],[1128.0,489.0],[1287.0,1564.0]],[[498.0,673.0],[1836.0,363.0],[2040.0,1402.0],[508.0,1317.0]],[[400.0,404.0],[998.0,2028.0],[993.0,1990.0],[1380.0,181.0]],[[682.0,252.0],[63.0,1755.0],[1358.0,1248.0],[1007.0,1455.0]],[[598.0,289.0],[771.0,142.0],[721.0,1464.0],[1785.0,1079.0]],[[860.0,659.0],[858.0,1660.0],[758.0,716.0],[979.0,1903.0]],[[586.0,1154.0],[1327.0,659.0],[1308.0,1154.0],[986.0,799.0]],[[683.0,1154.0],[131.0,582.0],[533.0,105.0],[1787.0,213.0]],[[1434.0,1838.0],[593.0,1752.0],[884.0,642.0],[1467.0,713.0]],[[280.0,1073.0],[1521.0,1374.0],[198.0,1249.0],[637.0,1968.0]],[[212.0,1906.0],[1708.0,359.0],[74.0,33.0],[177.0,66.0]],[[118.0,881.0],[1512.0,834.0],[1845.0,181.0],[203.0,907.0]],[[1221.0,821.0],[732.0,790.0],[813.0,1521.0],[880.0,554.0]],[[409.0,1286.0],[656.0,1903.0],[2044.0,94.0],[1959.0,277.0]],[[53.0,1860.0],[1309.0,1470.0],[1416.0,1685.0],[586.0,508.0]],[[446.0,1895.0],[1332.0,681.0],[287.0,1577.0],[85.0,1818.0]],[[0.0,552.0],[1214.0,1151.0],[1244.0,244.0],[1949.0,1945.0]],[[251.0,611.0],[3.0,2036.0],[1686.0,151.0],[997.0,477.0]],[[1591.0,114.0],[1260.0,27.0],[92.0,987.0],[1577.0,1140.0]],[[1490.0,22.0],[873.0,1756.0],[874.0,1853.0],[202.0,529.0]],[[1107.0,139.0],[397.0,1623.0],[391.0,197.0],[2026.0,2006.0]],[[612.0,456.0],[2001.0,1026.0],[746.0,246.0],[443.0,1902.0]],[[293.0,750.0],[1381.0,1908.0],[643.0,1997.0],[1533.0,1053.0]],[[1218.0,1982.0],[705.0,1236.0],[119.0,722.0],[996.0,428.0]],[[1593.0,315.0],[496.0,1209.0],[404.0,1039.0],[904.0,710.0]],[[1480.0,438.0],[1841.0,407.0],[1322.0,271.0],[1828.0,1779.0]],[[357.0,458.0],[1916.0,1935.0],[1050.0,1561.0],[1905.0,1937.0]],[[1552.0,1571.0],[399.0,1540.0],[1367.0,42.0],[283.0,711.0]],[[2016.0,1763.0],[122.0,350.0],[1590.0,1352.0],[162.0,110.0]],[[3.0,1847.0],[717.0,1853.0],[1239.0,1664.0],[316.0,837.0]],[[1749.0,1303.0],[2015.0,1759.0],[1603.0,126.0],[418.0,700.0]],[[1659.0,634.0],[1043.0,881.0],[2026.0,563.0],[1407.0,422.0]],[[647.0,2018.0],[79.0,1274.0],[154.0,399.0],[1102.0,2018.0]],[[643.0,1683.0],[1029.0,1441.0],[1206.0,1326.0],[1037.0,760.0]],[[876.0,445.0],[640.0,1032.0],[495.0,828.0],[181.0,562.0]],[[1857.0,471.0],[1012.0,727.0],[1710.0,1727.0],[679.0,163.0]],[[1344.0,51.0],[1313.0,697.0],[604.0,1509.0],[1011.0,172.0]],[[1715.0,640.0],[1337.0,877.0],[997.0,1970.0],[1153.0,1105.0]],[[1975.0,916.0],[663.0,269.0],[1021.0,1862.0],[568.0,1540.0]],[[688.0,84.0],[385.0,233.0],[139.0,225.0],[2040.0,1901.0]],[[99.0,2016.0],[1074.0,1160.0],[1129.0,1561.0],[1960.0,487.0]],[[359.0,1272.0],[1545.0,1783.0],[806.0,963.0],[629.0,282.0]],[[1184.0,845.0],[414.0,1432.0],[1102.0,560.0],[905.0,1466.0]],[[1439.0,652.0],[424.0,429.0],[805.0,1243.0],[964.0,268.0]],[[168.0,1361.0],[1545.0,874.0],[1495.0,314.0],[1880.0,1915.0]],[[1359.0,1198.0],[1361.0,78.0],[352.0,527.0],[677.0,82.0]],[[108.0,1015.0],[836.0,1769.0],[1268.0,758.0],[437.0,1538.0]],[[36.0,807.0],[273.0,894.0],[654.0,1282.0],[834.0,1297.0]],[[938.0,1073.0],[1422.0,1605.0],[1300.0,200.0],[1864.0,819.0]],[[449.0,1889.0],[636.0,1596.0],[1544.0,849.0],[1285.0,1389.0]],[[975.0,2030.0],[1912.0,1633.0],[17.0,1908.0],[1440.0,1971.0]],[[1381.0,224.0],[1813.0,1607.0],[1948.0,1998.0],[1178.0,246.0]],[[1894.0,949.0],[383.0,1239.0],[667.0,1847.0],[864.0,1095.0]],[[666.0,1239.0],[1606.0,27.0],[771.0,1966.0],[56.0,1199.0]],[[1087.0,1063.0],[315.0,1598.0],[190.0,157.0],[803.0,1937.0]],[[885.0,1616.0],[1325.0,1224.0],[1994.0,1049.0],[1079.0,658.0]],[[1622.0,1655.0],[2047.0,924.0],[964.0,1665.0],[1830.0,307.0]],[[1586.0,230.0],[5.0,777.0],[1442.0,807.0],[432.0,154.0]],[[1932.0,782.0],[222.0,731.0],[1293.0,175.0],[1046.0,844.0]],[[782.0,1670.0],[265.0,735.0],[1047.0,184.0],[595.0,56.0]],[[242.0,883.0],[717.0,1342.0],[573.0,706.0],[1654.0,4.0]],[[11.0,1364.0],[109.0,881.0],[326.0,1974.0],[1900.0,303.0]],[[699.0,1105.0],[75.0,1695.0],[1193.0,820.0],[742.0,1309.0]],[[402.0,1192.0],[1242.0,820.0],[456.0,50.0],[1148.0,850.0]],[[886.0,963.0],[813.0,2041.0],[1300.0,1634.0],[1974.0,428.0]],[[1521.0,307.0],[1907.0,1033.0],[1948.0,244.0],[82.0,1361.0]],[[1959.0,43.0],[1009.0,514.0],[201.0,1616.0],[393.0,948.0]],[[216.0,1228.0],[1515.0,420.0],[394.0,1129.0],[1149.0,627.0]],[[964.0,639.0],[1955.0,228.0],[1686.0,1802.0],[123.0,50.0]],[[1356.0,1779.0],[1221.0,1998.0],[211.0,1807.0],[1303.0,1740.0]],[[104.0,690.0],[1150.0,1485.0],[985.0,277.0],[593.0,1308.0]],[[1618.0,1267.0],[1320.0,1503.0],[1998.0,577.0],[858.0,1704.0]],[[881.0,424.0],[332.0,703.0],[60.0,87.0],[339.0,1860.0]],[[300.0,760.0],[1470.0,709.0],[751.0,1706.0],[310.0,1892.0]],[[444.0,10.0],[1973.0,1494.0],[1653.0,589.0],[1490.0,569.0]],[[969.0,1595.0],[1337.0,773.0],[408.0,1264.0],[1803.0,846.0]],[[1859.0,622.0],[1049.0,219.0],[669.0,804.0],[2011.0,807.0]],[[174.0,1636.0],[1411.0,1956.0],[1701.0,906.0],[796.0,329.0]],[[63.0,637.0],[2027.0,883.0],[2035.0,1101.0],[1612.0,506.0]],[[286.0,401.0],[1420.0,690.0],[814.0,1751.0],[1268.0,1676.0]],[[1055.0,1004.0],[1544.0,1670.0],[139.0,163.0],[788.0,1524.0]],[[1661.0,1318.0],[1678.0,1132.0],[1851.0,1604.0],[719.0,527.0]],[[1762.0,1430.0],[1498.0,1528.0],[1781.0,140.0],[1507.0,506.0]],[[1368.0,219.0],[871.0,1467.0],[732.0,1173.0],[2044.0,712.0]],[[1732.0,1509.0],[1520.0,124.0],[682.0,749.0],[1470.0,1925.0]],[[1827.0,786.0],[501.0,1314.0],[67.0,1755.0],[911.0,1798.0]],[[1264.0,1721.0],[1129.0,325.0],[813.0,1854.0],[457.0,156.0]],[[19.0,918.0],[981.0,130.0],[2041.0,1358.0],[838.0,780.0]],[[455.0,116.0],[1226.0,1149.0],[387.0,546.0],[1518.0,1843.0]],[[1735.0,1348.0],[254.0,1244.0],[343.0,1899.0],[911.0,652.0]],[[859.0,1198.0],[1924.0,1174.0],[1148.0,405.0],[1039.0,660.0]],[[727.0,681.0],[1757.0,1236.0],[1626.0,1630.0],[949.0,686.0]],[[1687.0,702.0],[1352.0,999.0],[891.0,609.0],[1178.0,306.0]],[[308.0,980.0],[472.0,1248.0],[43.0,540.0],[1662.0,1620.0]],[[230.0,510.0],[215.0,539.0],[1906.0,1617.0],[1196.0,976.0]],[[651.0,1927.0],[958.0,922.0],[1029.0,1711.0],[1886.0,1152.0]],[[541.0,528.0],[132.0,535.0],[630.0,38.0],[1035.0,712.0]],[[140.0,1420.0],[1969.0,763.0],[949.0,1332.0],[755.0,864.0]],[[706.0,2019.0],[1013.0,513.0],[855.0,191.0],[1370.0,1010.0]],[[1656.0,1872.0],[1085.0,746.0],[479.0,180.0],[356.0,148.0]],[[1172.0,2040.0],[206.0,492.0],[1278.0,1519.0],[1416.0,979.0]],[[867.0,1050.0],[778.0,664.0],[1391.0,1142.0],[1323.0,1484.0]],[[151.0,319.0],[873.0,710.0],[1613.0,1875.0],[859.0,50.0]],[[1897.0,1624.0],[1548.0,1427.0],[1519.0,2017.0],[34.0,1033.0]],[[316.0,238.0],[1656.0,1666.0],[1530.0,1642.0],[757.0,1247.0]],[[800.0,367.0],[1244.0,121.0],[1739.0,158.0],[1875.0,23.0]],[[1653.0,831.0],[1949.0,1049.0],[97.0,857.0],[914.0,569.0]],[[1357.0,980.0],[1078.0,1356.0],[146.0,1577.0],[1187.0,71.0]],[[1916.0,105.0],[1741.0,64.0],[447.0,709.0],[1016.0,76.0]],[[1657.0,1822.0],[629.0,315.0],[879.0,782.0],[1707.0,1466.0]],[[1504.0,256.0],[902.0,804.0],[385.0,522.0],[1133.0,1420.0]],[[1341.0,1738.0],[1080.0,1689.0],[1455.0,933.0],[306.0,1861.0]],[[896.0,1132.0],[42.0,1304.0],[774.0,1471.0],[1246.0,1532.0]],[[807.0,1437.0],[1321.0,1097.0],[1666.0,367.0],[1544.0,780.0]],[[1838.0,806.0],[886.0,1333.0],[1962.0,1799.0],[20.0,197.0]],[[1227.0,517.0],[1594.0,290.0],[1202.0,525.0],[1321.0,1319.0]],[[1581.0,1948.0],[598.0,1052.0],[900.0,1009.0],[1544.0,1509.0]],[[204.0,1234.0],[1896.0,1409.0],[21.0,611.0],[1950.0,2040.0]],[[78.0,133.0],[1601.0,1784.0],[440.0,839.0],[1740.0,1523.0]],[[1764.0,1845.0],[1574.0,1740.0],[257.0,2044.0],[747.0,876.0]],[[761.0,408.0],[1739.0,1479.0],[900.0,736.0],[1577.0,1455.0]],[[1515.0,578.0],[652.0,956.0],[1051.0,1013.0],[292.0,324.0]],[[829.0,1789.0],[2015.0,156.0],[1316.0,901.0],[307.0,1759.0]],[[345.0,1307.0],[746.0,1956.0],[965.0,1449.0],[815.0,1160.0]],[[685.0,1855.0],[460.0,115.0],[418.0,1039.0],[1250.0,423.0]],[[1163.0,829.0],[1895.0,920.0],[116.0,1701.0],[303.0,1392.0]],[[1906.0,1850.0],[1850.0,915.0],[1771.0,1131.0],[1554.0,356.0]],[[1635.0,1624.0],[409.0,427.0],[1493.0,1446.0],[1438.0,1622.0]],[[1952.0,1994.0],[843.0,882.0],[577.0,847.0],[474.0,56.0]],[[754.0,1994.0],[1407.0,1031.0],[1273.0,366.0],[860.0,577.0]],[[1035.0,976.0],[392.0,1224.0],[1705.0,1318.0],[1460.0,635.0]],[[1880.0,932.0],[1281.0,849.0],[1346.0,525.0],[563.0,1618.0]],[[1154.0,151.0],[120.0,140.0],[1666.0,1503.0],[174.0,1889.0]],[[1866.0,1212.0],[1635.0,1655.0],[1353.0,1037.0],[1994.0,327.0]],[[82.0,612.0],[1294.0,264.0],[1474.0,223.0],[248.0,1570.0]],[[1318.0,884.0],[568.0,1755.0],[957.0,1160.0],[1395.0,19.0]],[[921.0,871.0],[1085.0,1656.0],[1231.0,1927.0],[1660.0,1997.0]],[[1909.0,1080.0],[69.0,1910.0],[1836.0,1863.0],[1744.0,892.0]],[[1499.0,1791.0],[696.0,714.0],[1872.0,1449.0],[94.0,881.0]],[[454.0,1530.0],[164.0,1837.0],[266.0,1332.0],[397.0,372.0]],[[1496.0,936.0],[371.0,1362.0],[528.0,996.0],[1439.0,960.0]],[[1095.0,1004.0],[1600.0,149.0],[59.0,1065.0],[1147.0,2041.0]],[[476.0,1992.0],[1687.0,1146.0],[396.0,252.0],[1408.0,1998.0]],[[1504.0,1082.0],[821.0,1755.0],[1567.0,695.0],[1510.0,286.0]],[[1823.0,1154.0],[1924.0,1508.0],[827.0,1351.0],[1575.0,1511.0]],[[697.0,1823.0],[1483.0,1026.0],[523.0,906.0],[653.0,1361.0]],[[9.0,508.0],[568.0,823.0],[538.0,204.0],[1564.0,575.0]],[[530.0,1391.0],[1935.0,1903.0],[393.0,64.0],[1592.0,599.0]],[[1552.0,353.0],[546.0,349.0],[1065.0,1214.0],[619.0,1367.0]],[[411.0,1814.0],[350.0,50.0],[791.0,1473.0],[1799.0,468.0]],[[773.0,70.0],[100.0,427.0],[1248.0,87.0],[1707.0,706.0]],[[1071.0,720.0],[191.0,94.0],[774.0,770.0],[708.0,495.0]],[[1472.0,197.0],[1264.0,452.0],[685.0,886.0],[0.0,206.0]],[[956.0,702.0],[1727.0,958.0],[578.0,20.0],[1913.0,2014.0]],[[129.0,604.0],[2041.0,1044.0],[1902.0,1457.0],[1385.0,1897.0]],[[1705.0,967.0],[1528.0,1908.0],[1963.0,2024.0],[26.0,768.0]],[[1361.0,784.0],[409.0,1371.0],[1909.0,184.0],[764.0,1070.0]],[[995.0,1834.0],[1771.0,524.0],[704.0,162.0],[1281.0,1979.0]],[[1220.0,1043.0],[1136.0,1543.0],[1002.0,917.0],[1406.0,1263.0]],[[1132.0,1305.0],[1559.0,1070.0],[995.0,340.0],[2031.0,678.0]],[[1526.0,652.0],[334.0,1809.0],[1953.0,1491.0],[1301.0,306.0]],[[885.0,909.0],[599.0,1454.0],[1404.0,702.0],[679.0,784.0]],[[837.0,845.0],[129.0,1698.0],[770.0,1882.0],[1680.0,1355.0]],[[118.0,1293.0],[733.0,516.0],[947.0,1713.0],[1994.0,709.0]],[[484.0,510.0],[401.0,65.0],[1908.0,730.0],[342.0,361.0]],[[572.0,52.0],[1671.0,1138.0],[780.0,1414.0],[1796.0,2002.0]],[[1898.0,2022.0],[1915.0,1071.0],[418.0,1378.0],[1394.0,260.0]],[[1870.0,1588.0],[1148.0,1615.0],[1358.0,278.0],[1238.0,560.0]],[[1063.0,81.0],[601.0,738.0],[767.0,1566.0],[511.0,1013.0]],[[1653.0,699.0],[1195.0,1417.0],[525.0,1630.0],[471.0,1557.0]],[[1484.0,935.0],[53.0,417.0],[870.0,1562.0],[320.0,119.0]],[[1503.0,1451.0],[1582.0,476.0],[567.0,678.0],[888.0,859.0]],[[1907.0,901.0],[742.0,1889.0],[1054.0,1982.0],[920.0,1603.0]],[[77.0,50.0],[507.0,711.0],[206.0,958.0],[1304.0,1292.0]],[[437.0,1710.0],[1935.0,568.0],[162.0,1116.0],[1463.0,859.0]],[[1404.0,2031.0],[560.0,1158.0],[1190.0,91.0],[1488.0,2027.0]]] \ No newline at end of file
diff --git a/Tests/feaLib/builder_test.py b/Tests/feaLib/builder_test.py
index 8e987522..151cd896 100644
--- a/Tests/feaLib/builder_test.py
+++ b/Tests/feaLib/builder_test.py
@@ -72,7 +72,8 @@ class BuilderTest(unittest.TestCase):
PairPosSubtable ChainSubstSubtable SubstSubtable ChainPosSubtable
LigatureSubtable AlternateSubtable MultipleSubstSubtable
SingleSubstSubtable aalt_chain_contextual_subst AlternateChained
- MultipleLookupsPerGlyph MultipleLookupsPerGlyph2
+ MultipleLookupsPerGlyph MultipleLookupsPerGlyph2 GSUB_6_formats
+ GSUB_5_formats
""".split()
def __init__(self, methodName):
diff --git a/Tests/feaLib/data/ChainPosSubtable.ttx b/Tests/feaLib/data/ChainPosSubtable.ttx
index a780ccb7..695dd862 100644
--- a/Tests/feaLib/data/ChainPosSubtable.ttx
+++ b/Tests/feaLib/data/ChainPosSubtable.ttx
@@ -67,24 +67,26 @@
<LookupListIndex value="1"/>
</PosLookupRecord>
</ChainContextPos>
- <ChainContextPos index="1" Format="3">
- <!-- BacktrackGlyphCount=1 -->
- <BacktrackCoverage index="0">
- <Glyph value="X"/>
- </BacktrackCoverage>
- <!-- InputGlyphCount=1 -->
- <InputCoverage index="0">
+ <ChainContextPos index="1" Format="1">
+ <Coverage>
<Glyph value="A"/>
- </InputCoverage>
- <!-- LookAheadGlyphCount=1 -->
- <LookAheadCoverage index="0">
- <Glyph value="Y"/>
- </LookAheadCoverage>
- <!-- PosCount=1 -->
- <PosLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="2"/>
- </PosLookupRecord>
+ </Coverage>
+ <!-- ChainPosRuleSetCount=1 -->
+ <ChainPosRuleSet index="0">
+ <!-- ChainPosRuleCount=1 -->
+ <ChainPosRule index="0">
+ <!-- BacktrackGlyphCount=1 -->
+ <Backtrack index="0" value="X"/>
+ <!-- InputGlyphCount=1 -->
+ <!-- LookAheadGlyphCount=1 -->
+ <LookAhead index="0" value="Y"/>
+ <!-- PosCount=1 -->
+ <PosLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="2"/>
+ </PosLookupRecord>
+ </ChainPosRule>
+ </ChainPosRuleSet>
</ChainContextPos>
<ChainContextPos index="2" Format="3">
<!-- BacktrackGlyphCount=1 -->
diff --git a/Tests/feaLib/data/GPOS_8.ttx b/Tests/feaLib/data/GPOS_8.ttx
index 86f97560..4d790715 100644
--- a/Tests/feaLib/data/GPOS_8.ttx
+++ b/Tests/feaLib/data/GPOS_8.ttx
@@ -34,42 +34,40 @@
<LookupType value="8"/>
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
- <ChainContextPos index="0" Format="3">
- <!-- BacktrackGlyphCount=1 -->
- <BacktrackCoverage index="0">
- <Glyph value="A"/>
- </BacktrackCoverage>
- <!-- InputGlyphCount=4 -->
- <InputCoverage index="0">
- <Glyph value="one"/>
- </InputCoverage>
- <InputCoverage index="1">
- <Glyph value="two"/>
- </InputCoverage>
- <InputCoverage index="2">
+ <ChainContextPos index="0" Format="1">
+ <Coverage>
<Glyph value="one"/>
- </InputCoverage>
- <InputCoverage index="3">
- <Glyph value="two"/>
- </InputCoverage>
- <!-- LookAheadGlyphCount=0 -->
- <!-- PosCount=4 -->
- <PosLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="1"/>
- </PosLookupRecord>
- <PosLookupRecord index="1">
- <SequenceIndex value="1"/>
- <LookupListIndex value="1"/>
- </PosLookupRecord>
- <PosLookupRecord index="2">
- <SequenceIndex value="2"/>
- <LookupListIndex value="2"/>
- </PosLookupRecord>
- <PosLookupRecord index="3">
- <SequenceIndex value="3"/>
- <LookupListIndex value="2"/>
- </PosLookupRecord>
+ </Coverage>
+ <!-- ChainPosRuleSetCount=1 -->
+ <ChainPosRuleSet index="0">
+ <!-- ChainPosRuleCount=1 -->
+ <ChainPosRule index="0">
+ <!-- BacktrackGlyphCount=1 -->
+ <Backtrack index="0" value="A"/>
+ <!-- InputGlyphCount=4 -->
+ <Input index="0" value="two"/>
+ <Input index="1" value="one"/>
+ <Input index="2" value="two"/>
+ <!-- LookAheadGlyphCount=0 -->
+ <!-- PosCount=4 -->
+ <PosLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="1"/>
+ </PosLookupRecord>
+ <PosLookupRecord index="1">
+ <SequenceIndex value="1"/>
+ <LookupListIndex value="1"/>
+ </PosLookupRecord>
+ <PosLookupRecord index="2">
+ <SequenceIndex value="2"/>
+ <LookupListIndex value="2"/>
+ </PosLookupRecord>
+ <PosLookupRecord index="3">
+ <SequenceIndex value="3"/>
+ <LookupListIndex value="2"/>
+ </PosLookupRecord>
+ </ChainPosRule>
+ </ChainPosRuleSet>
</ChainContextPos>
</Lookup>
<Lookup index="1">
diff --git a/Tests/feaLib/data/GSUB_5_formats.fea b/Tests/feaLib/data/GSUB_5_formats.fea
new file mode 100644
index 00000000..3acb7edf
--- /dev/null
+++ b/Tests/feaLib/data/GSUB_5_formats.fea
@@ -0,0 +1,20 @@
+lookup GSUB5f1 {
+ ignore sub three four;
+ ignore sub four five;
+} GSUB5f1;
+
+lookup GSUB5f2 {
+ ignore sub [a - z] [A - H] [I - Z];
+ ignore sub [a - z] [A - H] [I - Z];
+ ignore sub [a - z] [I - Z] [A - H];
+} GSUB5f2;
+
+lookup GSUB5f3 {
+ ignore sub e;
+} GSUB5f3;
+
+feature test {
+ lookup GSUB5f1;
+ lookup GSUB5f2;
+ lookup GSUB5f3;
+} test;
diff --git a/Tests/feaLib/data/GSUB_5_formats.ttx b/Tests/feaLib/data/GSUB_5_formats.ttx
new file mode 100644
index 00000000..80196aaa
--- /dev/null
+++ b/Tests/feaLib/data/GSUB_5_formats.ttx
@@ -0,0 +1,197 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ttFont>
+
+ <GSUB>
+ <Version value="0x00010000"/>
+ <ScriptList>
+ <!-- ScriptCount=1 -->
+ <ScriptRecord index="0">
+ <ScriptTag value="DFLT"/>
+ <Script>
+ <DefaultLangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=1 -->
+ <FeatureIndex index="0" value="0"/>
+ </DefaultLangSys>
+ <!-- LangSysCount=0 -->
+ </Script>
+ </ScriptRecord>
+ </ScriptList>
+ <FeatureList>
+ <!-- FeatureCount=1 -->
+ <FeatureRecord index="0">
+ <FeatureTag value="test"/>
+ <Feature>
+ <!-- LookupCount=3 -->
+ <LookupListIndex index="0" value="0"/>
+ <LookupListIndex index="1" value="1"/>
+ <LookupListIndex index="2" value="2"/>
+ </Feature>
+ </FeatureRecord>
+ </FeatureList>
+ <LookupList>
+ <!-- LookupCount=3 -->
+ <Lookup index="0">
+ <LookupType value="5"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <ContextSubst index="0" Format="1">
+ <Coverage>
+ <Glyph value="three"/>
+ <Glyph value="four"/>
+ </Coverage>
+ <!-- SubRuleSetCount=2 -->
+ <SubRuleSet index="0">
+ <!-- SubRuleCount=1 -->
+ <SubRule index="0">
+ <!-- GlyphCount=2 -->
+ <!-- SubstCount=0 -->
+ <Input index="0" value="four"/>
+ </SubRule>
+ </SubRuleSet>
+ <SubRuleSet index="1">
+ <!-- SubRuleCount=1 -->
+ <SubRule index="0">
+ <!-- GlyphCount=2 -->
+ <!-- SubstCount=0 -->
+ <Input index="0" value="five"/>
+ </SubRule>
+ </SubRuleSet>
+ </ContextSubst>
+ </Lookup>
+ <Lookup index="1">
+ <LookupType value="5"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <ContextSubst index="0" Format="2">
+ <Coverage>
+ <Glyph value="a"/>
+ <Glyph value="b"/>
+ <Glyph value="c"/>
+ <Glyph value="d"/>
+ <Glyph value="e"/>
+ <Glyph value="f"/>
+ <Glyph value="g"/>
+ <Glyph value="h"/>
+ <Glyph value="i"/>
+ <Glyph value="j"/>
+ <Glyph value="k"/>
+ <Glyph value="l"/>
+ <Glyph value="m"/>
+ <Glyph value="n"/>
+ <Glyph value="o"/>
+ <Glyph value="p"/>
+ <Glyph value="q"/>
+ <Glyph value="r"/>
+ <Glyph value="s"/>
+ <Glyph value="t"/>
+ <Glyph value="u"/>
+ <Glyph value="v"/>
+ <Glyph value="w"/>
+ <Glyph value="x"/>
+ <Glyph value="y"/>
+ <Glyph value="z"/>
+ </Coverage>
+ <ClassDef>
+ <ClassDef glyph="A" class="3"/>
+ <ClassDef glyph="B" class="3"/>
+ <ClassDef glyph="C" class="3"/>
+ <ClassDef glyph="D" class="3"/>
+ <ClassDef glyph="E" class="3"/>
+ <ClassDef glyph="F" class="3"/>
+ <ClassDef glyph="G" class="3"/>
+ <ClassDef glyph="H" class="3"/>
+ <ClassDef glyph="I" class="2"/>
+ <ClassDef glyph="J" class="2"/>
+ <ClassDef glyph="K" class="2"/>
+ <ClassDef glyph="L" class="2"/>
+ <ClassDef glyph="M" class="2"/>
+ <ClassDef glyph="N" class="2"/>
+ <ClassDef glyph="O" class="2"/>
+ <ClassDef glyph="P" class="2"/>
+ <ClassDef glyph="Q" class="2"/>
+ <ClassDef glyph="R" class="2"/>
+ <ClassDef glyph="S" class="2"/>
+ <ClassDef glyph="T" class="2"/>
+ <ClassDef glyph="U" class="2"/>
+ <ClassDef glyph="V" class="2"/>
+ <ClassDef glyph="W" class="2"/>
+ <ClassDef glyph="X" class="2"/>
+ <ClassDef glyph="Y" class="2"/>
+ <ClassDef glyph="Z" class="2"/>
+ <ClassDef glyph="a" class="1"/>
+ <ClassDef glyph="b" class="1"/>
+ <ClassDef glyph="c" class="1"/>
+ <ClassDef glyph="d" class="1"/>
+ <ClassDef glyph="e" class="1"/>
+ <ClassDef glyph="f" class="1"/>
+ <ClassDef glyph="g" class="1"/>
+ <ClassDef glyph="h" class="1"/>
+ <ClassDef glyph="i" class="1"/>
+ <ClassDef glyph="j" class="1"/>
+ <ClassDef glyph="k" class="1"/>
+ <ClassDef glyph="l" class="1"/>
+ <ClassDef glyph="m" class="1"/>
+ <ClassDef glyph="n" class="1"/>
+ <ClassDef glyph="o" class="1"/>
+ <ClassDef glyph="p" class="1"/>
+ <ClassDef glyph="q" class="1"/>
+ <ClassDef glyph="r" class="1"/>
+ <ClassDef glyph="s" class="1"/>
+ <ClassDef glyph="t" class="1"/>
+ <ClassDef glyph="u" class="1"/>
+ <ClassDef glyph="v" class="1"/>
+ <ClassDef glyph="w" class="1"/>
+ <ClassDef glyph="x" class="1"/>
+ <ClassDef glyph="y" class="1"/>
+ <ClassDef glyph="z" class="1"/>
+ </ClassDef>
+ <!-- SubClassSetCount=4 -->
+ <SubClassSet index="0">
+ <!-- SubClassRuleCount=0 -->
+ </SubClassSet>
+ <SubClassSet index="1">
+ <!-- SubClassRuleCount=3 -->
+ <SubClassRule index="0">
+ <!-- GlyphCount=3 -->
+ <!-- SubstCount=0 -->
+ <Class index="0" value="3"/>
+ <Class index="1" value="2"/>
+ </SubClassRule>
+ <SubClassRule index="1">
+ <!-- GlyphCount=3 -->
+ <!-- SubstCount=0 -->
+ <Class index="0" value="3"/>
+ <Class index="1" value="2"/>
+ </SubClassRule>
+ <SubClassRule index="2">
+ <!-- GlyphCount=3 -->
+ <!-- SubstCount=0 -->
+ <Class index="0" value="2"/>
+ <Class index="1" value="3"/>
+ </SubClassRule>
+ </SubClassSet>
+ <SubClassSet index="2">
+ <!-- SubClassRuleCount=0 -->
+ </SubClassSet>
+ <SubClassSet index="3">
+ <!-- SubClassRuleCount=0 -->
+ </SubClassSet>
+ </ContextSubst>
+ </Lookup>
+ <Lookup index="2">
+ <LookupType value="5"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <ContextSubst index="0" Format="3">
+ <!-- GlyphCount=1 -->
+ <!-- SubstCount=0 -->
+ <Coverage index="0">
+ <Glyph value="e"/>
+ </Coverage>
+ </ContextSubst>
+ </Lookup>
+ </LookupList>
+ </GSUB>
+
+</ttFont>
diff --git a/Tests/feaLib/data/GSUB_6.ttx b/Tests/feaLib/data/GSUB_6.ttx
index f32e47d9..18405d25 100644
--- a/Tests/feaLib/data/GSUB_6.ttx
+++ b/Tests/feaLib/data/GSUB_6.ttx
@@ -229,36 +229,30 @@
<LookupType value="6"/>
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
- <ChainContextSubst index="0" Format="3">
- <!-- BacktrackGlyphCount=3 -->
- <BacktrackCoverage index="0">
- <Glyph value="E"/>
- </BacktrackCoverage>
- <BacktrackCoverage index="1">
- <Glyph value="D"/>
- </BacktrackCoverage>
- <BacktrackCoverage index="2">
- <Glyph value="A"/>
- </BacktrackCoverage>
- <!-- InputGlyphCount=1 -->
- <InputCoverage index="0">
+ <ChainContextSubst index="0" Format="1">
+ <Coverage>
<Glyph value="c_t"/>
- </InputCoverage>
- <!-- LookAheadGlyphCount=3 -->
- <LookAheadCoverage index="0">
- <Glyph value="V"/>
- </LookAheadCoverage>
- <LookAheadCoverage index="1">
- <Glyph value="W"/>
- </LookAheadCoverage>
- <LookAheadCoverage index="2">
- <Glyph value="X"/>
- </LookAheadCoverage>
- <!-- SubstCount=1 -->
- <SubstLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="2"/>
- </SubstLookupRecord>
+ </Coverage>
+ <!-- ChainSubRuleSetCount=1 -->
+ <ChainSubRuleSet index="0">
+ <!-- ChainSubRuleCount=1 -->
+ <ChainSubRule index="0">
+ <!-- BacktrackGlyphCount=3 -->
+ <Backtrack index="0" value="E"/>
+ <Backtrack index="1" value="D"/>
+ <Backtrack index="2" value="A"/>
+ <!-- InputGlyphCount=1 -->
+ <!-- LookAheadGlyphCount=3 -->
+ <LookAhead index="0" value="V"/>
+ <LookAhead index="1" value="W"/>
+ <LookAhead index="2" value="X"/>
+ <!-- SubstCount=1 -->
+ <SubstLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="2"/>
+ </SubstLookupRecord>
+ </ChainSubRule>
+ </ChainSubRuleSet>
</ChainContextSubst>
</Lookup>
</LookupList>
diff --git a/Tests/feaLib/data/GSUB_6_formats.fea b/Tests/feaLib/data/GSUB_6_formats.fea
new file mode 100644
index 00000000..44135d24
--- /dev/null
+++ b/Tests/feaLib/data/GSUB_6_formats.fea
@@ -0,0 +1,20 @@
+lookup GSUB6f1 {
+ ignore sub one two three' four' five six seven;
+ ignore sub two one three' four' six five seven;
+} GSUB6f1;
+
+lookup GSUB6f2 {
+ ignore sub [A - H] [I - Z] [a - z]' [A - H]' [I - Z]';
+ ignore sub [I - Z] [A - H] [a - z]' [A - H]' [I - Z]';
+ ignore sub [A - H] [I - Z] [a - z]' [I - Z]' [A - H]';
+} GSUB6f2;
+
+lookup GSUB6f3 {
+ ignore sub [space comma semicolon] e';
+} GSUB6f3;
+
+feature test {
+ lookup GSUB6f1;
+ lookup GSUB6f2;
+ lookup GSUB6f3;
+} test;
diff --git a/Tests/feaLib/data/GSUB_6_formats.ttx b/Tests/feaLib/data/GSUB_6_formats.ttx
new file mode 100644
index 00000000..ad2a1c5e
--- /dev/null
+++ b/Tests/feaLib/data/GSUB_6_formats.ttx
@@ -0,0 +1,256 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ttFont>
+
+ <GSUB>
+ <Version value="0x00010000"/>
+ <ScriptList>
+ <!-- ScriptCount=1 -->
+ <ScriptRecord index="0">
+ <ScriptTag value="DFLT"/>
+ <Script>
+ <DefaultLangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=1 -->
+ <FeatureIndex index="0" value="0"/>
+ </DefaultLangSys>
+ <!-- LangSysCount=0 -->
+ </Script>
+ </ScriptRecord>
+ </ScriptList>
+ <FeatureList>
+ <!-- FeatureCount=1 -->
+ <FeatureRecord index="0">
+ <FeatureTag value="test"/>
+ <Feature>
+ <!-- LookupCount=3 -->
+ <LookupListIndex index="0" value="0"/>
+ <LookupListIndex index="1" value="1"/>
+ <LookupListIndex index="2" value="2"/>
+ </Feature>
+ </FeatureRecord>
+ </FeatureList>
+ <LookupList>
+ <!-- LookupCount=3 -->
+ <Lookup index="0">
+ <LookupType value="6"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <ChainContextSubst index="0" Format="1">
+ <Coverage>
+ <Glyph value="three"/>
+ </Coverage>
+ <!-- ChainSubRuleSetCount=1 -->
+ <ChainSubRuleSet index="0">
+ <!-- ChainSubRuleCount=2 -->
+ <ChainSubRule index="0">
+ <!-- BacktrackGlyphCount=2 -->
+ <Backtrack index="0" value="two"/>
+ <Backtrack index="1" value="one"/>
+ <!-- InputGlyphCount=2 -->
+ <Input index="0" value="four"/>
+ <!-- LookAheadGlyphCount=3 -->
+ <LookAhead index="0" value="five"/>
+ <LookAhead index="1" value="six"/>
+ <LookAhead index="2" value="seven"/>
+ <!-- SubstCount=0 -->
+ </ChainSubRule>
+ <ChainSubRule index="1">
+ <!-- BacktrackGlyphCount=2 -->
+ <Backtrack index="0" value="one"/>
+ <Backtrack index="1" value="two"/>
+ <!-- InputGlyphCount=2 -->
+ <Input index="0" value="four"/>
+ <!-- LookAheadGlyphCount=3 -->
+ <LookAhead index="0" value="six"/>
+ <LookAhead index="1" value="five"/>
+ <LookAhead index="2" value="seven"/>
+ <!-- SubstCount=0 -->
+ </ChainSubRule>
+ </ChainSubRuleSet>
+ </ChainContextSubst>
+ </Lookup>
+ <Lookup index="1">
+ <LookupType value="6"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <ChainContextSubst index="0" Format="2">
+ <Coverage>
+ <Glyph value="a"/>
+ <Glyph value="b"/>
+ <Glyph value="c"/>
+ <Glyph value="d"/>
+ <Glyph value="e"/>
+ <Glyph value="f"/>
+ <Glyph value="g"/>
+ <Glyph value="h"/>
+ <Glyph value="i"/>
+ <Glyph value="j"/>
+ <Glyph value="k"/>
+ <Glyph value="l"/>
+ <Glyph value="m"/>
+ <Glyph value="n"/>
+ <Glyph value="o"/>
+ <Glyph value="p"/>
+ <Glyph value="q"/>
+ <Glyph value="r"/>
+ <Glyph value="s"/>
+ <Glyph value="t"/>
+ <Glyph value="u"/>
+ <Glyph value="v"/>
+ <Glyph value="w"/>
+ <Glyph value="x"/>
+ <Glyph value="y"/>
+ <Glyph value="z"/>
+ </Coverage>
+ <BacktrackClassDef>
+ <ClassDef glyph="A" class="2"/>
+ <ClassDef glyph="B" class="2"/>
+ <ClassDef glyph="C" class="2"/>
+ <ClassDef glyph="D" class="2"/>
+ <ClassDef glyph="E" class="2"/>
+ <ClassDef glyph="F" class="2"/>
+ <ClassDef glyph="G" class="2"/>
+ <ClassDef glyph="H" class="2"/>
+ <ClassDef glyph="I" class="1"/>
+ <ClassDef glyph="J" class="1"/>
+ <ClassDef glyph="K" class="1"/>
+ <ClassDef glyph="L" class="1"/>
+ <ClassDef glyph="M" class="1"/>
+ <ClassDef glyph="N" class="1"/>
+ <ClassDef glyph="O" class="1"/>
+ <ClassDef glyph="P" class="1"/>
+ <ClassDef glyph="Q" class="1"/>
+ <ClassDef glyph="R" class="1"/>
+ <ClassDef glyph="S" class="1"/>
+ <ClassDef glyph="T" class="1"/>
+ <ClassDef glyph="U" class="1"/>
+ <ClassDef glyph="V" class="1"/>
+ <ClassDef glyph="W" class="1"/>
+ <ClassDef glyph="X" class="1"/>
+ <ClassDef glyph="Y" class="1"/>
+ <ClassDef glyph="Z" class="1"/>
+ </BacktrackClassDef>
+ <InputClassDef>
+ <ClassDef glyph="A" class="3"/>
+ <ClassDef glyph="B" class="3"/>
+ <ClassDef glyph="C" class="3"/>
+ <ClassDef glyph="D" class="3"/>
+ <ClassDef glyph="E" class="3"/>
+ <ClassDef glyph="F" class="3"/>
+ <ClassDef glyph="G" class="3"/>
+ <ClassDef glyph="H" class="3"/>
+ <ClassDef glyph="I" class="2"/>
+ <ClassDef glyph="J" class="2"/>
+ <ClassDef glyph="K" class="2"/>
+ <ClassDef glyph="L" class="2"/>
+ <ClassDef glyph="M" class="2"/>
+ <ClassDef glyph="N" class="2"/>
+ <ClassDef glyph="O" class="2"/>
+ <ClassDef glyph="P" class="2"/>
+ <ClassDef glyph="Q" class="2"/>
+ <ClassDef glyph="R" class="2"/>
+ <ClassDef glyph="S" class="2"/>
+ <ClassDef glyph="T" class="2"/>
+ <ClassDef glyph="U" class="2"/>
+ <ClassDef glyph="V" class="2"/>
+ <ClassDef glyph="W" class="2"/>
+ <ClassDef glyph="X" class="2"/>
+ <ClassDef glyph="Y" class="2"/>
+ <ClassDef glyph="Z" class="2"/>
+ <ClassDef glyph="a" class="1"/>
+ <ClassDef glyph="b" class="1"/>
+ <ClassDef glyph="c" class="1"/>
+ <ClassDef glyph="d" class="1"/>
+ <ClassDef glyph="e" class="1"/>
+ <ClassDef glyph="f" class="1"/>
+ <ClassDef glyph="g" class="1"/>
+ <ClassDef glyph="h" class="1"/>
+ <ClassDef glyph="i" class="1"/>
+ <ClassDef glyph="j" class="1"/>
+ <ClassDef glyph="k" class="1"/>
+ <ClassDef glyph="l" class="1"/>
+ <ClassDef glyph="m" class="1"/>
+ <ClassDef glyph="n" class="1"/>
+ <ClassDef glyph="o" class="1"/>
+ <ClassDef glyph="p" class="1"/>
+ <ClassDef glyph="q" class="1"/>
+ <ClassDef glyph="r" class="1"/>
+ <ClassDef glyph="s" class="1"/>
+ <ClassDef glyph="t" class="1"/>
+ <ClassDef glyph="u" class="1"/>
+ <ClassDef glyph="v" class="1"/>
+ <ClassDef glyph="w" class="1"/>
+ <ClassDef glyph="x" class="1"/>
+ <ClassDef glyph="y" class="1"/>
+ <ClassDef glyph="z" class="1"/>
+ </InputClassDef>
+ <LookAheadClassDef>
+ </LookAheadClassDef>
+ <!-- ChainSubClassSetCount=4 -->
+ <ChainSubClassSet index="0">
+ <!-- ChainSubClassRuleCount=0 -->
+ </ChainSubClassSet>
+ <ChainSubClassSet index="1">
+ <!-- ChainSubClassRuleCount=3 -->
+ <ChainSubClassRule index="0">
+ <!-- BacktrackGlyphCount=2 -->
+ <Backtrack index="0" value="1"/>
+ <Backtrack index="1" value="2"/>
+ <!-- InputGlyphCount=3 -->
+ <Input index="0" value="3"/>
+ <Input index="1" value="2"/>
+ <!-- LookAheadGlyphCount=0 -->
+ <!-- SubstCount=0 -->
+ </ChainSubClassRule>
+ <ChainSubClassRule index="1">
+ <!-- BacktrackGlyphCount=2 -->
+ <Backtrack index="0" value="2"/>
+ <Backtrack index="1" value="1"/>
+ <!-- InputGlyphCount=3 -->
+ <Input index="0" value="3"/>
+ <Input index="1" value="2"/>
+ <!-- LookAheadGlyphCount=0 -->
+ <!-- SubstCount=0 -->
+ </ChainSubClassRule>
+ <ChainSubClassRule index="2">
+ <!-- BacktrackGlyphCount=2 -->
+ <Backtrack index="0" value="1"/>
+ <Backtrack index="1" value="2"/>
+ <!-- InputGlyphCount=3 -->
+ <Input index="0" value="2"/>
+ <Input index="1" value="3"/>
+ <!-- LookAheadGlyphCount=0 -->
+ <!-- SubstCount=0 -->
+ </ChainSubClassRule>
+ </ChainSubClassSet>
+ <ChainSubClassSet index="2">
+ <!-- ChainSubClassRuleCount=0 -->
+ </ChainSubClassSet>
+ <ChainSubClassSet index="3">
+ <!-- ChainSubClassRuleCount=0 -->
+ </ChainSubClassSet>
+ </ChainContextSubst>
+ </Lookup>
+ <Lookup index="2">
+ <LookupType value="6"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <ChainContextSubst index="0" Format="3">
+ <!-- BacktrackGlyphCount=1 -->
+ <BacktrackCoverage index="0">
+ <Glyph value="space"/>
+ <Glyph value="semicolon"/>
+ <Glyph value="comma"/>
+ </BacktrackCoverage>
+ <!-- InputGlyphCount=1 -->
+ <InputCoverage index="0">
+ <Glyph value="e"/>
+ </InputCoverage>
+ <!-- LookAheadGlyphCount=0 -->
+ <!-- SubstCount=0 -->
+ </ChainContextSubst>
+ </Lookup>
+ </LookupList>
+ </GSUB>
+
+</ttFont>
diff --git a/Tests/feaLib/data/ZeroValue_ChainSinglePos_horizontal.ttx b/Tests/feaLib/data/ZeroValue_ChainSinglePos_horizontal.ttx
index ce76370e..98f7aa9e 100644
--- a/Tests/feaLib/data/ZeroValue_ChainSinglePos_horizontal.ttx
+++ b/Tests/feaLib/data/ZeroValue_ChainSinglePos_horizontal.ttx
@@ -32,44 +32,39 @@
<Lookup index="0">
<LookupType value="8"/>
<LookupFlag value="0"/>
- <!-- SubTableCount=2 -->
- <ChainContextPos index="0" Format="3">
- <!-- BacktrackGlyphCount=1 -->
- <BacktrackCoverage index="0">
- <Glyph value="A"/>
- </BacktrackCoverage>
- <!-- InputGlyphCount=1 -->
- <InputCoverage index="0">
- <Glyph value="G"/>
- </InputCoverage>
- <!-- LookAheadGlyphCount=1 -->
- <LookAheadCoverage index="0">
- <Glyph value="A"/>
- </LookAheadCoverage>
- <!-- PosCount=1 -->
- <PosLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="1"/>
- </PosLookupRecord>
- </ChainContextPos>
- <ChainContextPos index="1" Format="3">
- <!-- BacktrackGlyphCount=1 -->
- <BacktrackCoverage index="0">
- <Glyph value="B"/>
- </BacktrackCoverage>
- <!-- InputGlyphCount=1 -->
- <InputCoverage index="0">
+ <!-- SubTableCount=1 -->
+ <ChainContextPos index="0" Format="1">
+ <Coverage>
<Glyph value="G"/>
- </InputCoverage>
- <!-- LookAheadGlyphCount=1 -->
- <LookAheadCoverage index="0">
- <Glyph value="B"/>
- </LookAheadCoverage>
- <!-- PosCount=1 -->
- <PosLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="1"/>
- </PosLookupRecord>
+ </Coverage>
+ <!-- ChainPosRuleSetCount=1 -->
+ <ChainPosRuleSet index="0">
+ <!-- ChainPosRuleCount=2 -->
+ <ChainPosRule index="0">
+ <!-- BacktrackGlyphCount=1 -->
+ <Backtrack index="0" value="A"/>
+ <!-- InputGlyphCount=1 -->
+ <!-- LookAheadGlyphCount=1 -->
+ <LookAhead index="0" value="A"/>
+ <!-- PosCount=1 -->
+ <PosLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="1"/>
+ </PosLookupRecord>
+ </ChainPosRule>
+ <ChainPosRule index="1">
+ <!-- BacktrackGlyphCount=1 -->
+ <Backtrack index="0" value="B"/>
+ <!-- InputGlyphCount=1 -->
+ <!-- LookAheadGlyphCount=1 -->
+ <LookAhead index="0" value="B"/>
+ <!-- PosCount=1 -->
+ <PosLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="1"/>
+ </PosLookupRecord>
+ </ChainPosRule>
+ </ChainPosRuleSet>
</ChainContextPos>
</Lookup>
<Lookup index="1">
diff --git a/Tests/feaLib/data/ZeroValue_ChainSinglePos_vertical.ttx b/Tests/feaLib/data/ZeroValue_ChainSinglePos_vertical.ttx
index e1cb5d61..973cb4f6 100644
--- a/Tests/feaLib/data/ZeroValue_ChainSinglePos_vertical.ttx
+++ b/Tests/feaLib/data/ZeroValue_ChainSinglePos_vertical.ttx
@@ -32,44 +32,39 @@
<Lookup index="0">
<LookupType value="8"/>
<LookupFlag value="0"/>
- <!-- SubTableCount=2 -->
- <ChainContextPos index="0" Format="3">
- <!-- BacktrackGlyphCount=1 -->
- <BacktrackCoverage index="0">
- <Glyph value="A"/>
- </BacktrackCoverage>
- <!-- InputGlyphCount=1 -->
- <InputCoverage index="0">
- <Glyph value="G"/>
- </InputCoverage>
- <!-- LookAheadGlyphCount=1 -->
- <LookAheadCoverage index="0">
- <Glyph value="A"/>
- </LookAheadCoverage>
- <!-- PosCount=1 -->
- <PosLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="1"/>
- </PosLookupRecord>
- </ChainContextPos>
- <ChainContextPos index="1" Format="3">
- <!-- BacktrackGlyphCount=1 -->
- <BacktrackCoverage index="0">
- <Glyph value="B"/>
- </BacktrackCoverage>
- <!-- InputGlyphCount=1 -->
- <InputCoverage index="0">
+ <!-- SubTableCount=1 -->
+ <ChainContextPos index="0" Format="1">
+ <Coverage>
<Glyph value="G"/>
- </InputCoverage>
- <!-- LookAheadGlyphCount=1 -->
- <LookAheadCoverage index="0">
- <Glyph value="B"/>
- </LookAheadCoverage>
- <!-- PosCount=1 -->
- <PosLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="1"/>
- </PosLookupRecord>
+ </Coverage>
+ <!-- ChainPosRuleSetCount=1 -->
+ <ChainPosRuleSet index="0">
+ <!-- ChainPosRuleCount=2 -->
+ <ChainPosRule index="0">
+ <!-- BacktrackGlyphCount=1 -->
+ <Backtrack index="0" value="A"/>
+ <!-- InputGlyphCount=1 -->
+ <!-- LookAheadGlyphCount=1 -->
+ <LookAhead index="0" value="A"/>
+ <!-- PosCount=1 -->
+ <PosLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="1"/>
+ </PosLookupRecord>
+ </ChainPosRule>
+ <ChainPosRule index="1">
+ <!-- BacktrackGlyphCount=1 -->
+ <Backtrack index="0" value="B"/>
+ <!-- InputGlyphCount=1 -->
+ <!-- LookAheadGlyphCount=1 -->
+ <LookAhead index="0" value="B"/>
+ <!-- PosCount=1 -->
+ <PosLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="1"/>
+ </PosLookupRecord>
+ </ChainPosRule>
+ </ChainPosRuleSet>
</ChainContextPos>
</Lookup>
<Lookup index="1">
diff --git a/Tests/feaLib/data/bug512.ttx b/Tests/feaLib/data/bug512.ttx
index 50b76b46..693ebeb7 100644
--- a/Tests/feaLib/data/bug512.ttx
+++ b/Tests/feaLib/data/bug512.ttx
@@ -32,50 +32,51 @@
<Lookup index="0">
<LookupType value="5"/>
<LookupFlag value="0"/>
- <!-- SubTableCount=4 -->
- <ContextSubst index="0" Format="3">
- <!-- GlyphCount=1 -->
- <!-- SubstCount=1 -->
- <Coverage index="0">
- <Glyph value="G"/>
- </Coverage>
- <SubstLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="1"/>
- </SubstLookupRecord>
- </ContextSubst>
- <ContextSubst index="1" Format="3">
- <!-- GlyphCount=1 -->
- <!-- SubstCount=1 -->
- <Coverage index="0">
- <Glyph value="H"/>
- </Coverage>
- <SubstLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="1"/>
- </SubstLookupRecord>
- </ContextSubst>
- <ContextSubst index="2" Format="3">
- <!-- GlyphCount=1 -->
- <!-- SubstCount=1 -->
- <Coverage index="0">
+ <!-- SubTableCount=1 -->
+ <ContextSubst index="0" Format="1">
+ <Coverage>
<Glyph value="G"/>
- </Coverage>
- <SubstLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="2"/>
- </SubstLookupRecord>
- </ContextSubst>
- <ContextSubst index="3" Format="3">
- <!-- GlyphCount=1 -->
- <!-- SubstCount=1 -->
- <Coverage index="0">
<Glyph value="H"/>
</Coverage>
- <SubstLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="2"/>
- </SubstLookupRecord>
+ <!-- SubRuleSetCount=2 -->
+ <SubRuleSet index="0">
+ <!-- SubRuleCount=2 -->
+ <SubRule index="0">
+ <!-- GlyphCount=1 -->
+ <!-- SubstCount=1 -->
+ <SubstLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="1"/>
+ </SubstLookupRecord>
+ </SubRule>
+ <SubRule index="1">
+ <!-- GlyphCount=1 -->
+ <!-- SubstCount=1 -->
+ <SubstLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="2"/>
+ </SubstLookupRecord>
+ </SubRule>
+ </SubRuleSet>
+ <SubRuleSet index="1">
+ <!-- SubRuleCount=2 -->
+ <SubRule index="0">
+ <!-- GlyphCount=1 -->
+ <!-- SubstCount=1 -->
+ <SubstLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="1"/>
+ </SubstLookupRecord>
+ </SubRule>
+ <SubRule index="1">
+ <!-- GlyphCount=1 -->
+ <!-- SubstCount=1 -->
+ <SubstLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="2"/>
+ </SubstLookupRecord>
+ </SubRule>
+ </SubRuleSet>
</ContextSubst>
</Lookup>
<Lookup index="1">
diff --git a/Tests/feaLib/data/spec5f_ii_3.ttx b/Tests/feaLib/data/spec5f_ii_3.ttx
index a550f0b6..a94efcea 100644
--- a/Tests/feaLib/data/spec5f_ii_3.ttx
+++ b/Tests/feaLib/data/spec5f_ii_3.ttx
@@ -32,111 +32,115 @@
<Lookup index="0">
<LookupType value="6"/>
<LookupFlag value="0"/>
- <!-- SubTableCount=3 -->
- <ChainContextSubst index="0" Format="3">
- <!-- BacktrackGlyphCount=1 -->
- <BacktrackCoverage index="0">
- <Glyph value="a"/>
- <Glyph value="b"/>
- <Glyph value="c"/>
- <Glyph value="d"/>
- <Glyph value="e"/>
- <Glyph value="f"/>
- <Glyph value="g"/>
- <Glyph value="h"/>
- <Glyph value="i"/>
- <Glyph value="j"/>
- <Glyph value="k"/>
- <Glyph value="l"/>
- <Glyph value="m"/>
- <Glyph value="n"/>
- <Glyph value="o"/>
- <Glyph value="p"/>
- <Glyph value="q"/>
- <Glyph value="r"/>
- <Glyph value="s"/>
- <Glyph value="t"/>
- <Glyph value="u"/>
- <Glyph value="v"/>
- <Glyph value="w"/>
- <Glyph value="x"/>
- <Glyph value="y"/>
- <Glyph value="z"/>
- </BacktrackCoverage>
- <!-- InputGlyphCount=3 -->
- <InputCoverage index="0">
- <Glyph value="a"/>
- </InputCoverage>
- <InputCoverage index="1">
- <Glyph value="n"/>
- </InputCoverage>
- <InputCoverage index="2">
- <Glyph value="d"/>
- </InputCoverage>
- <!-- LookAheadGlyphCount=0 -->
- <!-- SubstCount=0 -->
- </ChainContextSubst>
- <ChainContextSubst index="1" Format="3">
- <!-- BacktrackGlyphCount=0 -->
- <!-- InputGlyphCount=3 -->
- <InputCoverage index="0">
- <Glyph value="a"/>
- </InputCoverage>
- <InputCoverage index="1">
- <Glyph value="n"/>
- </InputCoverage>
- <InputCoverage index="2">
- <Glyph value="d"/>
- </InputCoverage>
- <!-- LookAheadGlyphCount=1 -->
- <LookAheadCoverage index="0">
- <Glyph value="a"/>
- <Glyph value="b"/>
- <Glyph value="c"/>
- <Glyph value="d"/>
- <Glyph value="e"/>
- <Glyph value="f"/>
- <Glyph value="g"/>
- <Glyph value="h"/>
- <Glyph value="i"/>
- <Glyph value="j"/>
- <Glyph value="k"/>
- <Glyph value="l"/>
- <Glyph value="m"/>
- <Glyph value="n"/>
- <Glyph value="o"/>
- <Glyph value="p"/>
- <Glyph value="q"/>
- <Glyph value="r"/>
- <Glyph value="s"/>
- <Glyph value="t"/>
- <Glyph value="u"/>
- <Glyph value="v"/>
- <Glyph value="w"/>
- <Glyph value="x"/>
- <Glyph value="y"/>
- <Glyph value="z"/>
- </LookAheadCoverage>
- <!-- SubstCount=0 -->
- </ChainContextSubst>
- <ChainContextSubst index="2" Format="3">
- <!-- BacktrackGlyphCount=0 -->
- <!-- InputGlyphCount=3 -->
- <InputCoverage index="0">
+ <!-- SubTableCount=1 -->
+ <ChainContextSubst index="0" Format="2">
+ <Coverage>
<Glyph value="a"/>
- </InputCoverage>
- <InputCoverage index="1">
- <Glyph value="n"/>
- </InputCoverage>
- <InputCoverage index="2">
- <Glyph value="d"/>
- </InputCoverage>
- <!-- LookAheadGlyphCount=0 -->
- <!-- SubstCount=1 -->
- <SubstLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="1"/>
- </SubstLookupRecord>
+ </Coverage>
+ <BacktrackClassDef>
+ <ClassDef glyph="a" class="1"/>
+ <ClassDef glyph="b" class="1"/>
+ <ClassDef glyph="c" class="1"/>
+ <ClassDef glyph="d" class="1"/>
+ <ClassDef glyph="e" class="1"/>
+ <ClassDef glyph="f" class="1"/>
+ <ClassDef glyph="g" class="1"/>
+ <ClassDef glyph="h" class="1"/>
+ <ClassDef glyph="i" class="1"/>
+ <ClassDef glyph="j" class="1"/>
+ <ClassDef glyph="k" class="1"/>
+ <ClassDef glyph="l" class="1"/>
+ <ClassDef glyph="m" class="1"/>
+ <ClassDef glyph="n" class="1"/>
+ <ClassDef glyph="o" class="1"/>
+ <ClassDef glyph="p" class="1"/>
+ <ClassDef glyph="q" class="1"/>
+ <ClassDef glyph="r" class="1"/>
+ <ClassDef glyph="s" class="1"/>
+ <ClassDef glyph="t" class="1"/>
+ <ClassDef glyph="u" class="1"/>
+ <ClassDef glyph="v" class="1"/>
+ <ClassDef glyph="w" class="1"/>
+ <ClassDef glyph="x" class="1"/>
+ <ClassDef glyph="y" class="1"/>
+ <ClassDef glyph="z" class="1"/>
+ </BacktrackClassDef>
+ <InputClassDef>
+ <ClassDef glyph="a" class="3"/>
+ <ClassDef glyph="d" class="2"/>
+ <ClassDef glyph="n" class="1"/>
+ </InputClassDef>
+ <LookAheadClassDef>
+ <ClassDef glyph="a" class="1"/>
+ <ClassDef glyph="b" class="1"/>
+ <ClassDef glyph="c" class="1"/>
+ <ClassDef glyph="d" class="1"/>
+ <ClassDef glyph="e" class="1"/>
+ <ClassDef glyph="f" class="1"/>
+ <ClassDef glyph="g" class="1"/>
+ <ClassDef glyph="h" class="1"/>
+ <ClassDef glyph="i" class="1"/>
+ <ClassDef glyph="j" class="1"/>
+ <ClassDef glyph="k" class="1"/>
+ <ClassDef glyph="l" class="1"/>
+ <ClassDef glyph="m" class="1"/>
+ <ClassDef glyph="n" class="1"/>
+ <ClassDef glyph="o" class="1"/>
+ <ClassDef glyph="p" class="1"/>
+ <ClassDef glyph="q" class="1"/>
+ <ClassDef glyph="r" class="1"/>
+ <ClassDef glyph="s" class="1"/>
+ <ClassDef glyph="t" class="1"/>
+ <ClassDef glyph="u" class="1"/>
+ <ClassDef glyph="v" class="1"/>
+ <ClassDef glyph="w" class="1"/>
+ <ClassDef glyph="x" class="1"/>
+ <ClassDef glyph="y" class="1"/>
+ <ClassDef glyph="z" class="1"/>
+ </LookAheadClassDef>
+ <!-- ChainSubClassSetCount=4 -->
+ <ChainSubClassSet index="0">
+ <!-- ChainSubClassRuleCount=0 -->
+ </ChainSubClassSet>
+ <ChainSubClassSet index="1">
+ <!-- ChainSubClassRuleCount=0 -->
+ </ChainSubClassSet>
+ <ChainSubClassSet index="2">
+ <!-- ChainSubClassRuleCount=0 -->
+ </ChainSubClassSet>
+ <ChainSubClassSet index="3">
+ <!-- ChainSubClassRuleCount=3 -->
+ <ChainSubClassRule index="0">
+ <!-- BacktrackGlyphCount=1 -->
+ <Backtrack index="0" value="1"/>
+ <!-- InputGlyphCount=3 -->
+ <Input index="0" value="1"/>
+ <Input index="1" value="2"/>
+ <!-- LookAheadGlyphCount=0 -->
+ <!-- SubstCount=0 -->
+ </ChainSubClassRule>
+ <ChainSubClassRule index="1">
+ <!-- BacktrackGlyphCount=0 -->
+ <!-- InputGlyphCount=3 -->
+ <Input index="0" value="1"/>
+ <Input index="1" value="2"/>
+ <!-- LookAheadGlyphCount=1 -->
+ <LookAhead index="0" value="1"/>
+ <!-- SubstCount=0 -->
+ </ChainSubClassRule>
+ <ChainSubClassRule index="2">
+ <!-- BacktrackGlyphCount=0 -->
+ <!-- InputGlyphCount=3 -->
+ <Input index="0" value="1"/>
+ <Input index="1" value="2"/>
+ <!-- LookAheadGlyphCount=0 -->
+ <!-- SubstCount=1 -->
+ <SubstLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="1"/>
+ </SubstLookupRecord>
+ </ChainSubClassRule>
+ </ChainSubClassSet>
</ChainContextSubst>
</Lookup>
<Lookup index="1">
diff --git a/Tests/pens/cocoaPen_test.py b/Tests/pens/cocoaPen_test.py
new file mode 100644
index 00000000..51795e12
--- /dev/null
+++ b/Tests/pens/cocoaPen_test.py
@@ -0,0 +1,59 @@
+from fontTools.misc.py23 import *
+import unittest
+
+try:
+ from fontTools.pens.cocoaPen import CocoaPen
+ from AppKit import NSBezierPathElementMoveTo, NSBezierPathElementLineTo
+ from AppKit import NSBezierPathElementCurveTo, NSBezierPathElementClosePath
+
+ PATH_ELEMENTS = {
+ # NSBezierPathElement key desc
+ NSBezierPathElementMoveTo: 'moveto',
+ NSBezierPathElementLineTo: 'lineto',
+ NSBezierPathElementCurveTo: 'curveto',
+ NSBezierPathElementClosePath: 'close',
+ }
+
+ PYOBJC_AVAILABLE = True
+except ImportError:
+ PYOBJC_AVAILABLE = False
+
+
+def draw(pen):
+ pen.moveTo((50, 0))
+ pen.lineTo((50, 500))
+ pen.lineTo((200, 500))
+ pen.curveTo((350, 500), (450, 400), (450, 250))
+ pen.curveTo((450, 100), (350, 0), (200, 0))
+ pen.closePath()
+
+
+def cocoaPathToString(path):
+ num_elements = path.elementCount()
+ output = []
+ for i in range(num_elements - 1):
+ elem_type, elem_points = path.elementAtIndex_associatedPoints_(i)
+ elem_type = PATH_ELEMENTS[elem_type]
+ path_points = " ".join([f"{p.x} {p.y}" for p in elem_points])
+ output.append(f"{elem_type} {path_points}")
+ return " ".join(output)
+
+
+@unittest.skipUnless(PYOBJC_AVAILABLE, "pyobjc not installed")
+class CocoaPenTest(unittest.TestCase):
+ def test_draw(self):
+ pen = CocoaPen(None)
+ draw(pen)
+ self.assertEqual(
+ "moveto 50.0 0.0 lineto 50.0 500.0 lineto 200.0 500.0 curveto 350.0 500.0 450.0 400.0 450.0 250.0 curveto 450.0 100.0 350.0 0.0 200.0 0.0 close ",
+ cocoaPathToString(pen.path)
+ )
+
+ def test_empty(self):
+ pen = CocoaPen(None)
+ self.assertEqual("", cocoaPathToString(pen.path))
+
+
+if __name__ == '__main__':
+ import sys
+ sys.exit(unittest.main())
diff --git a/Tests/pens/quartzPen_test.py b/Tests/pens/quartzPen_test.py
new file mode 100644
index 00000000..12fbd292
--- /dev/null
+++ b/Tests/pens/quartzPen_test.py
@@ -0,0 +1,79 @@
+from fontTools.misc.py23 import *
+import unittest
+
+try:
+ from fontTools.pens.quartzPen import QuartzPen
+
+ from Quartz.CoreGraphics import CGPathApply
+ from Quartz.CoreGraphics import kCGPathElementMoveToPoint
+ from Quartz.CoreGraphics import kCGPathElementAddLineToPoint
+ from Quartz.CoreGraphics import kCGPathElementAddQuadCurveToPoint
+ from Quartz.CoreGraphics import kCGPathElementAddCurveToPoint
+ from Quartz.CoreGraphics import kCGPathElementCloseSubpath
+
+ PATH_ELEMENTS = {
+ # CG constant key desc num_points
+ kCGPathElementMoveToPoint: ('moveto', 1),
+ kCGPathElementAddLineToPoint: ('lineto', 1),
+ kCGPathElementAddCurveToPoint: ('curveto', 3),
+ kCGPathElementAddQuadCurveToPoint: ('qcurveto', 2),
+ kCGPathElementCloseSubpath: ('close', 0),
+ }
+
+ PYOBJC_AVAILABLE = True
+except ImportError:
+ PYOBJC_AVAILABLE = False
+
+
+def draw(pen):
+ pen.moveTo((50, 0))
+ pen.lineTo((50, 500))
+ pen.lineTo((200, 500))
+ pen.curveTo((350, 500), (450, 400), (450, 250))
+ pen.curveTo((450, 100), (350, 0), (200, 0))
+ pen.closePath()
+
+
+def quartzPathApplier(elements, element):
+ num_points = 0
+ elem_type = None
+ if element.type in PATH_ELEMENTS:
+ num_points = PATH_ELEMENTS[element.type][1]
+ elem_type = PATH_ELEMENTS[element.type][0]
+ elements.append((elem_type, element.points.as_tuple(num_points)))
+
+
+def quartzPathElements(path):
+ elements = []
+ CGPathApply(path, elements, quartzPathApplier)
+ return elements
+
+
+def quartzPathToString(path):
+ elements = quartzPathElements(path)
+ output = []
+ for element in elements:
+ elem_type, elem_points = element
+ path_points = " ".join([f"{p.x} {p.y}" for p in elem_points])
+ output.append(f"{elem_type} {path_points}")
+ return " ".join(output)
+
+
+@unittest.skipUnless(PYOBJC_AVAILABLE, "pyobjc not installed")
+class QuartzPenTest(unittest.TestCase):
+ def test_draw(self):
+ pen = QuartzPen(None)
+ draw(pen)
+ self.assertEqual(
+ "moveto 50.0 0.0 lineto 50.0 500.0 lineto 200.0 500.0 curveto 350.0 500.0 450.0 400.0 450.0 250.0 curveto 450.0 100.0 350.0 0.0 200.0 0.0 close ",
+ quartzPathToString(pen.path)
+ )
+
+ def test_empty(self):
+ pen = QuartzPen(None)
+ self.assertEqual("", quartzPathToString(pen.path))
+
+
+if __name__ == '__main__':
+ import sys
+ sys.exit(unittest.main())
diff --git a/Tests/subset/data/expect_layout_scripts.ttx b/Tests/subset/data/expect_layout_scripts.ttx
new file mode 100644
index 00000000..f3eea822
--- /dev/null
+++ b/Tests/subset/data/expect_layout_scripts.ttx
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ttFont>
+
+ <GPOS>
+ <Version value="0x00010000"/>
+ <ScriptList>
+ <!-- ScriptCount=0 -->
+ </ScriptList>
+ <FeatureList>
+ <!-- FeatureCount=0 -->
+ </FeatureList>
+ <LookupList>
+ <!-- LookupCount=0 -->
+ </LookupList>
+ </GPOS>
+
+ <GSUB>
+ <Version value="0x00010000"/>
+ <ScriptList>
+ <!-- ScriptCount=2 -->
+ <ScriptRecord index="0">
+ <ScriptTag value="arab"/>
+ <Script>
+ <DefaultLangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=1 -->
+ <FeatureIndex index="0" value="2"/>
+ </DefaultLangSys>
+ <!-- LangSysCount=1 -->
+ <LangSysRecord index="0">
+ <LangSysTag value="URD "/>
+ <LangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=2 -->
+ <FeatureIndex index="0" value="1"/>
+ <FeatureIndex index="1" value="2"/>
+ </LangSys>
+ </LangSysRecord>
+ </Script>
+ </ScriptRecord>
+ <ScriptRecord index="1">
+ <ScriptTag value="latn"/>
+ <Script>
+ <DefaultLangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=1 -->
+ <FeatureIndex index="0" value="2"/>
+ </DefaultLangSys>
+ <!-- LangSysCount=1 -->
+ <LangSysRecord index="0">
+ <LangSysTag value="TRK "/>
+ <LangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=2 -->
+ <FeatureIndex index="0" value="0"/>
+ <FeatureIndex index="1" value="2"/>
+ </LangSys>
+ </LangSysRecord>
+ </Script>
+ </ScriptRecord>
+ </ScriptList>
+ <FeatureList>
+ <!-- FeatureCount=3 -->
+ <FeatureRecord index="0">
+ <FeatureTag value="locl"/>
+ <Feature>
+ <!-- LookupCount=1 -->
+ <LookupListIndex index="0" value="2"/>
+ </Feature>
+ </FeatureRecord>
+ <FeatureRecord index="1">
+ <FeatureTag value="locl"/>
+ <Feature>
+ <!-- LookupCount=1 -->
+ <LookupListIndex index="0" value="0"/>
+ </Feature>
+ </FeatureRecord>
+ <FeatureRecord index="2">
+ <FeatureTag value="numr"/>
+ <Feature>
+ <!-- LookupCount=1 -->
+ <LookupListIndex index="0" value="1"/>
+ </Feature>
+ </FeatureRecord>
+ </FeatureList>
+ <LookupList>
+ <!-- LookupCount=3 -->
+ <Lookup index="0">
+ <LookupType value="1"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <SingleSubst index="0" Format="2">
+ <Substitution in="uni06F4" out="uni06F4.urd"/>
+ <Substitution in="uni06F6" out="uni06F6.urd"/>
+ <Substitution in="uni06F7" out="uni06F7.urd"/>
+ </SingleSubst>
+ </Lookup>
+ <Lookup index="1">
+ <LookupType value="1"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <SingleSubst index="0" Format="1">
+ <Substitution in="uni06F0" out="uni06F0.numr"/>
+ <Substitution in="uni06F1" out="uni06F1.numr"/>
+ <Substitution in="uni06F2" out="uni06F2.numr"/>
+ <Substitution in="uni06F3" out="uni06F3.numr"/>
+ <Substitution in="uni06F4" out="uni06F4.numr"/>
+ <Substitution in="uni06F4.urd" out="uni06F4.urd.numr"/>
+ <Substitution in="uni06F5" out="uni06F5.numr"/>
+ <Substitution in="uni06F6" out="uni06F6.numr"/>
+ <Substitution in="uni06F6.urd" out="uni06F6.urd.numr"/>
+ <Substitution in="uni06F7" out="uni06F7.numr"/>
+ <Substitution in="uni06F7.urd" out="uni06F7.urd.numr"/>
+ <Substitution in="uni06F8" out="uni06F8.numr"/>
+ <Substitution in="uni06F9" out="uni06F9.numr"/>
+ </SingleSubst>
+ </Lookup>
+ <Lookup index="2">
+ <LookupType value="1"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <SingleSubst index="0" Format="1">
+ <Substitution in="i" out="i.TRK"/>
+ </SingleSubst>
+ </Lookup>
+ </LookupList>
+ </GSUB>
+
+</ttFont>
diff --git a/Tests/subset/data/layout_scripts.ttx b/Tests/subset/data/layout_scripts.ttx
new file mode 100644
index 00000000..37b2fd81
--- /dev/null
+++ b/Tests/subset/data/layout_scripts.ttx
@@ -0,0 +1,997 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ttFont sfntVersion="OTTO" ttLibVersion="4.17">
+
+ <GlyphOrder>
+ <!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
+ <GlyphID id="0" name=".notdef"/>
+ <GlyphID id="1" name="i"/>
+ <GlyphID id="2" name="uni06F0"/>
+ <GlyphID id="3" name="uni06F1"/>
+ <GlyphID id="4" name="uni06F2"/>
+ <GlyphID id="5" name="uni06F3"/>
+ <GlyphID id="6" name="uni06F4"/>
+ <GlyphID id="7" name="uni06F5"/>
+ <GlyphID id="8" name="uni06F6"/>
+ <GlyphID id="9" name="uni06F7"/>
+ <GlyphID id="10" name="uni06F8"/>
+ <GlyphID id="11" name="uni06F9"/>
+ <GlyphID id="12" name="uni06F4.urd"/>
+ <GlyphID id="13" name="uni06F6.urd"/>
+ <GlyphID id="14" name="uni06F7.urd"/>
+ <GlyphID id="15" name="uni06F0.numr"/>
+ <GlyphID id="16" name="uni06F1.numr"/>
+ <GlyphID id="17" name="uni06F2.numr"/>
+ <GlyphID id="18" name="uni06F3.numr"/>
+ <GlyphID id="19" name="uni06F4.numr"/>
+ <GlyphID id="20" name="uni06F5.numr"/>
+ <GlyphID id="21" name="uni06F6.numr"/>
+ <GlyphID id="22" name="uni06F7.numr"/>
+ <GlyphID id="23" name="uni06F8.numr"/>
+ <GlyphID id="24" name="uni06F9.numr"/>
+ <GlyphID id="25" name="uni06F4.urd.numr"/>
+ <GlyphID id="26" name="uni06F6.urd.numr"/>
+ <GlyphID id="27" name="uni06F7.urd.numr"/>
+ <GlyphID id="28" name="i.TRK"/>
+ </GlyphOrder>
+
+ <head>
+ <!-- Most of this table will be recalculated by the compiler -->
+ <tableVersion value="1.0"/>
+ <fontRevision value="0.114"/>
+ <checkSumAdjustment value="0xe87b6e18"/>
+ <magicNumber value="0x5f0f3cf5"/>
+ <flags value="00000000 00000011"/>
+ <unitsPerEm value="1000"/>
+ <created value="Fri May 7 21:08:01 2010"/>
+ <modified value="Thu Jan 1 00:00:00 1970"/>
+ <xMin value="-581"/>
+ <yMin value="-898"/>
+ <xMax value="11462"/>
+ <yMax value="1814"/>
+ <macStyle value="00000000 00000000"/>
+ <lowestRecPPEM value="6"/>
+ <fontDirectionHint value="2"/>
+ <indexToLocFormat value="0"/>
+ <glyphDataFormat value="0"/>
+ </head>
+
+ <hhea>
+ <tableVersion value="0x00010000"/>
+ <ascent value="1124"/>
+ <descent value="-634"/>
+ <lineGap value="0"/>
+ <advanceWidthMax value="11435"/>
+ <minLeftSideBearing value="-581"/>
+ <minRightSideBearing value="-970"/>
+ <xMaxExtent value="11462"/>
+ <caretSlopeRise value="1"/>
+ <caretSlopeRun value="0"/>
+ <caretOffset value="0"/>
+ <reserved0 value="0"/>
+ <reserved1 value="0"/>
+ <reserved2 value="0"/>
+ <reserved3 value="0"/>
+ <metricDataFormat value="0"/>
+ <numberOfHMetrics value="29"/>
+ </hhea>
+
+ <maxp>
+ <tableVersion value="0x5000"/>
+ <numGlyphs value="29"/>
+ </maxp>
+
+ <OS_2>
+ <!-- The fields 'usFirstCharIndex' and 'usLastCharIndex'
+ will be recalculated by the compiler -->
+ <version value="4"/>
+ <xAvgCharWidth value="456"/>
+ <usWeightClass value="400"/>
+ <usWidthClass value="5"/>
+ <fsType value="00000000 00000000"/>
+ <ySubscriptXSize value="650"/>
+ <ySubscriptYSize value="600"/>
+ <ySubscriptXOffset value="0"/>
+ <ySubscriptYOffset value="75"/>
+ <ySuperscriptXSize value="650"/>
+ <ySuperscriptYSize value="600"/>
+ <ySuperscriptXOffset value="0"/>
+ <ySuperscriptYOffset value="350"/>
+ <yStrikeoutSize value="50"/>
+ <yStrikeoutPosition value="260"/>
+ <sFamilyClass value="0"/>
+ <panose>
+ <bFamilyType value="0"/>
+ <bSerifStyle value="0"/>
+ <bWeight value="5"/>
+ <bProportion value="0"/>
+ <bContrast value="0"/>
+ <bStrokeVariation value="0"/>
+ <bArmStyle value="0"/>
+ <bLetterForm value="0"/>
+ <bMidline value="0"/>
+ <bXHeight value="0"/>
+ </panose>
+ <ulUnicodeRange1 value="00000000 00000000 00100000 00000001"/>
+ <ulUnicodeRange2 value="00000000 00000000 00000000 00000000"/>
+ <ulUnicodeRange3 value="00000000 00000000 00000000 00000000"/>
+ <ulUnicodeRange4 value="00000000 00000000 00000000 00000000"/>
+ <achVendID value="ALIF"/>
+ <fsSelection value="00000000 11000000"/>
+ <usFirstCharIndex value="105"/>
+ <usLastCharIndex value="1785"/>
+ <sTypoAscender value="1124"/>
+ <sTypoDescender value="-634"/>
+ <sTypoLineGap value="0"/>
+ <usWinAscent value="1814"/>
+ <usWinDescent value="897"/>
+ <ulCodePageRange1 value="00000000 00000000 00000000 11010011"/>
+ <ulCodePageRange2 value="00000000 00001000 00000000 00000000"/>
+ <sxHeight value="433"/>
+ <sCapHeight value="646"/>
+ <usDefaultChar value="0"/>
+ <usBreakChar value="32"/>
+ <usMaxContext value="8"/>
+ </OS_2>
+
+ <name>
+ <namerecord nameID="0" platformID="3" platEncID="1" langID="0x409">
+ Copyright 2010-2020 The Amiri Project Authors (https://github.com/alif-type/amiri).
+ </namerecord>
+ <namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
+ Amiri
+ </namerecord>
+ <namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
+ Regular
+ </namerecord>
+ <namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
+ 0.114;ALIF;Amiri-Regular
+ </namerecord>
+ <namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
+ Amiri Regular
+ </namerecord>
+ <namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
+ Version 0.114
+ </namerecord>
+ <namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
+ Amiri-Regular
+ </namerecord>
+ </name>
+
+ <cmap>
+ <tableVersion version="0"/>
+ <cmap_format_4 platformID="0" platEncID="3" language="0">
+ <map code="0x69" name="i"/><!-- LATIN SMALL LETTER I -->
+ <map code="0x6f0" name="uni06F0"/><!-- EXTENDED ARABIC-INDIC DIGIT ZERO -->
+ <map code="0x6f1" name="uni06F1"/><!-- EXTENDED ARABIC-INDIC DIGIT ONE -->
+ <map code="0x6f2" name="uni06F2"/><!-- EXTENDED ARABIC-INDIC DIGIT TWO -->
+ <map code="0x6f3" name="uni06F3"/><!-- EXTENDED ARABIC-INDIC DIGIT THREE -->
+ <map code="0x6f4" name="uni06F4"/><!-- EXTENDED ARABIC-INDIC DIGIT FOUR -->
+ <map code="0x6f5" name="uni06F5"/><!-- EXTENDED ARABIC-INDIC DIGIT FIVE -->
+ <map code="0x6f6" name="uni06F6"/><!-- EXTENDED ARABIC-INDIC DIGIT SIX -->
+ <map code="0x6f7" name="uni06F7"/><!-- EXTENDED ARABIC-INDIC DIGIT SEVEN -->
+ <map code="0x6f8" name="uni06F8"/><!-- EXTENDED ARABIC-INDIC DIGIT EIGHT -->
+ <map code="0x6f9" name="uni06F9"/><!-- EXTENDED ARABIC-INDIC DIGIT NINE -->
+ </cmap_format_4>
+ <cmap_format_12 platformID="0" platEncID="4" format="12" reserved="0" length="40" language="0" nGroups="2">
+ <map code="0x69" name="i"/><!-- LATIN SMALL LETTER I -->
+ <map code="0x6f0" name="uni06F0"/><!-- EXTENDED ARABIC-INDIC DIGIT ZERO -->
+ <map code="0x6f1" name="uni06F1"/><!-- EXTENDED ARABIC-INDIC DIGIT ONE -->
+ <map code="0x6f2" name="uni06F2"/><!-- EXTENDED ARABIC-INDIC DIGIT TWO -->
+ <map code="0x6f3" name="uni06F3"/><!-- EXTENDED ARABIC-INDIC DIGIT THREE -->
+ <map code="0x6f4" name="uni06F4"/><!-- EXTENDED ARABIC-INDIC DIGIT FOUR -->
+ <map code="0x6f5" name="uni06F5"/><!-- EXTENDED ARABIC-INDIC DIGIT FIVE -->
+ <map code="0x6f6" name="uni06F6"/><!-- EXTENDED ARABIC-INDIC DIGIT SIX -->
+ <map code="0x6f7" name="uni06F7"/><!-- EXTENDED ARABIC-INDIC DIGIT SEVEN -->
+ <map code="0x6f8" name="uni06F8"/><!-- EXTENDED ARABIC-INDIC DIGIT EIGHT -->
+ <map code="0x6f9" name="uni06F9"/><!-- EXTENDED ARABIC-INDIC DIGIT NINE -->
+ </cmap_format_12>
+ <cmap_format_4 platformID="3" platEncID="1" language="0">
+ <map code="0x69" name="i"/><!-- LATIN SMALL LETTER I -->
+ <map code="0x6f0" name="uni06F0"/><!-- EXTENDED ARABIC-INDIC DIGIT ZERO -->
+ <map code="0x6f1" name="uni06F1"/><!-- EXTENDED ARABIC-INDIC DIGIT ONE -->
+ <map code="0x6f2" name="uni06F2"/><!-- EXTENDED ARABIC-INDIC DIGIT TWO -->
+ <map code="0x6f3" name="uni06F3"/><!-- EXTENDED ARABIC-INDIC DIGIT THREE -->
+ <map code="0x6f4" name="uni06F4"/><!-- EXTENDED ARABIC-INDIC DIGIT FOUR -->
+ <map code="0x6f5" name="uni06F5"/><!-- EXTENDED ARABIC-INDIC DIGIT FIVE -->
+ <map code="0x6f6" name="uni06F6"/><!-- EXTENDED ARABIC-INDIC DIGIT SIX -->
+ <map code="0x6f7" name="uni06F7"/><!-- EXTENDED ARABIC-INDIC DIGIT SEVEN -->
+ <map code="0x6f8" name="uni06F8"/><!-- EXTENDED ARABIC-INDIC DIGIT EIGHT -->
+ <map code="0x6f9" name="uni06F9"/><!-- EXTENDED ARABIC-INDIC DIGIT NINE -->
+ </cmap_format_4>
+ <cmap_format_12 platformID="3" platEncID="10" format="12" reserved="0" length="40" language="0" nGroups="2">
+ <map code="0x69" name="i"/><!-- LATIN SMALL LETTER I -->
+ <map code="0x6f0" name="uni06F0"/><!-- EXTENDED ARABIC-INDIC DIGIT ZERO -->
+ <map code="0x6f1" name="uni06F1"/><!-- EXTENDED ARABIC-INDIC DIGIT ONE -->
+ <map code="0x6f2" name="uni06F2"/><!-- EXTENDED ARABIC-INDIC DIGIT TWO -->
+ <map code="0x6f3" name="uni06F3"/><!-- EXTENDED ARABIC-INDIC DIGIT THREE -->
+ <map code="0x6f4" name="uni06F4"/><!-- EXTENDED ARABIC-INDIC DIGIT FOUR -->
+ <map code="0x6f5" name="uni06F5"/><!-- EXTENDED ARABIC-INDIC DIGIT FIVE -->
+ <map code="0x6f6" name="uni06F6"/><!-- EXTENDED ARABIC-INDIC DIGIT SIX -->
+ <map code="0x6f7" name="uni06F7"/><!-- EXTENDED ARABIC-INDIC DIGIT SEVEN -->
+ <map code="0x6f8" name="uni06F8"/><!-- EXTENDED ARABIC-INDIC DIGIT EIGHT -->
+ <map code="0x6f9" name="uni06F9"/><!-- EXTENDED ARABIC-INDIC DIGIT NINE -->
+ </cmap_format_12>
+ </cmap>
+
+ <post>
+ <formatType value="3.0"/>
+ <italicAngle value="0.0"/>
+ <underlinePosition value="-512"/>
+ <underlineThickness value="50"/>
+ <isFixedPitch value="0"/>
+ <minMemType42 value="0"/>
+ <maxMemType42 value="0"/>
+ <minMemType1 value="0"/>
+ <maxMemType1 value="0"/>
+ </post>
+
+ <CFF>
+ <major value="1"/>
+ <minor value="0"/>
+ <CFFFont name="Amiri-Regular">
+ <version value="0.114"/>
+ <Copyright value="Copyright 2010-2020 The Amiri Project Authors https:github.comalif-typeamiri."/>
+ <FullName value="Amiri"/>
+ <FamilyName value="Amiri"/>
+ <Weight value="Regular"/>
+ <isFixedPitch value="0"/>
+ <ItalicAngle value="0"/>
+ <UnderlinePosition value="-512"/>
+ <UnderlineThickness value="50"/>
+ <PaintType value="0"/>
+ <CharstringType value="2"/>
+ <FontMatrix value="0.001 0 0 0.001 0 0"/>
+ <FontBBox value="-581 -898 11462 1814"/>
+ <StrokeWidth value="0"/>
+ <!-- charset is dumped separately as the 'GlyphOrder' element -->
+ <Encoding name="StandardEncoding"/>
+ <Private>
+ <BlueScale value="0.039625"/>
+ <BlueShift value="7"/>
+ <BlueFuzz value="1"/>
+ <ForceBold value="0"/>
+ <LanguageGroup value="0"/>
+ <ExpansionFactor value="0.06"/>
+ <initialRandomSeed value="0"/>
+ <defaultWidthX value="0"/>
+ <nominalWidthX value="253"/>
+ <Subrs>
+ <!-- The 'index' attribute is only for humans; it is ignored when parsed. -->
+ <CharString index="0">
+ 3 2 3 1 vhcurveto
+ endchar
+ </CharString>
+ <CharString index="1">
+ 177 113 -106 callgsubr
+ return
+ </CharString>
+ <CharString index="2">
+ 487 531 rmoveto
+ -5 -82 -21 -36 -38 10 -36 10 -16 18 5 25 5 25 1 18 -2 8 -2 8 -5 5 -8 1 -8 1 -4 -7 -3 -13 -14 -69 -26 -36 -40 -4 -29 -3 -23 4 -19 11 rrcurveto
+ -8 5 -24 31 -39 57 -17 26 -12 0 -6 -23 -25 -101 rcurveline
+ -3 -13 5 -16 14 -20 79 -117 45 -148 11 -178 1 -8 2 -6 4 -3 4 -3 4 0 6 2 6 2 3 4 2 7 20 79 -11 123 -42 169 39 -3 35 16 32 35 rrcurveto
+ 14 -11 17 -9 20 -6 63 -20 40 23 18 65 13 49 7 46 2 41 rrcurveto
+ 20 1 -6 9 -10 hhcurveto
+ -10 -5 -6 -12 -1 hvcurveto
+ endchar
+ </CharString>
+ <CharString index="3">
+ rmoveto
+ -45 13 -33 20 -23 28 -3 4 0 3 3 3 27 30 33 15 38 -1 rrcurveto
+ 28 20 -8 -13 13 hvcurveto
+ 5 -5 3 0 4 2 3 1 0 3 -1 6 -6 13 -11 16 -15 16 rrcurveto
+ 14 -13 -14 7 -14 hhcurveto
+ -30 -33 -21 -43 -37 hvcurveto
+ -15 -19 -12 -20 -7 -23 -3 -7 1 -9 3 -8 11 -25 31 -23 53 -19 -51 -45 -38 -53 -24 -60 -5 -12 -1 -6 5 -1 6 -3 7 4 7 10 26 40 32 36 34 30 rrcurveto
+ 37 33 37 24 37 16 10 4 7 8 4 13 16 50 rcurveline
+ 4 10 -5 3 -12 -4 -18 -7 -23 -14 -28 -22 -7 -5 -9 -2 -9 3 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="4">
+ 311 -77 rmoveto
+ 21 89 26 81 29 73 29 73 39 74 45 76 rrcurveto
+ 6 11 2 9 8 vvcurveto
+ -6 97 rlineto
+ 9 -1 -2 4 -5 hhcurveto
+ -5 -5 -6 -10 -5 hvcurveto
+ -79 -149 -53 -135 -27 -121 -4 -19 -7 2 -7 21 -55 159 -61 140 -70 124 -11 20 -8 -8 -5 -35 -13 -81 rcurveline
+ -2 -10 1 -8 3 -6 57 -95 46 -93 38 -90 38 -90 20 -68 2 -45 rrcurveto
+ -7 3 -4 4 -3 vhcurveto
+ 4 -3 4 0 5 2 5 2 2 5 2 7 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="5">
+ rmoveto
+ 19 69 -12 87 -41 106 -10 24 -4 14 2 3 rrcurveto
+ 10 10 11 5 12 hhcurveto
+ 31 25 -26 -51 20 hvcurveto
+ 2 -3 1 -2 3 -1 rrcurveto
+ 2 2 1 3 2 hvcurveto
+ 12 34 21 34 28 35 2 2 2 4 1 4 14 51 rcurveline
+ 3 0 2 -3 1 vhcurveto
+ -3 1 -2 -1 -4 -3 -24 -22 -21 -32 -16 -43 -22 49 -28 24 -36 -2 -32 -1 -21 -19 -12 -38 -12 -39 2 -39 13 -38 29 -80 17 -68 4 -55 rrcurveto
+ -6 3 -2 4 5 -107 callsubr
+ </CharString>
+ <CharString index="6">
+ 158 296 -95 callgsubr
+ </CharString>
+ <CharString index="7">
+ 136 657 rmoveto
+ -13 -53 -16 -49 -17 -44 -18 -43 -22 -44 -27 -46 rrcurveto
+ -4 -6 -1 -6 -5 vvcurveto
+ 3 -58 rlineto
+ -6 2 -2 3 3 3 3 6 3 vhcurveto
+ 48 90 31 81 17 72 2 12 4 -1 4 -13 33 -95 37 -84 42 -75 7 -12 4 5 3 21 8 49 rcurveline
+ 1 6 0 4 -2 4 -34 57 -28 56 -23 54 -22 54 -12 41 -2 27 rrcurveto
+ 4 -1 3 -3 2 vhcurveto
+ -2 1 -3 0 -3 -1 -3 -1 -1 -4 -1 -4 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="8">
+ 220 500 rmoveto
+ -67 -86 -32 -66 2 -47 4 -86 75 -35 146 14 5 -82 22 -87 39 -91 15 -35 9 -2 6 33 18 105 rcurveline
+ 3 15 -3 16 -10 18 -32 59 -18 73 -3 86 -3 87 -16 66 -32 45 -39 56 -43 0 -46 -56 rrcurveto
+ 102 -152 rmoveto
+ 6 -19 -1 -13 -6 -6 rrcurveto
+ -2 -3 -3 -2 -5 hhcurveto
+ -50 -3 -36 6 -22 14 -16 10 -5 16 7 21 12 39 24 15 36 -10 30 -9 21 -22 11 -35 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="9">
+ 53 654 -94 callgsubr
+ </CharString>
+ <CharString index="10">
+ 38 655 -88 callgsubr
+ </CharString>
+ <CharString index="11">
+ hhcurveto
+ 54 3 49 -4 45 -12 5 -1 4 0 2 1 54 31 rcurveline
+ 10 6 0 4 -10 3 -61 14 -61 3 -60 -9 57 83 42 104 25 126 1 7 0 5 -2 2 -2 2 -3 -1 -4 -4 -40 -41 rcurveline
+ -4 -3 -3 -6 -1 -7 -25 -113 -35 -98 -45 -84 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="12">
+ 119 655 -85 callgsubr
+ </CharString>
+ <CharString index="13">
+ 4 -4 5 0 6 2 6 2 3 5 1 7 20 return
+ </CharString>
+ <CharString index="14">
+ -3 -13 4 -15 12 -19 return
+ </CharString>
+ </Subrs>
+ </Private>
+ <CharStrings>
+ <CharString name=".notdef">
+ 111 endchar
+ </CharString>
+ <CharString name="i">
+ 10 -106 callsubr
+ -94 466 -80 callgsubr
+ </CharString>
+ <CharString name="i.TRK">
+ 10 -106 callsubr
+ -94 466 -80 callgsubr
+ </CharString>
+ <CharString name="uni06F0">
+ 332 -84 callgsubr
+ </CharString>
+ <CharString name="uni06F0.numr">
+ 39 -82 callgsubr
+ </CharString>
+ <CharString name="uni06F1">
+ 332 -87 callgsubr
+ </CharString>
+ <CharString name="uni06F1.numr">
+ 39 -95 callsubr
+ </CharString>
+ <CharString name="uni06F2">
+ 332 -97 callgsubr
+ </CharString>
+ <CharString name="uni06F2.numr">
+ 39 -98 callsubr
+ </CharString>
+ <CharString name="uni06F3">
+ 332 -105 callsubr
+ </CharString>
+ <CharString name="uni06F3.numr">
+ 39 263 662 -107 callgsubr
+ </CharString>
+ <CharString name="uni06F4">
+ 332 175 515 rmoveto
+ -12 19 -10 8 -7 -1 -4 -2 -4 -5 -2 -10 -25 -105 rcurveline
+ -93 callsubr
+ 83 -128 46 -149 7 -168 rrcurveto
+ -7 3 -5 4 -4 vhcurveto
+ -94 callsubr
+ 98 -4 110 -26 122 26 -13 33 -5 38 3 63 5 49 28 34 54 9 14 1 10 -7 7 -6 5 -9 -3 -13 -11 rrcurveto
+ -21 -18 -39 -7 -56 3 -38 2 -39 18 -40 34 20 66 50 34 83 1 rrcurveto
+ 26 35 -15 -31 42 hvcurveto
+ 10 -7 6 0 5 7 3 5 -2 9 -7 14 -35 66 -40 33 -44 -3 -76 -5 -57 -50 -40 -93 -4 -11 -5 0 -5 11 -11 28 -19 35 -27 42 rrcurveto
+ endchar
+ </CharString>
+ <CharString name="uni06F4.numr">
+ 39 76 651 rmoveto
+ -12 19 -8 1 -3 -15 -15 -63 rcurveline
+ -2 -7 2 -9 7 -12 50 -77 28 -89 4 -101 rrcurveto
+ -4 2 -3 2 -2 vhcurveto
+ 3 -3 3 0 3 1 rrcurveto
+ 4 2 2 3 4 vvcurveto
+ 12 59 -2 66 -16 73 16 -8 20 -3 22 2 38 3 30 17 20 32 5 8 1 6 -4 5 -4 3 -5 -2 -8 -7 -13 -11 -23 -4 -34 2 -22 1 -24 11 -24 20 rrcurveto
+ 12 40 30 20 50 1 rrcurveto
+ 16 21 -9 -19 25 hvcurveto
+ 6 -4 3 0 3 4 2 3 -1 6 -4 8 -21 40 -24 20 -27 -2 -45 -3 -34 -30 -24 -56 -3 -7 -3 0 -3 7 -6 17 -12 21 -16 25 rrcurveto
+ endchar
+ </CharString>
+ <CharString name="uni06F4.urd">
+ 332 229 -83 rmoveto
+ 31 115 -20 145 -69 177 -16 40 -6 23 3 4 rrcurveto
+ 18 16 19 8 19 hhcurveto
+ 52 -1 42 -43 34 -84 2 -6 3 -3 5 -1 3 -1 3 2 3 5 21 57 34 57 47 57 3 4 3 6 2 7 23 85 rcurveline
+ 1 6 -1 3 -5 2 -4 1 -4 -2 -6 -5 -41 -36 -34 -53 -27 -73 -36 82 -48 40 -59 -3 -53 -2 -36 -32 -19 -62 -20 -65 2 -65 22 -64 49 -133 28 -114 6 -92 rrcurveto
+ -9 1 4 -4 8 hhcurveto
+ 8 5 3 6 2 hvcurveto
+ endchar
+ </CharString>
+ <CharString name="uni06F4.urd.numr">
+ 39 108 303 -102 callsubr
+ </CharString>
+ <CharString name="uni06F5">
+ 332 235 526 rmoveto
+ -12 12 -8 -2 -2 -16 -17 -121 rcurveline
+ -2 -15 3 -8 7 -4 8 -4 8 -5 7 -5 -75 -103 -42 -88 -8 -76 -11 -105 29 -55 68 -6 39 -3 34 17 31 36 16 -26 28 -10 40 7 54 9 33 60 13 110 rrcurveto
+ 5 39 -17 59 -39 78 -29 58 -63 75 -98 92 rrcurveto
+ 16 -184 rmoveto
+ 76 -52 58 -68 42 -83 6 -12 2 -10 -4 -10 -10 -27 -17 -15 -23 -3 -17 -2 -14 3 -12 8 -1 7 1 6 3 5 -1 6 -3 4 -4 2 -5 2 -5 -3 -6 -6 rrcurveto
+ -64 -62 -52 -8 -40 45 -20 23 2 44 25 64 15 38 27 48 41 56 rrcurveto
+ endchar
+ </CharString>
+ <CharString name="uni06F5.numr">
+ 39 112 656 -99 callgsubr
+ </CharString>
+ <CharString name="uni06F6">
+ 332 331 285 rmoveto
+ -74 21 -56 34 -37 47 -5 6 0 5 5 5 45 50 54 25 63 -1 47 -1 34 -12 22 -23 7 -7 6 -1 6 3 5 3 1 5 -3 9 -9 22 -18 26 -26 28 rrcurveto
+ 23 -22 -22 11 -24 hhcurveto
+ -50 -55 -35 -72 -61 hvcurveto
+ -26 -31 -20 -33 -12 -38 -4 -13 1 -14 5 -13 18 -43 52 -37 88 -32 -85 -75 -62 -88 -41 -100 -8 -20 -1 -10 8 -3 10 -4 12 7 11 16 44 66 52 60 58 51 rrcurveto
+ 61 54 61 41 62 26 17 7 12 14 7 21 26 83 rcurveline
+ 6 17 -8 5 -20 -7 -30 -11 -38 -24 -47 -36 -12 -9 -14 -3 -16 5 rrcurveto
+ endchar
+ </CharString>
+ <CharString name="uni06F6.numr">
+ 39 170 512 -104 callsubr
+ </CharString>
+ <CharString name="uni06F6.urd">
+ 332 -90 callgsubr
+ </CharString>
+ <CharString name="uni06F6.urd.numr">
+ 39 -97 callsubr
+ </CharString>
+ <CharString name="uni06F7">
+ 332 -103 callsubr
+ </CharString>
+ <CharString name="uni06F7.numr">
+ 39 -101 callsubr
+ </CharString>
+ <CharString name="uni06F7.urd">
+ 332 104 -50 rmoveto
+ -3 -6 -1 -5 2 -3 2 -3 4 -2 8 1 90 5 83 -7 75 -20 8 -2 6 0 4 2 89 51 rcurveline
+ 18 10 0 8 -18 4 -101 23 -101 5 -100 -15 95 139 69 174 42 210 2 11 0 8 -3 3 -4 4 -5 -2 -6 -6 -68 -68 rcurveline
+ -6 -6 -5 -10 -2 -12 -42 -188 -58 -163 -74 -140 rrcurveto
+ endchar
+ </CharString>
+ <CharString name="uni06F7.urd.numr">
+ 39 33 312 rmoveto
+ -8 -4 3 -3 9 -96 callsubr
+ </CharString>
+ <CharString name="uni06F8">
+ 332 -98 callgsubr
+ </CharString>
+ <CharString name="uni06F8.numr">
+ 39 -100 callsubr
+ </CharString>
+ <CharString name="uni06F9">
+ 332 -99 callsubr
+ </CharString>
+ <CharString name="uni06F9.numr">
+ 39 -93 callgsubr
+ </CharString>
+ </CharStrings>
+ </CFFFont>
+
+ <GlobalSubrs>
+ <!-- The 'index' attribute is only for humans; it is ignored when parsed. -->
+ <CharString index="0">
+ rmoveto
+ -3 -50 -12 -21 -23 6 -22 6 -9 11 3 15 3 15 0 10 -1 5 -1 5 -3 3 -5 1 rrcurveto
+ -5 -2 -4 -8 -2 hvcurveto
+ -8 -41 -16 -22 -24 -2 -17 -2 -14 2 -12 7 -4 3 -15 19 -23 34 -10 15 -8 0 -3 -13 -15 -61 rcurveline
+ -2 -8 3 -9 8 -12 48 -71 27 -88 6 -107 1 -5 1 -4 3 -1 2 -2 2 0 4 1 4 1 1 3 2 4 12 47 -7 74 -25 101 23 -1 21 9 19 21 rrcurveto
+ 9 -6 10 -6 12 -3 38 -12 24 13 11 39 7 30 5 27 1 25 rrcurveto
+ 12 -3 5 -6 -6 -3 -3 -7 -1 vhcurveto
+ endchar
+ </CharString>
+ <CharString index="1">
+ rmoveto
+ 237 vlineto
+ -92 callgsubr
+ return
+ </CharString>
+ <CharString index="2">
+ vlineto
+ -29 0 -27 -5 -16 -102 callgsubr
+ -46 -77 callgsubr
+ vvcurveto
+ return
+ </CharString>
+ <CharString index="3">
+ rmoveto
+ -100 callgsubr
+ return
+ </CharString>
+ <CharString index="4">
+ -81 callgsubr
+ 49 0 -17 7 hvcurveto
+ 5 -12 0 return
+ </CharString>
+ <CharString index="5">
+ vhcurveto
+ -11 -3 -47 -74 callgsubr
+ 26 -79 callgsubr
+ 26 -78 callgsubr
+ return
+ </CharString>
+ <CharString index="6">
+ 5 5 -1 18 -4 5 rrcurveto
+ -12 return
+ </CharString>
+ <CharString index="7">
+ -27 22 -22 27 27 22 22 27 27 -22 22 -27 -27 -22 -22 -27 vhcurveto
+ return
+ </CharString>
+ <CharString index="8">
+ rmoveto
+ -7 7 -5 -1 -1 -10 -10 -73 rcurveline
+ -2 -9 2 -4 4 -3 5 -2 5 -3 4 -3 -45 -62 -25 -53 -5 -45 -6 -63 17 -33 41 -4 23 -2 21 10 18 22 10 -16 17 -6 24 5 32 5 20 36 8 66 rrcurveto
+ 3 23 -11 36 -23 47 -17 34 -38 45 -59 56 rrcurveto
+ 10 -111 rmoveto
+ 45 -31 35 -41 25 -50 4 -7 1 -6 -2 -6 -6 -16 -11 -9 -13 -2 -11 -1 -8 2 -7 5 -1 4 1 3 2 3 -1 4 -2 2 -2 2 -3 1 -3 -2 -4 -4 rrcurveto
+ -38 -37 -31 -5 -24 27 -12 14 1 27 15 38 9 23 16 29 25 33 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="9">
+ 275 527 rmoveto
+ -21 -89 -27 -81 -29 -73 -29 -73 -38 -73 -45 -76 rrcurveto
+ -6 -11 -2 -10 -8 vvcurveto
+ 5 -97 rlineto
+ -9 1 3 -3 5 hhcurveto
+ 5 5 5 10 5 hvcurveto
+ 79 149 53 135 27 121 4 19 7 -2 7 -21 55 -159 61 -140 70 -124 11 -20 8 8 5 35 13 81 rcurveline
+ 2 10 -1 8 -3 6 -57 95 -46 93 -38 90 -38 90 -20 68 -2 45 rrcurveto
+ 7 -3 5 -4 3 vhcurveto
+ -4 3 -4 0 -5 -2 -5 -2 -2 -6 -2 -7 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="10">
+ 137 -96 callgsubr
+ </CharString>
+ <CharString index="11">
+ 521 rmoveto
+ -25 -102 -3 -13 4 -15 12 -19 rlinecurve
+ 79 -124 46 -149 11 -172 1 -7 2 -5 4 -4 4 -4 5 0 6 2 6 2 3 5 1 7 20 99 -12 128 -42 158 79 -13 57 18 33 49 21 30 13 33 6 37 rrcurveto
+ 6 37 3 24 -3 7 rrcurveto
+ 7 -3 -6 4 -9 hhcurveto
+ -9 -6 -6 -12 -2 hvcurveto
+ -69 -9 -43 -36 -79 hhcurveto
+ -55 -44 32 62 -33 hvcurveto
+ -11 21 -9 10 -7 -2 -5 -1 -4 -6 -3 -13 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="12">
+ rmoveto
+ 12 53 16 49 17 44 18 43 23 45 27 45 rrcurveto
+ 4 7 1 5 5 vvcurveto
+ -4 58 rlineto
+ 6 -2 2 -3 -3 -3 -3 -6 -3 vhcurveto
+ -47 -90 -32 -81 -16 -72 -2 -12 -5 1 -4 13 -33 95 -36 84 -42 75 -7 12 -5 -5 -3 -21 -8 -49 rcurveline
+ -1 -6 1 -4 2 -4 34 -57 27 -56 23 -54 23 -54 12 -41 1 -27 rrcurveto
+ -4 2 -2 2 -2 vhcurveto
+ 3 -2 2 0 3 1 3 2 1 3 2 4 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="13">
+ rmoveto
+ -15 -62 -2 -7 3 -9 7 -12 rlinecurve
+ 47 -74 28 -90 7 -103 rrcurveto
+ -4 1 -3 3 -2 vhcurveto
+ 2 -3 3 0 4 1 3 2 2 3 1 4 12 59 -7 77 -26 95 48 -8 34 11 20 29 12 18 8 20 4 22 3 22 2 15 -2 4 rrcurveto
+ 4 -1 -4 3 -5 hhcurveto
+ -6 -3 -4 -7 -2 hvcurveto
+ -42 -5 -26 -21 -47 hhcurveto
+ -33 -27 19 37 -19 hvcurveto
+ -7 13 -5 6 -5 -1 -3 -1 -2 -4 -2 -7 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="14">
+ 103 641 -91 callgsubr
+ </CharString>
+ <CharString index="15">
+ 10 6 47 1 7 vhcurveto
+ 5 -6 11 -5 vhcurveto
+ -39 -21 -50 -103 callgsubr
+ -26 -13 vvcurveto
+ -182 -105 callgsubr
+ return
+ </CharString>
+ <CharString index="16">
+ rmoveto
+ -40 -52 -19 -39 1 -28 2 -52 45 -21 88 8 3 -49 13 -52 23 -55 9 -21 6 -1 3 20 11 63 rcurveline
+ 2 9 -2 10 -6 10 -19 36 -11 44 -2 51 -1 52 -10 40 -19 27 -24 34 -25 0 -28 -34 rrcurveto
+ 61 -91 rmoveto
+ -16 5 -2 -9 -10 hhcurveto
+ -30 -2 -22 3 -13 9 -9 6 -3 9 4 13 7 23 14 9 22 -6 18 -5 13 -13 6 -21 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="17">
+ 111 -89 callgsubr
+ </CharString>
+ <CharString index="18">
+ 522 rmoveto
+ -15 -79 -3 -13 4 -12 9 -10 rlinecurve
+ 50 -56 78 -14 105 27 rrcurveto
+ 1 1 0 0 hvcurveto
+ 3 -1 1 -4 -7 vvcurveto
+ -5 -150 31 -142 70 -132 15 -29 11 3 6 32 17 95 rcurveline
+ 3 17 -4 18 -9 17 -71 128 -29 128 13 130 2 16 -8 6 -18 -5 -109 -33 -75 12 -38 57 -19 28 -12 0 -5 -27 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="19">
+ rmoveto
+ -9 -47 -2 -8 2 -7 6 -6 rlinecurve
+ 30 -34 46 -8 63 16 rrcurveto
+ 3 1 1 -3 -5 vvcurveto
+ -3 -90 19 -85 42 -80 9 -17 6 2 4 19 10 57 rcurveline
+ 2 10 -3 11 -5 10 -43 77 -17 77 8 78 1 9 -5 4 -11 -3 -65 -20 -45 7 -23 35 -11 16 -7 0 -3 -16 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="20">
+ 246 -86 callgsubr
+ </CharString>
+ <CharString index="21">
+ 524 rmoveto
+ -34 -100 -5 -14 3 -17 11 -20 rlinecurve
+ 71 -126 35 -148 -2 -171 rrcurveto
+ -12 4 -6 9 -2 vhcurveto
+ 9 -2 5 5 4 10 23 69 4 99 -18 129 -13 92 -27 96 -39 100 -17 40 -14 6 -9 -28 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="22">
+ rmoveto
+ -21 -60 -3 -8 2 -10 7 -12 rlinecurve
+ 42 -76 21 -89 -1 -102 rrcurveto
+ -7 2 -4 6 -1 vhcurveto
+ 5 -1 3 3 3 6 13 41 3 59 -11 78 -8 55 -16 58 -23 60 -11 24 -8 3 -5 -17 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="23">
+ 251 -83 callgsubr
+ </CharString>
+ <CharString index="24">
+ 312 rmoveto
+ -38 -106 -5 -15 1 -10 8 -5 rlinecurve
+ 91 -53 17 -10 11 2 6 17 rlinecurve
+ 32 99 5 15 -3 11 -12 8 rlinecurve
+ -83 53 -9 6 -7 2 -5 -3 rlinecurve
+ -4 -1 -3 -4 -2 -6 rrcurveto
+ endchar
+ </CharString>
+ <CharString index="25">
+ 122 527 rmoveto
+ -23 -63 -3 -9 0 -6 5 -3 rlinecurve
+ 55 -32 10 -6 7 1 3 10 rlinecurve
+ 19 60 3 9 -1 6 -8 5 rlinecurve
+ -49 32 -9 6 -6 -1 -3 -9 rlinecurve
+ endchar
+ </CharString>
+ <CharString index="26">
+ -13 -50 -7 -4 -5 2 -19 2 -2 rrcurveto
+ 7 return
+ </CharString>
+ <CharString index="27">
+ -104 callgsubr
+ endchar
+ </CharString>
+ <CharString index="28">
+ 3 38 hhcurveto
+ 38 return
+ </CharString>
+ <CharString index="29">
+ -3 -2 40 hvcurveto
+ -101 callgsubr
+ return
+ </CharString>
+ <CharString index="30">
+ 5 11 -3 hvcurveto
+ -5 16 0 27 29 return
+ </CharString>
+ <CharString index="31">
+ 5 -5 rrcurveto
+ 2 40 return
+ </CharString>
+ <CharString index="32">
+ -5 -12 hhcurveto
+ -4 -5 -1 return
+ </CharString>
+ <CharString index="33">
+ -75 callgsubr
+ -18 -76 callgsubr
+ return
+ </CharString>
+ </GlobalSubrs>
+ </CFF>
+
+ <GDEF>
+ <Version value="0x00010000"/>
+ <GlyphClassDef Format="2">
+ <ClassDef glyph="i" class="1"/>
+ <ClassDef glyph="i.TRK" class="1"/>
+ <ClassDef glyph="uni06F0" class="1"/>
+ <ClassDef glyph="uni06F0.numr" class="1"/>
+ <ClassDef glyph="uni06F1" class="1"/>
+ <ClassDef glyph="uni06F1.numr" class="1"/>
+ <ClassDef glyph="uni06F2" class="1"/>
+ <ClassDef glyph="uni06F2.numr" class="1"/>
+ <ClassDef glyph="uni06F3" class="1"/>
+ <ClassDef glyph="uni06F3.numr" class="1"/>
+ <ClassDef glyph="uni06F4" class="1"/>
+ <ClassDef glyph="uni06F4.numr" class="1"/>
+ <ClassDef glyph="uni06F4.urd" class="1"/>
+ <ClassDef glyph="uni06F4.urd.numr" class="1"/>
+ <ClassDef glyph="uni06F5" class="1"/>
+ <ClassDef glyph="uni06F5.numr" class="1"/>
+ <ClassDef glyph="uni06F6" class="1"/>
+ <ClassDef glyph="uni06F6.numr" class="1"/>
+ <ClassDef glyph="uni06F6.urd" class="1"/>
+ <ClassDef glyph="uni06F6.urd.numr" class="1"/>
+ <ClassDef glyph="uni06F7" class="1"/>
+ <ClassDef glyph="uni06F7.numr" class="1"/>
+ <ClassDef glyph="uni06F7.urd" class="1"/>
+ <ClassDef glyph="uni06F7.urd.numr" class="1"/>
+ <ClassDef glyph="uni06F8" class="1"/>
+ <ClassDef glyph="uni06F8.numr" class="1"/>
+ <ClassDef glyph="uni06F9" class="1"/>
+ <ClassDef glyph="uni06F9.numr" class="1"/>
+ </GlyphClassDef>
+ </GDEF>
+
+ <GPOS>
+ <Version value="0x00010000"/>
+ <ScriptList>
+ <!-- ScriptCount=1 -->
+ <ScriptRecord index="0">
+ <ScriptTag value="DFLT"/>
+ <Script>
+ <DefaultLangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=0 -->
+ </DefaultLangSys>
+ <!-- LangSysCount=0 -->
+ </Script>
+ </ScriptRecord>
+ </ScriptList>
+ <FeatureList>
+ <!-- FeatureCount=0 -->
+ </FeatureList>
+ <LookupList>
+ <!-- LookupCount=0 -->
+ </LookupList>
+ </GPOS>
+
+ <GSUB>
+ <Version value="0x00010000"/>
+ <ScriptList>
+ <!-- ScriptCount=3 -->
+ <ScriptRecord index="0">
+ <ScriptTag value="DFLT"/>
+ <Script>
+ <DefaultLangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=1 -->
+ <FeatureIndex index="0" value="4"/>
+ </DefaultLangSys>
+ <!-- LangSysCount=0 -->
+ </Script>
+ </ScriptRecord>
+ <ScriptRecord index="1">
+ <ScriptTag value="arab"/>
+ <Script>
+ <DefaultLangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=1 -->
+ <FeatureIndex index="0" value="4"/>
+ </DefaultLangSys>
+ <!-- LangSysCount=3 -->
+ <LangSysRecord index="0">
+ <LangSysTag value="KSH "/>
+ <LangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=2 -->
+ <FeatureIndex index="0" value="0"/>
+ <FeatureIndex index="1" value="4"/>
+ </LangSys>
+ </LangSysRecord>
+ <LangSysRecord index="1">
+ <LangSysTag value="SND "/>
+ <LangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=2 -->
+ <FeatureIndex index="0" value="1"/>
+ <FeatureIndex index="1" value="4"/>
+ </LangSys>
+ </LangSysRecord>
+ <LangSysRecord index="2">
+ <LangSysTag value="URD "/>
+ <LangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=2 -->
+ <FeatureIndex index="0" value="3"/>
+ <FeatureIndex index="1" value="4"/>
+ </LangSys>
+ </LangSysRecord>
+ </Script>
+ </ScriptRecord>
+ <ScriptRecord index="2">
+ <ScriptTag value="latn"/>
+ <Script>
+ <DefaultLangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=1 -->
+ <FeatureIndex index="0" value="4"/>
+ </DefaultLangSys>
+ <!-- LangSysCount=1 -->
+ <LangSysRecord index="0">
+ <LangSysTag value="TRK "/>
+ <LangSys>
+ <ReqFeatureIndex value="65535"/>
+ <!-- FeatureCount=2 -->
+ <FeatureIndex index="0" value="2"/>
+ <FeatureIndex index="1" value="4"/>
+ </LangSys>
+ </LangSysRecord>
+ </Script>
+ </ScriptRecord>
+ </ScriptList>
+ <FeatureList>
+ <!-- FeatureCount=5 -->
+ <FeatureRecord index="0">
+ <FeatureTag value="locl"/>
+ <Feature>
+ <!-- LookupCount=1 -->
+ <LookupListIndex index="0" value="1"/>
+ </Feature>
+ </FeatureRecord>
+ <FeatureRecord index="1">
+ <FeatureTag value="locl"/>
+ <Feature>
+ <!-- LookupCount=1 -->
+ <LookupListIndex index="0" value="2"/>
+ </Feature>
+ </FeatureRecord>
+ <FeatureRecord index="2">
+ <FeatureTag value="locl"/>
+ <Feature>
+ <!-- LookupCount=1 -->
+ <LookupListIndex index="0" value="4"/>
+ </Feature>
+ </FeatureRecord>
+ <FeatureRecord index="3">
+ <FeatureTag value="locl"/>
+ <Feature>
+ <!-- LookupCount=1 -->
+ <LookupListIndex index="0" value="0"/>
+ </Feature>
+ </FeatureRecord>
+ <FeatureRecord index="4">
+ <FeatureTag value="numr"/>
+ <Feature>
+ <!-- LookupCount=1 -->
+ <LookupListIndex index="0" value="3"/>
+ </Feature>
+ </FeatureRecord>
+ </FeatureList>
+ <LookupList>
+ <!-- LookupCount=5 -->
+ <Lookup index="0">
+ <LookupType value="1"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <SingleSubst index="0" Format="2">
+ <Substitution in="uni06F4" out="uni06F4.urd"/>
+ <Substitution in="uni06F6" out="uni06F6.urd"/>
+ <Substitution in="uni06F7" out="uni06F7.urd"/>
+ </SingleSubst>
+ </Lookup>
+ <Lookup index="1">
+ <LookupType value="1"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <SingleSubst index="0" Format="2">
+ <Substitution in="uni06F4" out="uni06F4.urd"/>
+ <Substitution in="uni06F6" out="uni06F6.urd"/>
+ <Substitution in="uni06F7" out="uni06F7.urd"/>
+ </SingleSubst>
+ </Lookup>
+ <Lookup index="2">
+ <LookupType value="1"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <SingleSubst index="0" Format="1">
+ <Substitution in="uni06F6" out="uni06F6.urd"/>
+ <Substitution in="uni06F7" out="uni06F7.urd"/>
+ </SingleSubst>
+ </Lookup>
+ <Lookup index="3">
+ <LookupType value="1"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <SingleSubst index="0" Format="1">
+ <Substitution in="uni06F0" out="uni06F0.numr"/>
+ <Substitution in="uni06F1" out="uni06F1.numr"/>
+ <Substitution in="uni06F2" out="uni06F2.numr"/>
+ <Substitution in="uni06F3" out="uni06F3.numr"/>
+ <Substitution in="uni06F4" out="uni06F4.numr"/>
+ <Substitution in="uni06F4.urd" out="uni06F4.urd.numr"/>
+ <Substitution in="uni06F5" out="uni06F5.numr"/>
+ <Substitution in="uni06F6" out="uni06F6.numr"/>
+ <Substitution in="uni06F6.urd" out="uni06F6.urd.numr"/>
+ <Substitution in="uni06F7" out="uni06F7.numr"/>
+ <Substitution in="uni06F7.urd" out="uni06F7.urd.numr"/>
+ <Substitution in="uni06F8" out="uni06F8.numr"/>
+ <Substitution in="uni06F9" out="uni06F9.numr"/>
+ </SingleSubst>
+ </Lookup>
+ <Lookup index="4">
+ <LookupType value="1"/>
+ <LookupFlag value="0"/>
+ <!-- SubTableCount=1 -->
+ <SingleSubst index="0" Format="1">
+ <Substitution in="i" out="i.TRK"/>
+ </SingleSubst>
+ </Lookup>
+ </LookupList>
+ </GSUB>
+
+ <hmtx>
+ <mtx name=".notdef" width="364" lsb="33"/>
+ <mtx name="i" width="263" lsb="32"/>
+ <mtx name="i.TRK" width="263" lsb="32"/>
+ <mtx name="uni06F0" width="585" lsb="210"/>
+ <mtx name="uni06F0.numr" width="292" lsb="97"/>
+ <mtx name="uni06F1" width="585" lsb="210"/>
+ <mtx name="uni06F1.numr" width="292" lsb="97"/>
+ <mtx name="uni06F2" width="585" lsb="111"/>
+ <mtx name="uni06F2.numr" width="292" lsb="37"/>
+ <mtx name="uni06F3" width="585" lsb="67"/>
+ <mtx name="uni06F3.numr" width="292" lsb="11"/>
+ <mtx name="uni06F4" width="585" lsb="110"/>
+ <mtx name="uni06F4.numr" width="292" lsb="37"/>
+ <mtx name="uni06F4.urd" width="585" lsb="100"/>
+ <mtx name="uni06F4.urd.numr" width="292" lsb="31"/>
+ <mtx name="uni06F5" width="585" lsb="100"/>
+ <mtx name="uni06F5.numr" width="292" lsb="31"/>
+ <mtx name="uni06F6" width="585" lsb="71"/>
+ <mtx name="uni06F6.numr" width="292" lsb="14"/>
+ <mtx name="uni06F6.urd" width="585" lsb="95"/>
+ <mtx name="uni06F6.urd.numr" width="292" lsb="28"/>
+ <mtx name="uni06F7" width="585" lsb="78"/>
+ <mtx name="uni06F7.numr" width="292" lsb="18"/>
+ <mtx name="uni06F7.urd" width="585" lsb="101"/>
+ <mtx name="uni06F7.urd.numr" width="292" lsb="31"/>
+ <mtx name="uni06F8" width="585" lsb="78"/>
+ <mtx name="uni06F8.numr" width="292" lsb="18"/>
+ <mtx name="uni06F9" width="585" lsb="123"/>
+ <mtx name="uni06F9.numr" width="292" lsb="45"/>
+ </hmtx>
+
+</ttFont>
diff --git a/Tests/subset/subset_test.py b/Tests/subset/subset_test.py
index 2cce9baf..0d2f9fe2 100644
--- a/Tests/subset/subset_test.py
+++ b/Tests/subset/subset_test.py
@@ -78,6 +78,16 @@ class SubsetTest(unittest.TestCase):
# Tests
# -----
+ def test_layout_scripts(self):
+ _, fontpath = self.compile_font(self.getpath("layout_scripts.ttx"), ".otf")
+ subsetpath = self.temp_path(".otf")
+ subset.main([fontpath, "--glyphs=*", "--layout-features=*",
+ "--layout-scripts=latn,arab.URD,arab.dflt",
+ "--output-file=%s" % subsetpath])
+ subsetfont = TTFont(subsetpath)
+ self.expect_ttx(subsetfont, self.getpath("expect_layout_scripts.ttx"),
+ ["GPOS", "GSUB"])
+
def test_no_notdef_outline_otf(self):
_, fontpath = self.compile_font(self.getpath("TestOTF-Regular.ttx"), ".otf")
subsetpath = self.temp_path(".otf")
diff --git a/Tests/ttLib/tables/C_O_L_R_test.py b/Tests/ttLib/tables/C_O_L_R_test.py
index 0a1d9df9..76e9e61a 100644
--- a/Tests/ttLib/tables/C_O_L_R_test.py
+++ b/Tests/ttLib/tables/C_O_L_R_test.py
@@ -2,26 +2,32 @@ from fontTools import ttLib
from fontTools.misc.testTools import getXML, parseXML
from fontTools.ttLib.tables.C_O_L_R_ import table_C_O_L_R_
+import binascii
import pytest
-COLR_V0_DATA = (
- b"\x00\x00" # Version (0)
- b"\x00\x01" # BaseGlyphRecordCount (1)
- b"\x00\x00\x00\x0e" # Offset to BaseGlyphRecordArray from beginning of table (14)
- b"\x00\x00\x00\x14" # Offset to LayerRecordArray from beginning of table (20)
- b"\x00\x03" # LayerRecordCount (3)
- b"\x00\x06" # BaseGlyphRecord[0].BaseGlyph (6)
- b"\x00\x00" # BaseGlyphRecord[0].FirstLayerIndex (0)
- b"\x00\x03" # BaseGlyphRecord[0].NumLayers (3)
- b"\x00\x07" # LayerRecord[0].LayerGlyph (7)
- b"\x00\x00" # LayerRecord[0].PaletteIndex (0)
- b"\x00\x08" # LayerRecord[1].LayerGlyph (8)
- b"\x00\x01" # LayerRecord[1].PaletteIndex (1)
- b"\x00\t" # LayerRecord[2].LayerGlyph (9)
- b"\x00\x02" # LayerRecord[3].PaletteIndex (2)
+COLR_V0_SAMPLE = (
+ (b"\x00\x00", "Version (0)"),
+ (b"\x00\x01", "BaseGlyphRecordCount (1)"),
+ (
+ b"\x00\x00\x00\x0e",
+ "Offset to BaseGlyphRecordArray from beginning of table (14)",
+ ),
+ (b"\x00\x00\x00\x14", "Offset to LayerRecordArray from beginning of table (20)"),
+ (b"\x00\x03", "LayerRecordCount (3)"),
+ (b"\x00\x06", "BaseGlyphRecord[0].BaseGlyph (6)"),
+ (b"\x00\x00", "BaseGlyphRecord[0].FirstLayerIndex (0)"),
+ (b"\x00\x03", "BaseGlyphRecord[0].NumLayers (3)"),
+ (b"\x00\x07", "LayerRecord[0].LayerGlyph (7)"),
+ (b"\x00\x00", "LayerRecord[0].PaletteIndex (0)"),
+ (b"\x00\x08", "LayerRecord[1].LayerGlyph (8)"),
+ (b"\x00\x01", "LayerRecord[1].PaletteIndex (1)"),
+ (b"\x00\t", "LayerRecord[2].LayerGlyph (9)"),
+ (b"\x00\x02", "LayerRecord[3].PaletteIndex (2)"),
)
+COLR_V0_DATA = b"".join(t[0] for t in COLR_V0_SAMPLE)
+
COLR_V0_XML = [
'<version value="0"/>',
@@ -37,6 +43,21 @@ def dump(table, ttFont=None):
print("\n".join(getXML(table.toXML, ttFont)))
+def diff_binary_fragments(font_bytes, expected_fragments):
+ pos = 0
+ prev_desc = ""
+ for expected_bytes, description in expected_fragments:
+ actual_bytes = font_bytes[pos : pos + len(expected_bytes)]
+ assert (
+ actual_bytes == expected_bytes
+ ), f'{description} (previous "{prev_desc}", bytes: {str(font_bytes[pos:pos+16])}'
+ pos += len(expected_bytes)
+ prev_desc = description
+ assert pos == len(
+ font_bytes
+ ), f"Leftover font bytes, used {pos} of {len(font_bytes)}"
+
+
@pytest.fixture
def font():
font = ttLib.TTFont()
@@ -48,7 +69,7 @@ class COLR_V0_Test(object):
def test_decompile_and_compile(self, font):
colr = table_C_O_L_R_()
colr.decompile(COLR_V0_DATA, font)
- assert colr.compile(font) == COLR_V0_DATA
+ diff_binary_fragments(colr.compile(font), COLR_V0_SAMPLE)
def test_decompile_and_dump_xml(self, font):
colr = table_C_O_L_R_()
@@ -62,145 +83,177 @@ class COLR_V0_Test(object):
for name, attrs, content in parseXML(COLR_V0_XML):
colr.fromXML(name, attrs, content, font)
- assert colr.compile(font) == COLR_V0_DATA
+ diff_binary_fragments(colr.compile(font), COLR_V0_SAMPLE)
+ def test_round_trip_xml(self, font):
+ colr = table_C_O_L_R_()
+ for name, attrs, content in parseXML(COLR_V0_XML):
+ colr.fromXML(name, attrs, content, font)
+ compiled = colr.compile(font)
-COLR_V1_DATA = (
- b"\x00\x01" # Version (1)
- b"\x00\x01" # BaseGlyphRecordCount (1)
- b"\x00\x00\x00\x1a" # Offset to BaseGlyphRecordArray from beginning of table (26)
- b"\x00\x00\x00 " # Offset to LayerRecordArray from beginning of table (32)
- b"\x00\x03" # LayerRecordCount (3)
- b"\x00\x00\x00," # Offset to BaseGlyphV1List from beginning of table (44)
- b"\x00\x00\x00\x81" # Offset to LayerV1List from beginning of table (129)
- b"\x00\x00\x00\x00" # Offset to VarStore (NULL)
- b"\x00\x06" # BaseGlyphRecord[0].BaseGlyph (6)
- b"\x00\x00" # BaseGlyphRecord[0].FirstLayerIndex (0)
- b"\x00\x03" # BaseGlyphRecord[0].NumLayers (3)
- b"\x00\x07" # LayerRecord[0].LayerGlyph (7)
- b"\x00\x00" # LayerRecord[0].PaletteIndex (0)
- b"\x00\x08" # LayerRecord[1].LayerGlyph (8)
- b"\x00\x01" # LayerRecord[1].PaletteIndex (1)
- b"\x00\t" # LayerRecord[2].LayerGlyph (9)
- b"\x00\x02" # LayerRecord[2].PaletteIndex (2)
- b"\x00\x00\x00\x02" # BaseGlyphV1List.BaseGlyphCount (2)
- b"\x00\n" # BaseGlyphV1List.BaseGlyphV1Record[0].BaseGlyph (10)
- b"\x00\x00\x00\x10" # Offset to Paint table from beginning of BaseGlyphV1List (16)
- b"\x00\x0e" # BaseGlyphV1List.BaseGlyphV1Record[1].BaseGlyph (14)
- b"\x00\x00\x00\x16" # Offset to Paint table from beginning of BaseGlyphV1List (22)
- b"\x01" # BaseGlyphV1Record[0].Paint.Format (1)
- b"\x03" # BaseGlyphV1Record[0].Paint.NumLayers (3)
- b"\x00\x00\x00\x00" # BaseGlyphV1Record[0].Paint.FirstLayerIndex (0)
- b"\x08" # BaseGlyphV1Record[1].Paint.Format (8)
- b"\x00\x00<" # Offset to SourcePaint from beginning of PaintComposite (60)
- b"\x03" # BaseGlyphV1Record[1].Paint.CompositeMode [SRC_OVER] (3)
- b"\x00\x00\x08" # Offset to BackdropPaint from beginning of PaintComposite (8)
- b"\x07" # BaseGlyphV1Record[1].Paint.BackdropPaint.Format (7)
- b"\x00\x004" # Offset to Paint from beginning of PaintTransform (52)
- b"\x00\x01\x00\x00" # Affine2x3.xx.value (1.0)
- b"\x00\x00\x00\x00"
- b"\x00\x00\x00\x00" # Affine2x3.xy.value (0.0)
- b"\x00\x00\x00\x00"
- b"\x00\x00\x00\x00" # Affine2x3.yx.value (0.0)
- b"\x00\x00\x00\x00"
- b"\x00\x01\x00\x00" # Affine2x3.yy.value (1.0)
- b"\x00\x00\x00\x00"
- b"\x01,\x00\x00" # Affine2x3.dx.value (300.0)
- b"\x00\x00\x00\x00"
- b"\x00\x00\x00\x00" # Affine2x3.dy.value (0.0)
- b"\x00\x00\x00\x00"
- b"\x06" # BaseGlyphV1Record[1].Paint.SourcePaint.Format (6)
- b"\x00\n" # BaseGlyphV1Record[1].Paint.SourcePaint.Glyph (10)
- b"\x00\x00\x00\x03" # LayerV1List.LayerCount (3)
- b"\x00\x00\x00\x10" # Offset to Paint table from beginning of LayerV1List (16)
- b"\x00\x00\x00\x1f" # Offset to Paint table from beginning of LayerV1List (31)
- b"\x00\x00\x00z" # Offset to Paint table from beginning of LayerV1List (122)
- b"\x05" # LayerV1List.Paint[0].Format (5)
- b"\x00\x00\x06" # Offset to Paint subtable from beginning of PaintGlyph (6)
- b"\x00\x0b" # LayerV1List.Paint[0].Glyph (11)
- b"\x02" # LayerV1List.Paint[0].Paint.Format (2)
- b"\x00\x02" # Paint.Color.PaletteIndex (2)
- b" \x00" # Paint.Color.Alpha.value (0.5)
- b"\x00\x00\x00\x00" # Paint.Color.Alpha.varIdx (0)
- b"\x05" # LayerV1List.Paint[1].Format (5)
- b"\x00\x00\x06" # Offset to Paint subtable from beginning of PaintGlyph (6)
- b"\x00\x0c" # LayerV1List.Paint[1].Glyph (12)
- b"\x03" # LayerV1List.Paint[1].Paint.Format (3)
- b"\x00\x00(" # Offset to ColorLine from beginning of PaintLinearGradient (40)
- b"\x00\x01" # Paint.x0.value (1)
- b"\x00\x00\x00\x00" # Paint.x0.varIdx (0)
- b"\x00\x02" # Paint.y0.value (2)
- b"\x00\x00\x00\x00" # Paint.y0.varIdx (0)
- b"\xff\xfd" # Paint.x1.value (-3)
- b"\x00\x00\x00\x00" # Paint.x1.varIdx (0)
- b"\xff\xfc" # Paint.y1.value (-4)
- b"\x00\x00\x00\x00" # Paint.y1.varIdx (0)
- b"\x00\x05" # Paint.x2.value (5)
- b"\x00\x00\x00\x00" # Paint.x2.varIdx (0)
- b"\x00\x06" # Paint.y2.value (6)
- b"\x00\x00\x00\x00" # Paint.y2.varIdx (0)
- b"\x01" # ColorLine.Extend (1 or "repeat")
- b"\x00\x03" # ColorLine.StopCount (3)
- b"\x00\x00" # ColorLine.ColorStop[0].StopOffset.value (0.0)
- b"\x00\x00\x00\x00" # ColorLine.ColorStop[0].StopOffset.varIdx (0)
- b"\x00\x03" # ColorLine.ColorStop[0].Color.PaletteIndex (3)
- b"@\x00" # ColorLine.ColorStop[0].Color.Alpha.value (1.0)
- b"\x00\x00\x00\x00" # ColorLine.ColorStop[0].Color.Alpha.varIdx (0)
- b" \x00" # ColorLine.ColorStop[1].StopOffset.value (0.5)
- b"\x00\x00\x00\x00" # ColorLine.ColorStop[1].StopOffset.varIdx (0)
- b"\x00\x04" # ColorLine.ColorStop[1].Color.PaletteIndex (4)
- b"@\x00" # ColorLine.ColorStop[1].Color.Alpha.value (1.0)
- b"\x00\x00\x00\x00" # ColorLine.ColorStop[1].Color.Alpha.varIdx (0)
- b"@\x00" # ColorLine.ColorStop[2].StopOffset.value (1.0)
- b"\x00\x00\x00\x00" # ColorLine.ColorStop[2].StopOffset.varIdx (0)
- b"\x00\x05" # ColorLine.ColorStop[2].Color.PaletteIndex (5)
- b"@\x00" # ColorLine.ColorStop[2].Color.Alpha.value (1.0)
- b"\x00\x00\x00\x00" # ColorLine.ColorStop[2].Color.Alpha.varIdx (0)
- b"\x05" # LayerV1List.Paint[2].Format (5)
- b"\x00\x00\x06" # Offset to Paint subtable from beginning of PaintGlyph (6)
- b"\x00\r" # LayerV1List.Paint[2].Glyph (13)
- b"\x07" # LayerV1List.Paint[2].Paint.Format (5)
- b"\x00\x004" # Offset to Paint subtable from beginning of PaintTransform (52)
- b"\xff\xf3\x00\x00" # Affine2x3.xx.value (-13)
- b"\x00\x00\x00\x00"
- b"\x00\x0e\x00\x00" # Affine2x3.xy.value (14)
- b"\x00\x00\x00\x00"
- b"\x00\x0f\x00\x00" # Affine2x3.yx.value (15)
- b"\x00\x00\x00\x00"
- b"\xff\xef\x00\x00" # Affine2x3.yy.value (-17)
- b"\x00\x00\x00\x00"
- b"\x00\x12\x00\x00" # Affine2x3.yy.value (18)
- b"\x00\x00\x00\x00"
- b"\x00\x13\x00\x00" # Affine2x3.yy.value (19)
- b"\x00\x00\x00\x00"
- b"\x04" # LayerV1List.Paint[2].Paint.Paint.Format (4)
- b"\x00\x00(" # Offset to ColorLine from beginning of PaintRadialGradient (40)
- b"\x00\x07" # Paint.x0.value (7)
- b"\x00\x00\x00\x00"
- b"\x00\x08" # Paint.y0.value (8)
- b"\x00\x00\x00\x00"
- b"\x00\t" # Paint.r0.value (9)
- b"\x00\x00\x00\x00"
- b"\x00\n" # Paint.x1.value (10)
- b"\x00\x00\x00\x00"
- b"\x00\x0b" # Paint.y1.value (11)
- b"\x00\x00\x00\x00"
- b"\x00\x0c" # Paint.r1.value (12)
- b"\x00\x00\x00\x00"
- b"\x00" # ColorLine.Extend (0 or "pad")
- b"\x00\x02" # ColorLine.StopCount (2)
- b"\x00\x00" # ColorLine.ColorStop[0].StopOffset.value (0.0)
- b"\x00\x00\x00\x00"
- b"\x00\x06" # ColorLine.ColorStop[0].Color.PaletteIndex (6)
- b"@\x00" # ColorLine.ColorStop[0].Color.Alpha.value (1.0)
- b"\x00\x00\x00\x00"
- b"@\x00" # ColorLine.ColorStop[1].StopOffset.value (1.0)
- b"\x00\x00\x00\x00"
- b"\x00\x07" # ColorLine.ColorStop[1].Color.PaletteIndex (7)
- b"\x19\x9a" # ColorLine.ColorStop[1].Color.Alpha.value (0.4)
- b"\x00\x00\x00\x00"
+ colr = table_C_O_L_R_()
+ colr.decompile(compiled, font)
+ assert getXML(colr.toXML, font) == COLR_V0_XML
+
+
+COLR_V1_SAMPLE = (
+ (b"\x00\x01", "Version (1)"),
+ (b"\x00\x01", "BaseGlyphRecordCount (1)"),
+ (
+ b"\x00\x00\x00\x1a",
+ "Offset to BaseGlyphRecordArray from beginning of table (26)",
+ ),
+ (b"\x00\x00\x00 ", "Offset to LayerRecordArray from beginning of table (32)"),
+ (b"\x00\x03", "LayerRecordCount (3)"),
+ (b"\x00\x00\x00,", "Offset to BaseGlyphV1List from beginning of table (44)"),
+ (b"\x00\x00\x00\x81", "Offset to LayerV1List from beginning of table (129)"),
+ (b"\x00\x00\x00\x00", "Offset to VarStore (NULL)"),
+ (b"\x00\x06", "BaseGlyphRecord[0].BaseGlyph (6)"),
+ (b"\x00\x00", "BaseGlyphRecord[0].FirstLayerIndex (0)"),
+ (b"\x00\x04", "BaseGlyphRecord[0].NumLayers (4)"),
+ (b"\x00\x07", "LayerRecord[0].LayerGlyph (7)"),
+ (b"\x00\x00", "LayerRecord[0].PaletteIndex (0)"),
+ (b"\x00\x08", "LayerRecord[1].LayerGlyph (8)"),
+ (b"\x00\x01", "LayerRecord[1].PaletteIndex (1)"),
+ (b"\x00\t", "LayerRecord[2].LayerGlyph (9)"),
+ (b"\x00\x02", "LayerRecord[2].PaletteIndex (2)"),
+ (b"\x00\x00\x00\x02", "BaseGlyphV1List.BaseGlyphCount (2)"),
+ (b"\x00\n", "BaseGlyphV1List.BaseGlyphV1Record[0].BaseGlyph (10)"),
+ (
+ b"\x00\x00\x00\x10",
+ "Offset to Paint table from beginning of BaseGlyphV1List (16)",
+ ),
+ (b"\x00\x0e", "BaseGlyphV1List.BaseGlyphV1Record[1].BaseGlyph (14)"),
+ (
+ b"\x00\x00\x00\x16",
+ "Offset to Paint table from beginning of BaseGlyphV1List (22)",
+ ),
+ (b"\x01", "BaseGlyphV1Record[0].Paint.Format (1)"),
+ (b"\x04", "BaseGlyphV1Record[0].Paint.NumLayers (4)"),
+ (b"\x00\x00\x00\x00", "BaseGlyphV1Record[0].Paint.FirstLayerIndex (0)"),
+ (b"\x0A", "BaseGlyphV1Record[1].Paint.Format (10)"),
+ (b"\x00\x00<", "Offset to SourcePaint from beginning of PaintComposite (60)"),
+ (b"\x03", "BaseGlyphV1Record[1].Paint.CompositeMode [SRC_OVER] (3)"),
+ (b"\x00\x00\x08", "Offset to BackdropPaint from beginning of PaintComposite (8)"),
+ (b"\x07", "BaseGlyphV1Record[1].Paint.BackdropPaint.Format (7)"),
+ (b"\x00\x00\x34", "Offset to Paint from beginning of PaintTransform (52)"),
+ (b"\x00\x01\x00\x00\x00\x00\x00\x00", "Affine2x3.xx.value (1.0)"),
+ (b"\x00\x00\x00\x00\x00\x00\x00\x00", "Affine2x3.xy.value (0.0)"),
+ (b"\x00\x00\x00\x00\x00\x00\x00\x00", "Affine2x3.yx.value (0.0)"),
+ (b"\x00\x01\x00\x00\x00\x00\x00\x00", "Affine2x3.yy.value (1.0)"),
+ (b"\x01\x2c\x00\x00\x00\x00\x00\x00", "Affine2x3.dx.value (300.0)"),
+ (b"\x00\x00\x00\x00\x00\x00\x00\x00", "Affine2x3.dy.value (0.0)"),
+ (b"\x06", "BaseGlyphV1Record[1].Paint.SourcePaint.Format (6)"),
+ (b"\x00\n", "BaseGlyphV1Record[1].Paint.SourcePaint.Glyph (10)"),
+ (b"\x00\x00\x00\x04", "LayerV1List.LayerCount (4)"),
+ (
+ b"\x00\x00\x00\x14",
+ "First Offset to Paint table from beginning of LayerV1List (20)",
+ ),
+ (
+ b"\x00\x00\x00\x1a",
+ "Second Offset to Paint table from beginning of LayerV1List (26)",
+ ),
+ (
+ b"\x00\x00\x00u",
+ "Third Offset to Paint table from beginning of LayerV1List (117)",
+ ),
+ (
+ b"\x00\x00\x00\xf6",
+ "Fourth Offset to Paint table from beginning of LayerV1List (246)",
+ ),
+ # PaintGlyph glyph00011
+ (b"\x05", "LayerV1List.Paint[0].Format (5)"),
+ (b"\x00\x01\x28", "Offset24 to Paint subtable from beginning of PaintGlyph (296)"),
+ (b"\x00\x0b", "LayerV1List.Paint[0].Glyph (glyph00011)"),
+ # PaintGlyph glyph00012
+ (b"\x05", "LayerV1List.Paint[1].Format (5)"),
+ (b"\x00\x00\x06", "Offset to Paint subtable from beginning of PaintGlyph (6)"),
+ (b"\x00\x0c", "LayerV1List.Paint[1].Glyph (glyph00012)"),
+ (b"\x03", "LayerV1List.Paint[1].Paint.Format (3)"),
+ (b"\x00\x00(", "Offset to ColorLine from beginning of PaintLinearGradient (40)"),
+ (b"\x00\x01", "Paint.x0.value (1)"),
+ (b"\x00\x00\x00\x00", "Paint.x0.varIdx (0)"),
+ (b"\x00\x02", "Paint.y0.value (2)"),
+ (b"\x00\x00\x00\x00", "Paint.y0.varIdx (0)"),
+ (b"\xff\xfd", "Paint.x1.value (-3)"),
+ (b"\x00\x00\x00\x00", "Paint.x1.varIdx (0)"),
+ (b"\xff\xfc", "Paint.y1.value (-4)"),
+ (b"\x00\x00\x00\x00", "Paint.y1.varIdx (0)"),
+ (b"\x00\x05", "Paint.x2.value (5)"),
+ (b"\x00\x00\x00\x00", "Paint.x2.varIdx (0)"),
+ (b"\x00\x06", "Paint.y2.value (6)"),
+ (b"\x00\x00\x00\x00", "Paint.y2.varIdx (0)"),
+ (b"\x01", "ColorLine.Extend (1; repeat)"),
+ (b"\x00\x03", "ColorLine.StopCount (3)"),
+ (b"\x00\x00", "ColorLine.ColorStop[0].StopOffset.value (0.0)"),
+ (b"\x00\x00\x00\x00", "ColorLine.ColorStop[0].StopOffset.varIdx (0)"),
+ (b"\x00\x03", "ColorLine.ColorStop[0].Color.PaletteIndex (3)"),
+ (b"@\x00", "ColorLine.ColorStop[0].Color.Alpha.value (1.0)"),
+ (b"\x00\x00\x00\x00", "ColorLine.ColorStop[0].Color.Alpha.varIdx (0)"),
+ (b" \x00", "ColorLine.ColorStop[1].StopOffset.value (0.5)"),
+ (b"\x00\x00\x00\x00", "ColorLine.ColorStop[1].StopOffset.varIdx (0)"),
+ (b"\x00\x04", "ColorLine.ColorStop[1].Color.PaletteIndex (4)"),
+ (b"@\x00", "ColorLine.ColorStop[1].Color.Alpha.value (1.0)"),
+ (b"\x00\x00\x00\x00", "ColorLine.ColorStop[1].Color.Alpha.varIdx (0)"),
+ (b"@\x00", "ColorLine.ColorStop[2].StopOffset.value (1.0)"),
+ (b"\x00\x00\x00\x00", "ColorLine.ColorStop[2].StopOffset.varIdx (0)"),
+ (b"\x00\x05", "ColorLine.ColorStop[2].Color.PaletteIndex (5)"),
+ (b"@\x00", "ColorLine.ColorStop[2].Color.Alpha.value (1.0)"),
+ (b"\x00\x00\x00\x00", "ColorLine.ColorStop[2].Color.Alpha.varIdx (0)"),
+ # PaintGlyph glyph00013
+ (b"\x05", "LayerV1List.Paint[2].Format (5)"),
+ (b"\x00\x00\x06", "Offset to Paint subtable from beginning of PaintGlyph (6)"),
+ (b"\x00\r", "LayerV1List.Paint[2].Glyph (13)"),
+ (b"\x07", "LayerV1List.Paint[2].Paint.Format (5)"),
+ (b"\x00\x00\x34", "Offset to Paint subtable from beginning of PaintTransform (52)"),
+ (b"\xff\xf3\x00\x00\x00\x00\x00\x00", "Affine2x3.xx.value (-13)"),
+ (b"\x00\x0e\x00\x00\x00\x00\x00\x00", "Affine2x3.xy.value (14)"),
+ (b"\x00\x0f\x00\x00\x00\x00\x00\x00", "Affine2x3.yx.value (15)"),
+ (b"\xff\xef\x00\x00\x00\x00\x00\x00", "Affine2x3.yy.value (-17)"),
+ (b"\x00\x12\x00\x00\x00\x00\x00\x00", "Affine2x3.yy.value (18)"),
+ (b"\x00\x13\x00\x00\x00\x00\x00\x00", "Affine2x3.yy.value (19)"),
+ (b"\x04", "LayerV1List.Paint[2].Paint.Paint.Format (4)"),
+ (b"\x00\x00(", "Offset to ColorLine from beginning of PaintRadialGradient (40)"),
+ (b"\x00\x07\x00\x00\x00\x00", "Paint.x0.value (7)"),
+ (b"\x00\x08\x00\x00\x00\x00", "Paint.y0.value (8)"),
+ (b"\x00\t\x00\x00\x00\x00", "Paint.r0.value (9)"),
+ (b"\x00\n\x00\x00\x00\x00", "Paint.x1.value (10)"),
+ (b"\x00\x0b\x00\x00\x00\x00", "Paint.y1.value (11)"),
+ (b"\x00\x0c\x00\x00\x00\x00", "Paint.r1.value (12)"),
+ (b"\x00", "ColorLine.Extend (0; pad)"),
+ (b"\x00\x02", "ColorLine.StopCount (2)"),
+ (b"\x00\x00\x00\x00\x00\x00", "ColorLine.ColorStop[0].StopOffset.value (0.0)"),
+ (b"\x00\x06", "ColorLine.ColorStop[0].Color.PaletteIndex (6)"),
+ (b"@\x00\x00\x00\x00\x00", "ColorLine.ColorStop[0].Color.Alpha.value (1.0)"),
+ (b"@\x00\x00\x00\x00\x00", "ColorLine.ColorStop[1].StopOffset.value (1.0)"),
+ (b"\x00\x07", "ColorLine.ColorStop[1].Color.PaletteIndex (7)"),
+ (b"\x19\x9a\x00\x00\x00\x00", "ColorLine.ColorStop[1].Color.Alpha.value (0.4)"),
+ # PaintRotate
+ (b"\x08", "LayerV1List.Paint[3].Format (8)"),
+ (b"\x00\x00\x1c", "Offset to Paint subtable from beginning of PaintRotate (28)"),
+ (b"\x00\x2d\x00\x00\x00\x00\x00\x00", "angle.value (45)"),
+ (b"\x00\xff\x00\x00\x00\x00\x00\x00", "centerX.value (255)"),
+ (b"\x01\x00\x00\x00\x00\x00\x00\x00", "centerY.value (256)"),
+ # PaintSkew
+ (b"\x09", "LayerV1List.Paint[3].Format (9)"),
+ (b"\x00\x00\x24", "Offset to Paint subtable from beginning of PaintSkew (36)"),
+ (b"\xff\xf5\x00\x00\x00\x00\x00\x00", "xSkewAngle (-11)"),
+ (b"\x00\x05\x00\x00\x00\x00\x00\x00", "ySkewAngle (5)"),
+ (b"\x00\xfd\x00\x00\x00\x00\x00\x00", "centerX.value (253)"),
+ (b"\x00\xfe\x00\x00\x00\x00\x00\x00", "centerY.value (254)"),
+ # PaintGlyph
+ (b"\x05", "LayerV1List.Paint[2].Format (5)"),
+ (b"\x00\x00\x06", "Offset to Paint subtable from beginning of PaintGlyph (6)"),
+ (b"\x00\x0b", "LayerV1List.Paint[2].Glyph (11)"),
+ # PaintSolid
+ (b"\x02", "LayerV1List.Paint[0].Paint.Format (2)"),
+ (b"\x00\x02", "Paint.Color.PaletteIndex (2)"),
+ (b" \x00", "Paint.Color.Alpha.value (0.5)"),
+ (b"\x00\x00\x00\x00", "Paint.Color.Alpha.varIdx (0)"),
)
+COLR_V1_DATA = b"".join(t[0] for t in COLR_V1_SAMPLE)
COLR_V1_XML = [
'<Version value="1"/>',
@@ -209,7 +262,7 @@ COLR_V1_XML = [
' <BaseGlyphRecord index="0">',
' <BaseGlyph value="glyph00006"/>',
' <FirstLayerIndex value="0"/>',
- ' <NumLayers value="3"/>',
+ ' <NumLayers value="4"/>',
" </BaseGlyphRecord>",
"</BaseGlyphRecordArray>",
"<LayerRecordArray>",
@@ -232,13 +285,13 @@ COLR_V1_XML = [
' <BaseGlyphV1Record index="0">',
' <BaseGlyph value="glyph00010"/>',
' <Paint Format="1"><!-- PaintColrLayers -->',
- ' <NumLayers value="3"/>',
+ ' <NumLayers value="4"/>',
' <FirstLayerIndex value="0"/>',
" </Paint>",
" </BaseGlyphV1Record>",
' <BaseGlyphV1Record index="1">',
' <BaseGlyph value="glyph00014"/>',
- ' <Paint Format="8"><!-- PaintComposite -->',
+ ' <Paint Format="10"><!-- PaintComposite -->',
' <SourcePaint Format="6"><!-- PaintColrGlyph -->',
' <Glyph value="glyph00010"/>',
" </SourcePaint>",
@@ -260,7 +313,7 @@ COLR_V1_XML = [
" </BaseGlyphV1Record>",
"</BaseGlyphV1List>",
"<LayerV1List>",
- " <!-- LayerCount=3 -->",
+ " <!-- LayerCount=4 -->",
' <Paint index="0" Format="5"><!-- PaintGlyph -->',
' <Paint Format="2"><!-- PaintSolid -->',
" <Color>",
@@ -345,6 +398,26 @@ COLR_V1_XML = [
" </Paint>",
' <Glyph value="glyph00013"/>',
" </Paint>",
+ ' <Paint index="3" Format="8"><!-- PaintRotate -->',
+ ' <Paint Format="9"><!-- PaintSkew -->',
+ ' <Paint Format="5"><!-- PaintGlyph -->',
+ ' <Paint Format="2"><!-- PaintSolid -->',
+ " <Color>",
+ ' <PaletteIndex value="2"/>',
+ ' <Alpha value="0.5"/>',
+ " </Color>",
+ " </Paint>",
+ ' <Glyph value="glyph00011"/>',
+ " </Paint>",
+ ' <xSkewAngle value="-11.0"/>',
+ ' <ySkewAngle value="5.0"/>',
+ ' <centerX value="253.0"/>',
+ ' <centerY value="254.0"/>',
+ " </Paint>",
+ ' <angle value="45.0"/>',
+ ' <centerX value="255.0"/>',
+ ' <centerY value="256.0"/>',
+ " </Paint>",
"</LayerV1List>",
]
@@ -353,7 +426,7 @@ class COLR_V1_Test(object):
def test_decompile_and_compile(self, font):
colr = table_C_O_L_R_()
colr.decompile(COLR_V1_DATA, font)
- assert colr.compile(font) == COLR_V1_DATA
+ diff_binary_fragments(colr.compile(font), COLR_V1_SAMPLE)
def test_decompile_and_dump_xml(self, font):
colr = table_C_O_L_R_()
@@ -366,5 +439,14 @@ class COLR_V1_Test(object):
colr = table_C_O_L_R_()
for name, attrs, content in parseXML(COLR_V1_XML):
colr.fromXML(name, attrs, content, font)
+ diff_binary_fragments(colr.compile(font), COLR_V1_SAMPLE)
- assert colr.compile(font) == COLR_V1_DATA
+ def test_round_trip_xml(self, font):
+ colr = table_C_O_L_R_()
+ for name, attrs, content in parseXML(COLR_V1_XML):
+ colr.fromXML(name, attrs, content, font)
+ compiled = colr.compile(font)
+
+ colr = table_C_O_L_R_()
+ colr.decompile(compiled, font)
+ assert getXML(colr.toXML, font) == COLR_V1_XML
diff --git a/Tests/ttLib/woff2_test.py b/Tests/ttLib/woff2_test.py
index 2651e808..661fd448 100644
--- a/Tests/ttLib/woff2_test.py
+++ b/Tests/ttLib/woff2_test.py
@@ -21,7 +21,10 @@ import pytest
haveBrotli = False
try:
- import brotli
+ try:
+ import brotlicffi as brotli
+ except ImportError:
+ import brotli
haveBrotli = True
except ImportError:
pass
diff --git a/Tests/ttx/ttx_test.py b/Tests/ttx/ttx_test.py
index 753cc9ce..3d4c3f92 100644
--- a/Tests/ttx/ttx_test.py
+++ b/Tests/ttx/ttx_test.py
@@ -18,7 +18,10 @@ try:
except ImportError:
zopfli = None
try:
- import brotli
+ try:
+ import brotlicffi as brotli
+ except ImportError:
+ import brotli
except ImportError:
brotli = None
diff --git a/Tests/ufoLib/UFO3_test.py b/Tests/ufoLib/UFO3_test.py
index bed527db..c4218023 100644
--- a/Tests/ufoLib/UFO3_test.py
+++ b/Tests/ufoLib/UFO3_test.py
@@ -3940,6 +3940,26 @@ class UFO3WriteLayersTestCase(unittest.TestCase):
result = list(writer.getGlyphSet("layer 2", defaultLayer=False).keys())
self.assertEqual(expected, result)
+ def testGetGlyphSetNoContents(self):
+ self.makeUFO()
+ os.remove(os.path.join(self.ufoPath, "glyphs.layer 1", "contents.plist"))
+
+ reader = UFOReader(self.ufoPath, validate=True)
+ with self.assertRaises(GlifLibError):
+ reader.getGlyphSet("layer 1")
+
+ writer = UFOWriter(self.ufoPath, validate=True)
+ with self.assertRaises(GlifLibError):
+ writer.getGlyphSet("layer 1", defaultLayer=False, expectContentsFile=True)
+
+ # There's a separate code path for < v3 UFOs.
+ with open(os.path.join(self.ufoPath, "metainfo.plist"), "wb") as f:
+ plistlib.dump(dict(creator="test", formatVersion=2), f)
+ os.remove(os.path.join(self.ufoPath, "glyphs", "contents.plist"))
+ writer = UFOWriter(self.ufoPath, validate=True, formatVersion=2)
+ with self.assertRaises(GlifLibError):
+ writer.getGlyphSet(expectContentsFile=True)
+
# make a new font with two layers
def testNewFontOneLayer(self):
diff --git a/Tests/ufoLib/glifLib_test.py b/Tests/ufoLib/glifLib_test.py
index 4c8d587c..3af0256c 100644
--- a/Tests/ufoLib/glifLib_test.py
+++ b/Tests/ufoLib/glifLib_test.py
@@ -54,6 +54,16 @@ class GlyphSetTests(unittest.TestCase):
added, removed,
"%s.glif file differs after round tripping" % glyphName)
+ def testContentsExist(self):
+ with self.assertRaises(GlifLibError):
+ GlyphSet(
+ self.dstDir,
+ ufoFormatVersion=2,
+ validateRead=True,
+ validateWrite=True,
+ expectContentsFile=True,
+ )
+
def testRebuildContents(self):
gset = GlyphSet(GLYPHSETDIR, validateRead=True, validateWrite=True)
contents = gset.contents
diff --git a/Tests/ufoLib/testdata/TestFont1 (UFO3).ufoz b/Tests/ufoLib/testdata/TestFont1 (UFO3).ufoz
new file mode 100644
index 00000000..d78d494f
--- /dev/null
+++ b/Tests/ufoLib/testdata/TestFont1 (UFO3).ufoz
Binary files differ
diff --git a/Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_diff.ttx b/Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_diff.ttx
index 8112d0f6..ea1fa7e6 100644
--- a/Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_diff.ttx
+++ b/Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_diff.ttx
@@ -86,26 +86,28 @@
<LookupType value="7"/>
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
- <ContextPos index="0" Format="3">
- <!-- GlyphCount=3 -->
- <!-- PosCount=2 -->
- <Coverage index="0" Format="1">
+ <ContextPos index="0" Format="1">
+ <Coverage Format="1">
<Glyph value="A"/>
</Coverage>
- <Coverage index="1" Format="1">
- <Glyph value="a"/>
- </Coverage>
- <Coverage index="2" Format="1">
- <Glyph value="uni0303"/>
- </Coverage>
- <PosLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="0"/>
- </PosLookupRecord>
- <PosLookupRecord index="1">
- <SequenceIndex value="2"/>
- <LookupListIndex value="1"/>
- </PosLookupRecord>
+ <!-- PosRuleSetCount=1 -->
+ <PosRuleSet index="0">
+ <!-- PosRuleCount=1 -->
+ <PosRule index="0">
+ <!-- GlyphCount=3 -->
+ <!-- PosCount=2 -->
+ <Input index="0" value="a"/>
+ <Input index="1" value="uni0303"/>
+ <PosLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="0"/>
+ </PosLookupRecord>
+ <PosLookupRecord index="1">
+ <SequenceIndex value="2"/>
+ <LookupListIndex value="1"/>
+ </PosLookupRecord>
+ </PosRule>
+ </PosRuleSet>
</ContextPos>
</Lookup>
</LookupList>
diff --git a/Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_same.ttx b/Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_same.ttx
index f56b0503..1ad81185 100644
--- a/Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_same.ttx
+++ b/Tests/varLib/data/test_results/InterpolateLayoutGPOS_7_same.ttx
@@ -86,26 +86,28 @@
<LookupType value="7"/>
<LookupFlag value="0"/>
<!-- SubTableCount=1 -->
- <ContextPos index="0" Format="3">
- <!-- GlyphCount=3 -->
- <!-- PosCount=2 -->
- <Coverage index="0" Format="1">
+ <ContextPos index="0" Format="1">
+ <Coverage Format="1">
<Glyph value="A"/>
</Coverage>
- <Coverage index="1" Format="1">
- <Glyph value="a"/>
- </Coverage>
- <Coverage index="2" Format="1">
- <Glyph value="uni0303"/>
- </Coverage>
- <PosLookupRecord index="0">
- <SequenceIndex value="0"/>
- <LookupListIndex value="0"/>
- </PosLookupRecord>
- <PosLookupRecord index="1">
- <SequenceIndex value="2"/>
- <LookupListIndex value="1"/>
- </PosLookupRecord>
+ <!-- PosRuleSetCount=1 -->
+ <PosRuleSet index="0">
+ <!-- PosRuleCount=1 -->
+ <PosRule index="0">
+ <!-- GlyphCount=3 -->
+ <!-- PosCount=2 -->
+ <Input index="0" value="a"/>
+ <Input index="1" value="uni0303"/>
+ <PosLookupRecord index="0">
+ <SequenceIndex value="0"/>
+ <LookupListIndex value="0"/>
+ </PosLookupRecord>
+ <PosLookupRecord index="1">
+ <SequenceIndex value="2"/>
+ <LookupListIndex value="1"/>
+ </PosLookupRecord>
+ </PosRule>
+ </PosRuleSet>
</ContextPos>
</Lookup>
</LookupList>
diff --git a/Tests/varLib/varLib_test.py b/Tests/varLib/varLib_test.py
index dfc10c34..da1f94f4 100644
--- a/Tests/varLib/varLib_test.py
+++ b/Tests/varLib/varLib_test.py
@@ -45,10 +45,15 @@ class BuildTest(unittest.TestCase):
if self.tempdir:
shutil.rmtree(self.tempdir)
- @staticmethod
- def get_test_input(test_file_or_folder):
- path, _ = os.path.split(__file__)
- return os.path.join(path, "data", test_file_or_folder)
+ def get_test_input(self, test_file_or_folder, copy=False):
+ parent_dir = os.path.dirname(__file__)
+ path = os.path.join(parent_dir, "data", test_file_or_folder)
+ if copy:
+ copied_path = os.path.join(self.tempdir, test_file_or_folder)
+ shutil.copy2(path, copied_path)
+ return copied_path
+ else:
+ return path
@staticmethod
def get_test_output(test_file_or_folder):
@@ -314,11 +319,12 @@ class BuildTest(unittest.TestCase):
)
def test_varlib_nonmarking_CFF2(self):
- ds_path = self.get_test_input('TestNonMarkingCFF2.designspace')
+ self.temp_dir()
+
+ ds_path = self.get_test_input('TestNonMarkingCFF2.designspace', copy=True)
ttx_dir = self.get_test_input("master_non_marking_cff2")
expected_ttx_path = self.get_test_output("TestNonMarkingCFF2.ttx")
- self.temp_dir()
for path in self.get_file_list(ttx_dir, '.ttx', 'TestNonMarkingCFF2_'):
self.compile_font(path, ".otf", self.tempdir)
@@ -336,11 +342,12 @@ class BuildTest(unittest.TestCase):
self.expect_ttx(varfont, expected_ttx_path, tables)
def test_varlib_build_CFF2(self):
- ds_path = self.get_test_input('TestCFF2.designspace')
+ self.temp_dir()
+
+ ds_path = self.get_test_input('TestCFF2.designspace', copy=True)
ttx_dir = self.get_test_input("master_cff2")
expected_ttx_path = self.get_test_output("BuildTestCFF2.ttx")
- self.temp_dir()
for path in self.get_file_list(ttx_dir, '.ttx', 'TestCFF2_'):
self.compile_font(path, ".otf", self.tempdir)
@@ -358,11 +365,12 @@ class BuildTest(unittest.TestCase):
self.expect_ttx(varfont, expected_ttx_path, tables)
def test_varlib_build_CFF2_from_CFF2(self):
- ds_path = self.get_test_input('TestCFF2Input.designspace')
+ self.temp_dir()
+
+ ds_path = self.get_test_input('TestCFF2Input.designspace', copy=True)
ttx_dir = self.get_test_input("master_cff2_input")
expected_ttx_path = self.get_test_output("BuildTestCFF2.ttx")
- self.temp_dir()
for path in self.get_file_list(ttx_dir, '.ttx', 'TestCFF2_'):
self.compile_font(path, ".otf", self.tempdir)
@@ -380,11 +388,12 @@ class BuildTest(unittest.TestCase):
self.expect_ttx(varfont, expected_ttx_path, tables)
def test_varlib_build_sparse_CFF2(self):
- ds_path = self.get_test_input('TestSparseCFF2VF.designspace')
+ self.temp_dir()
+
+ ds_path = self.get_test_input('TestSparseCFF2VF.designspace', copy=True)
ttx_dir = self.get_test_input("master_sparse_cff2")
expected_ttx_path = self.get_test_output("TestSparseCFF2VF.ttx")
- self.temp_dir()
for path in self.get_file_list(ttx_dir, '.ttx', 'MasterSet_Kanji-'):
self.compile_font(path, ".otf", self.tempdir)
@@ -402,11 +411,12 @@ class BuildTest(unittest.TestCase):
self.expect_ttx(varfont, expected_ttx_path, tables)
def test_varlib_build_vpal(self):
- ds_path = self.get_test_input('test_vpal.designspace')
+ self.temp_dir()
+
+ ds_path = self.get_test_input('test_vpal.designspace', copy=True)
ttx_dir = self.get_test_input("master_vpal_test")
expected_ttx_path = self.get_test_output("test_vpal.ttx")
- self.temp_dir()
for path in self.get_file_list(ttx_dir, '.ttx', 'master_vpal_test_'):
self.compile_font(path, ".otf", self.tempdir)
@@ -494,11 +504,12 @@ class BuildTest(unittest.TestCase):
self.expect_ttx(varfont, expected_ttx_path, tables)
def test_varlib_build_from_ttf_paths(self):
- ds_path = self.get_test_input("Build.designspace")
+ self.temp_dir()
+
+ ds_path = self.get_test_input("Build.designspace", copy=True)
ttx_dir = self.get_test_input("master_ttx_interpolatable_ttf")
expected_ttx_path = self.get_test_output("BuildMain.ttx")
- self.temp_dir()
for path in self.get_file_list(ttx_dir, '.ttx', 'TestFamily-'):
self.compile_font(path, ".ttf", self.tempdir)
@@ -643,12 +654,13 @@ class BuildTest(unittest.TestCase):
assert all(tag in mvar_tags for tag in fontTools.varLib.mvar.MVAR_ENTRIES)
def test_varlib_build_VVAR_CFF2(self):
- ds_path = self.get_test_input('TestVVAR.designspace')
+ self.temp_dir()
+
+ ds_path = self.get_test_input('TestVVAR.designspace', copy=True)
ttx_dir = self.get_test_input("master_vvar_cff2")
expected_ttx_name = 'TestVVAR'
suffix = '.otf'
- self.temp_dir()
for path in self.get_file_list(ttx_dir, '.ttx', 'TestVVAR'):
font, savepath = self.compile_font(path, suffix, self.tempdir)
@@ -668,12 +680,13 @@ class BuildTest(unittest.TestCase):
self.check_ttx_dump(varfont, expected_ttx_path, tables, suffix)
def test_varlib_build_BASE(self):
- ds_path = self.get_test_input('TestBASE.designspace')
+ self.temp_dir()
+
+ ds_path = self.get_test_input('TestBASE.designspace', copy=True)
ttx_dir = self.get_test_input("master_base_test")
expected_ttx_name = 'TestBASE'
suffix = '.otf'
- self.temp_dir()
for path in self.get_file_list(ttx_dir, '.ttx', 'TestBASE'):
font, savepath = self.compile_font(path, suffix, self.tempdir)
diff --git a/mypy.ini b/mypy.ini
new file mode 100644
index 00000000..7e37b03f
--- /dev/null
+++ b/mypy.ini
@@ -0,0 +1,21 @@
+[mypy]
+python_version = 3.6
+files = Lib/fontTools/misc/plistlib
+follow_imports = silent
+ignore_missing_imports = True
+warn_redundant_casts = True
+warn_unused_configs = True
+warn_unused_ignores = True
+
+[mypy-fontTools.misc.plistlib]
+check_untyped_defs = True
+disallow_any_generics = True
+disallow_incomplete_defs = True
+disallow_subclassing_any = True
+disallow_untyped_decorators = True
+disallow_untyped_calls = False
+disallow_untyped_defs = True
+no_implicit_optional = True
+no_implicit_reexport = True
+strict_equality = True
+warn_return_any = True
diff --git a/requirements.txt b/requirements.txt
index 940e2d4a..680ffbb5 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -10,3 +10,4 @@ fs==2.4.11
skia-pathops==0.5.1.post1; platform_python_implementation != "PyPy"
# this is only required to run Tests/cu2qu/{ufo,cli}_test.py
ufoLib2==0.6.2
+pyobjc==6.2.2; sys_platform == "darwin"
diff --git a/setup.cfg b/setup.cfg
index d00d4959..db6ac55a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,5 @@
[bumpversion]
-current_version = 4.17.1
+current_version = 4.18.0
commit = True
tag = False
tag_name = {new_version}
@@ -52,8 +52,3 @@ filterwarnings =
ignore:writePlist:DeprecationWarning:plistlib_test
ignore:some_function:DeprecationWarning:fontTools.ufoLib.utils
ignore::DeprecationWarning:fontTools.varLib.designspace
-
-[egg_info]
-tag_build =
-tag_date = 0
-
diff --git a/setup.py b/setup.py
index 4d705a0f..df010048 100755
--- a/setup.py
+++ b/setup.py
@@ -82,8 +82,8 @@ extras_require = {
# for fontTools.sfnt and fontTools.woff2: to compress/uncompress
# WOFF 1.0 and WOFF 2.0 webfonts.
"woff": [
- "brotli >= 1.0.1; platform_python_implementation != 'PyPy'",
- "brotlipy >= 0.7.0; platform_python_implementation == 'PyPy'",
+ "brotli >= 1.0.1; platform_python_implementation == 'CPython'",
+ "brotlicffi >= 0.8.0; platform_python_implementation != 'CPython'",
"zopfli >= 0.1.4",
],
# for fontTools.unicode and fontTools.unicodedata: to use the latest version
@@ -441,7 +441,7 @@ if ext_modules:
setup_params = dict(
name="fonttools",
- version="4.17.1",
+ version="4.18.0",
description="Tools to manipulate font files",
author="Just van Rossum",
author_email="just@letterror.com",
diff --git a/tox.ini b/tox.ini
index b2d1033f..8ced886b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,7 +16,7 @@ deps =
pytest
pytest-randomly
-rrequirements.txt
- !nolxml: lxml==4.5.0
+ !nolxml: lxml==4.6.1
extras =
ufo
woff