From 59fae5bc095befddf6a8926fb029e5ba68d2644e Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Sun, 29 Mar 2020 14:11:20 -0400 Subject: [PATCH 1/7] bump version --- lib/dehinter/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dehinter/__init__.py b/lib/dehinter/__init__.py index 20abce7..7f27984 100644 --- a/lib/dehinter/__init__.py +++ b/lib/dehinter/__init__.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -version = __version__ = "0.4.3" +version = __version__ = "1.0.0" From 1573c43b72187303c5bd97fd17bc1c3bf6298ef3 Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Sun, 29 Mar 2020 14:12:07 -0400 Subject: [PATCH 2/7] [requirements.txt] pip-compile update --- requirements.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8a7b7e1..eb6e1e5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,7 @@ -fontTools==4.6.0 \ No newline at end of file +# +# This file is autogenerated by pip-compile +# To update, run: +# +# pip-compile +# +fonttools==4.6.0 # via dehinter (setup.py) From 5651a66cf4c84dd0c05d66ec89f65efcc21bb0af Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Sun, 29 Mar 2020 14:12:32 -0400 Subject: [PATCH 3/7] [appveyor.yml] add Py3.8 build testing, 64 bit Py 3.6 testing --- appveyor.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index d110dfb..c12041a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,17 +4,25 @@ environment: PYTHON_HOME: "C:\\Python36" TOX_PY: py36 + - JOB: "3.6 64-bit" + PYTHON_HOME: "C:\\Python36-x64" + TOX_PY: py36 + - JOB: "3.7 64-bit" PYTHON_HOME: "C:\\Python37-x64" TOX_PY: py37 + - JOB: "3.8 64-bit" + PYTHON_HOME: "C:\\Python38-x64" + TOX_PY: py37 + install: # 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)\"" + - '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" From 66efd3a878758a40b9e9a1d85a5ec5a1f169b3d7 Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Sun, 29 Mar 2020 14:15:56 -0400 Subject: [PATCH 4/7] [appveyor.yml] fix tox configuration for Py3.8 --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index c12041a..73e591a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,7 +14,7 @@ environment: - JOB: "3.8 64-bit" PYTHON_HOME: "C:\\Python38-x64" - TOX_PY: py37 + TOX_PY: py38 install: # Prepend Python to the PATH of this build From 333071e08acb5a5eb90f404a8583de6cff365c15 Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Sun, 29 Mar 2020 14:20:02 -0400 Subject: [PATCH 5/7] [.travis.yml] add Py3.8 testing --- .travis.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index eb82d6b..b0b4eb9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,12 +33,17 @@ matrix: install: pip install --upgrade tox pytest dist: xenial script: tox -e $TOX_ENV + - python: 3.8 + env: TOX_ENV=py38 + install: pip install --upgrade tox pytest + dist: xenial + script: tox -e $TOX_ENV - os: osx language: generic - osx_image: xcode11 # Python 3.7.4 running on macOS 10.14.4 + osx_image: xcode11 # Python 3.7.4 running on macOS 10.14.4 install: pip3 install --upgrade tox pytest env: TOX_ENV=py37 script: tox -e $TOX_ENV notifications: - email: false \ No newline at end of file + email: false From fb76a7dc3b693af7a8a1906522a1387901a12595 Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Sun, 29 Mar 2020 14:21:53 -0400 Subject: [PATCH 6/7] [README.md] transition to travis-ci.com --- README.md | 43 ++++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 2e38bd1..9f422c4 100644 --- a/README.md +++ b/README.md @@ -2,26 +2,19 @@
[![PyPI](https://img.shields.io/pypi/v/dehinter?color=blueviolet&label=PyPI&logo=python&logoColor=white)](https://pypi.org/project/dehinter/) -[![Build Status](https://travis-ci.org/source-foundry/dehinter.svg?branch=master)](https://travis-ci.org/source-foundry/dehinter) +[![Build Status](https://travis-ci.com/source-foundry/dehinter.svg?branch=master)](https://travis-ci.com/source-foundry/dehinter) [![Build status](https://ci.appveyor.com/api/projects/status/08uftyy98ni837ak?svg=true)](https://ci.appveyor.com/project/chrissimpkins/dehinter) [![codecov](https://codecov.io/gh/source-foundry/dehinter/branch/master/graph/badge.svg)](https://codecov.io/gh/source-foundry/dehinter) -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a2f54fac2c544f389e0066cfa159dfe8)](https://www.codacy.com/app/SourceFoundry/dehinter?utm_source=github.com&utm_medium=referral&utm_content=source-foundry/dehinter&utm_campaign=Badge_Grade) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a2f54fac2c544f389e0066cfa159dfe8)](https://www.codacy.com/app/SourceFoundry/dehinter?utm_source=github.com&utm_medium=referral&utm_content=source-foundry/dehinter&utm_campaign=Badge_Grade) ## About -`dehinter` is a Python command line application that removes TrueType instruction sets, global hinting tables, and other associated OpenType table data in font files. The tool provides cross-platform support on macOS, Windows, and Linux systems with a Python v3.6+ interpreter. +`dehinter` is a Python command line application that removes TrueType instruction sets, global hinting tables, and other associated OpenType table data in font files. The tool provides cross-platform support on macOS, Windows, and Linux systems with a Python v3.6+ interpreter. ## What it does - Removes OpenType [glyf table](https://docs.microsoft.com/en-us/typography/opentype/spec/glyf) instruction set bytecode data -- Removes OpenType and other TTF hinting related tables - - [cvt table](https://docs.microsoft.com/en-us/typography/opentype/spec/cvt) - - [fpgm table](https://docs.microsoft.com/en-us/typography/opentype/spec/fpgm) - - [hdmx table](https://docs.microsoft.com/en-us/typography/opentype/spec/hdmx) - - [LTSH table](https://docs.microsoft.com/en-us/typography/opentype/spec/ltsh) - - [prep table](https://docs.microsoft.com/en-us/typography/opentype/spec/prep) - - [TTFA table](https://www.freetype.org/ttfautohint/doc/ttfautohint.html#add-ttfa-info-table) (not part of the OpenType specification) - - [VDMX table](https://docs.microsoft.com/en-us/typography/opentype/spec/vdmx) +- Removes OpenType and other TTF hinting related tables - [cvt table](https://docs.microsoft.com/en-us/typography/opentype/spec/cvt) - [fpgm table](https://docs.microsoft.com/en-us/typography/opentype/spec/fpgm) - [hdmx table](https://docs.microsoft.com/en-us/typography/opentype/spec/hdmx) - [LTSH table](https://docs.microsoft.com/en-us/typography/opentype/spec/ltsh) - [prep table](https://docs.microsoft.com/en-us/typography/opentype/spec/prep) - [TTFA table](https://www.freetype.org/ttfautohint/doc/ttfautohint.html#add-ttfa-info-table) (not part of the OpenType specification) - [VDMX table](https://docs.microsoft.com/en-us/typography/opentype/spec/vdmx) - Updates [gasp table](https://docs.microsoft.com/en-us/typography/opentype/spec/gasp) values - Updates [maxp table](https://docs.microsoft.com/en-us/typography/opentype/spec/maxp) values - Updates [head table](https://docs.microsoft.com/en-us/typography/opentype/spec/head) bit flags @@ -77,21 +70,21 @@ Please report issues on the [project issue tracker](https://github.com/source-fo ## Contributing -Contributions are warmly welcomed. A development dependency environment can be installed in editable mode with the developer installation documentation above. +Contributions are warmly welcomed. A development dependency environment can be installed in editable mode with the developer installation documentation above. Please use the standard Github pull request approach to propose source changes. ### Source file linting -Python source files are linted with `flake8`. See the Makefile `test-lint` target for details. +Python source files are linted with `flake8`. See the Makefile `test-lint` target for details. ### Source file static type checks -Static type checks are performed on Python source files with `pytype`. See the Makefile `test-type-check` target for details. +Static type checks are performed on Python source files with `pytype`. See the Makefile `test-type-check` target for details. ### Testing -The project runs continuous integration testing on [Travis CI](https://travis-ci.org/source-foundry/dehinter) and [Appveyor CI](https://ci.appveyor.com/project/chrissimpkins/dehinter) with the `pytest` and `tox` testing toolchain. Test modules are located in the `tests` directory of the repository. +The project runs continuous integration testing on [Travis CI](https://travis-ci.org/source-foundry/dehinter) and [Appveyor CI](https://ci.appveyor.com/project/chrissimpkins/dehinter) with the `pytest` and `tox` testing toolchain. Test modules are located in the `tests` directory of the repository. Local testing by Python interpreter version can be performed with the following command executed from the root of the repository: @@ -103,7 +96,7 @@ Please see the `tox` documentation for additional details. ### Test coverage -Unit test coverage is executed with the `coverage` tool. See the Makefile `test-coverage` target for details. +Unit test coverage is executed with the `coverage` tool. See the Makefile `test-coverage` target for details. ## Acknowledgments @@ -111,16 +104,16 @@ Unit test coverage is executed with the `coverage` tool. See the Makefile `test ## License - Copyright 2019 Source Foundry Authors and Contributors +Copyright 2019 Source Foundry Authors and Contributors - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. From 36ad61186306fac21991738cd3c08c8cb376835f Mon Sep 17 00:00:00 2001 From: Chris Simpkins Date: Sun, 29 Mar 2020 14:35:07 -0400 Subject: [PATCH 7/7] [CHANGELOG.md] v1.0.0 --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 721f29b..369cd16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v1.0.0 + +- updated fontTools and associated dependencies to v4.6.0 release +- this update adds Unicode 13 support +- add Python3.8 CI testing support + ## v0.4.3 - escalated fontTools dependency version to v4.2.4 @@ -49,4 +55,4 @@ ## v0.0.1 -- pre-release for PyPI naming \ No newline at end of file +- pre-release for PyPI naming