Skip to content

Commit 1a82f41

Browse files
Merge pull request #23 from source-foundry/dev
v1.0.0
2 parents fec91cc + 36ad611 commit 1a82f41

File tree

6 files changed

+49
-31
lines changed

6 files changed

+49
-31
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,17 @@ matrix:
3333
install: pip install --upgrade tox pytest
3434
dist: xenial
3535
script: tox -e $TOX_ENV
36+
- python: 3.8
37+
env: TOX_ENV=py38
38+
install: pip install --upgrade tox pytest
39+
dist: xenial
40+
script: tox -e $TOX_ENV
3641
- os: osx
3742
language: generic
38-
osx_image: xcode11 # Python 3.7.4 running on macOS 10.14.4
43+
osx_image: xcode11 # Python 3.7.4 running on macOS 10.14.4
3944
install: pip3 install --upgrade tox pytest
4045
env: TOX_ENV=py37
4146
script: tox -e $TOX_ENV
4247

4348
notifications:
44-
email: false
49+
email: false

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## v1.0.0
4+
5+
- updated fontTools and associated dependencies to v4.6.0 release
6+
- this update adds Unicode 13 support
7+
- add Python3.8 CI testing support
8+
39
## v0.4.3
410

511
- escalated fontTools dependency version to v4.2.4
@@ -49,4 +55,4 @@
4955

5056
## v0.0.1
5157

52-
- pre-release for PyPI naming
58+
- pre-release for PyPI naming

README.md

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,19 @@
22
<br/>
33

44
[![PyPI](https://img.shields.io/pypi/v/dehinter?color=blueviolet&label=PyPI&logo=python&logoColor=white)](https://pypi.org/project/dehinter/)
5-
[![Build Status](https://travis-ci.org/source-foundry/dehinter.svg?branch=master)](https://travis-ci.org/source-foundry/dehinter)
5+
[![Build Status](https://travis-ci.com/source-foundry/dehinter.svg?branch=master)](https://travis-ci.com/source-foundry/dehinter)
66
[![Build status](https://ci.appveyor.com/api/projects/status/08uftyy98ni837ak?svg=true)](https://ci.appveyor.com/project/chrissimpkins/dehinter)
77
[![codecov](https://codecov.io/gh/source-foundry/dehinter/branch/master/graph/badge.svg)](https://codecov.io/gh/source-foundry/dehinter)
8-
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a2f54fac2c544f389e0066cfa159dfe8)](https://www.codacy.com/app/SourceFoundry/dehinter?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=source-foundry/dehinter&amp;utm_campaign=Badge_Grade)
8+
[![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)
99

1010
## About
1111

12-
`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.
12+
`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.
1313

1414
## What it does
1515

1616
- Removes OpenType [glyf table](https://docs.microsoft.com/en-us/typography/opentype/spec/glyf) instruction set bytecode data
17-
- Removes OpenType and other TTF hinting related tables
18-
- [cvt table](https://docs.microsoft.com/en-us/typography/opentype/spec/cvt)
19-
- [fpgm table](https://docs.microsoft.com/en-us/typography/opentype/spec/fpgm)
20-
- [hdmx table](https://docs.microsoft.com/en-us/typography/opentype/spec/hdmx)
21-
- [LTSH table](https://docs.microsoft.com/en-us/typography/opentype/spec/ltsh)
22-
- [prep table](https://docs.microsoft.com/en-us/typography/opentype/spec/prep)
23-
- [TTFA table](https://www.freetype.org/ttfautohint/doc/ttfautohint.html#add-ttfa-info-table) (not part of the OpenType specification)
24-
- [VDMX table](https://docs.microsoft.com/en-us/typography/opentype/spec/vdmx)
17+
- 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)
2518
- Updates [gasp table](https://docs.microsoft.com/en-us/typography/opentype/spec/gasp) values
2619
- Updates [maxp table](https://docs.microsoft.com/en-us/typography/opentype/spec/maxp) values
2720
- 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
7770

7871
## Contributing
7972

80-
Contributions are warmly welcomed. A development dependency environment can be installed in editable mode with the developer installation documentation above.
73+
Contributions are warmly welcomed. A development dependency environment can be installed in editable mode with the developer installation documentation above.
8174

8275
Please use the standard Github pull request approach to propose source changes.
8376

8477
### Source file linting
8578

86-
Python source files are linted with `flake8`. See the Makefile `test-lint` target for details.
79+
Python source files are linted with `flake8`. See the Makefile `test-lint` target for details.
8780

8881
### Source file static type checks
8982

90-
Static type checks are performed on Python source files with `pytype`. See the Makefile `test-type-check` target for details.
83+
Static type checks are performed on Python source files with `pytype`. See the Makefile `test-type-check` target for details.
9184

9285
### Testing
9386

94-
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.
87+
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.
9588

9689
Local testing by Python interpreter version can be performed with the following command executed from the root of the repository:
9790

@@ -103,24 +96,24 @@ Please see the `tox` documentation for additional details.
10396

10497
### Test coverage
10598

106-
Unit test coverage is executed with the `coverage` tool. See the Makefile `test-coverage` target for details.
99+
Unit test coverage is executed with the `coverage` tool. See the Makefile `test-coverage` target for details.
107100

108101
## Acknowledgments
109102

110103
`dehinter` is built with the fantastic [fontTools free software library](https://github.com/fonttools/fonttools) and is based on the dehinting approach used in the [`ttfautohint` free software project](https://www.freetype.org/ttfautohint/).
111104

112105
## License
113106

114-
Copyright 2019 Source Foundry Authors and Contributors
107+
Copyright 2019 Source Foundry Authors and Contributors
115108

116-
Licensed under the Apache License, Version 2.0 (the "License");
117-
you may not use this file except in compliance with the License.
118-
You may obtain a copy of the License at
109+
Licensed under the Apache License, Version 2.0 (the "License");
110+
you may not use this file except in compliance with the License.
111+
You may obtain a copy of the License at
119112

120113
http://www.apache.org/licenses/LICENSE-2.0
121114

122-
Unless required by applicable law or agreed to in writing, software
123-
distributed under the License is distributed on an "AS IS" BASIS,
124-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
125-
See the License for the specific language governing permissions and
126-
limitations under the License.
115+
Unless required by applicable law or agreed to in writing, software
116+
distributed under the License is distributed on an "AS IS" BASIS,
117+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
118+
See the License for the specific language governing permissions and
119+
limitations under the License.

appveyor.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,25 @@ environment:
44
PYTHON_HOME: "C:\\Python36"
55
TOX_PY: py36
66

7+
- JOB: "3.6 64-bit"
8+
PYTHON_HOME: "C:\\Python36-x64"
9+
TOX_PY: py36
10+
711
- JOB: "3.7 64-bit"
812
PYTHON_HOME: "C:\\Python37-x64"
913
TOX_PY: py37
1014

15+
- JOB: "3.8 64-bit"
16+
PYTHON_HOME: "C:\\Python38-x64"
17+
TOX_PY: py38
18+
1119
install:
1220
# Prepend Python to the PATH of this build
1321
- "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
1422

1523
# check that we have the expected version and architecture for Python
1624
- "python --version"
17-
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
25+
- 'python -c "import struct; print(struct.calcsize(''P'') * 8)"'
1826

1927
# upgrade pip and setuptools to avoid out-of-date warnings
2028
- "python -m pip install --disable-pip-version-check --user --upgrade pip setuptools virtualenv"

lib/dehinter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
version = __version__ = "0.4.3"
15+
version = __version__ = "1.0.0"

requirements.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
fontTools==4.6.0
1+
#
2+
# This file is autogenerated by pip-compile
3+
# To update, run:
4+
#
5+
# pip-compile
6+
#
7+
fonttools==4.6.0 # via dehinter (setup.py)

0 commit comments

Comments
 (0)