{ "info": { "author": "Source Foundry Authors and Contributors", "author_email": "chris@sourcefoundry.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: Other Environment", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Multimedia :: Graphics", "Topic :: Multimedia :: Graphics :: Graphics Conversion", "Topic :: Text Processing :: Fonts" ], "description": "\n
\n\n[![Build Status](https://travis-ci.org/source-foundry/dehinter.svg?branch=master)](https://travis-ci.org/source-foundry/dehinter)\n[![Build status](https://ci.appveyor.com/api/projects/status/08uftyy98ni837ak?svg=true)](https://ci.appveyor.com/project/chrissimpkins/dehinter)\n[![codecov](https://codecov.io/gh/source-foundry/dehinter/branch/master/graph/badge.svg)](https://codecov.io/gh/source-foundry/dehinter)\n[![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)\n\n## About\n\n`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.\n\n## What it does\n\n- Removes OpenType [glyf table](https://docs.microsoft.com/en-us/typography/opentype/spec/glyf) instruction set bytecode data\n- Removes OpenType and other TTF hinting related tables\n\t- [cvt table](https://docs.microsoft.com/en-us/typography/opentype/spec/cvt)\n\t- [fpgm table](https://docs.microsoft.com/en-us/typography/opentype/spec/fpgm)\n\t- [hdmx table](https://docs.microsoft.com/en-us/typography/opentype/spec/hdmx)\n\t- [LTSH table](https://docs.microsoft.com/en-us/typography/opentype/spec/ltsh)\n\t- [prep table](https://docs.microsoft.com/en-us/typography/opentype/spec/prep)\n\t- [TTFA table](https://www.freetype.org/ttfautohint/doc/ttfautohint.html#add-ttfa-info-table) (not part of the OpenType specification)\n\t- [VDMX table](https://docs.microsoft.com/en-us/typography/opentype/spec/vdmx)\n- Updates [gasp table](https://docs.microsoft.com/en-us/typography/opentype/spec/gasp) values\n- Updates [maxp table](https://docs.microsoft.com/en-us/typography/opentype/spec/maxp) values\n- Updates [head table](https://docs.microsoft.com/en-us/typography/opentype/spec/head) bit flags\n- Displays file sizes of the hinted and dehinted versions of the fonts\n\nOptions allow you to maintain the original version of any of these tables.\n\n## Installation\n\n`dehinter` requires a Python 3.6+ interpreter.\n\nInstallation in a [Python3 virtual environment](https://docs.python.org/3/library/venv.html) is recommended as dependencies are pinned to versions that are confirmed to work with this project.\n\nUse any of the following installation approaches:\n\n### pip install from PyPI\n\n```\n$ pip3 install dehinter\n```\n\n### pip install from source\n\n```\n$ git clone https://github.com/source-foundry/dehinter.git\n$ cd dehinter\n$ pip3 install .\n```\n\n### Developer install from source\n\nThe following approach installs the project and associated optional developer dependencies so that source changes are available without the need for re-installation.\n\n```\n$ git clone https://github.com/source-foundry/dehinter.git\n$ cd dehinter\n$ pip3 install --ignore-installed -r requirements.txt -e \".[dev]\"\n```\n\n## Usage\n\n```\n$ dehinter [OPTIONS] [HINTED FILE PATH]\n```\n\nBy default, a new dehinted font build write occurs on the path `[ORIGINAL HINTED FONT NAME]-dehinted.ttf` in the `[HINTED FILE PATH]` directory.\n\nUse `dehinter -h` to view available options.\n\n## Issues\n\nPlease report issues on the [project issue tracker](https://github.com/source-foundry/dehinter/issues).\n\n## Contributing\n\nContributions are warmly welcomed. A development dependency environment can be installed in editable mode with the developer installation documentation above. \n\nPlease use the standard Github pull request approach to propose source changes.\n\n### Source file linting\n\nPython source files are linted with `flake8`. See the Makefile `test-lint` target for details.\n\n### Source file static type checks\n\nStatic type checks are performed on Python source files with `pytype`. See the Makefile `test-type-check` target for details.\n\n### Testing\n\nThe 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.\n\nLocal testing by Python interpreter version can be performed with the following command executed from the root of the repository:\n\n```\n$ tox -e [PYTHON INTERPRETER VERSION]\n```\n\nPlease see the `tox` documentation for additional details.\n\n### Test coverage\n\nUnit test coverage is executed with the `coverage` tool. See the Makefile `test-coverage` target for details.\n\n## Acknowledgments\n\n`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/).\n\n## License\n\n Copyright 2019 Source Foundry Authors and Contributors\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/source-foundry/dehinter", "keywords": "", "license": "Apache License v2.0", "maintainer": "", "maintainer_email": "", "name": "dehinter", "package_url": "https://pypi.org/project/dehinter/", "platform": "Any", "project_url": "https://pypi.org/project/dehinter/", "project_urls": { "Homepage": "https://github.com/source-foundry/dehinter" }, "release_url": "https://pypi.org/project/dehinter/0.4.2/", "requires_dist": [ "fontTools (==4.0.0)", "coverage ; extra == 'dev'", "pytest ; extra == 'dev'", "tox ; extra == 'dev'", "flake8 ; extra == 'dev'", "pytype ; extra == 'dev'", "wheel ; extra == 'maintain'", "setuptools ; extra == 'maintain'", "twine ; extra == 'maintain'" ], "requires_python": ">=3.6.0", "summary": "A tool for the removal of TrueType instruction sets (hints) in fonts", "version": "0.4.2" }, "last_serial": 5859124, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "7a75c077b18a3a2a8c26d7ea098d32ff", "sha256": "c0543dd472af674b1cf3acc5ad31095b1635ac5bac67fd08d0d1e114413ade3b" }, "downloads": -1, "filename": "dehinter-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7a75c077b18a3a2a8c26d7ea098d32ff", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 7548, "upload_time": "2019-08-16T04:50:54", "url": "https://files.pythonhosted.org/packages/24/ad/77cdd8cbb28c0d5ae95aaa38b2c9f8a9f7fd395c35ebaefd266c55620385/dehinter-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3bf474a494eaa8e6621aac6cede885ac", "sha256": "40ed53ad93154bde53115a966376151e8556408dadbf62d3648c9879c1351796" }, "downloads": -1, "filename": "dehinter-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3bf474a494eaa8e6621aac6cede885ac", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 6527, "upload_time": "2019-08-16T04:50:56", "url": "https://files.pythonhosted.org/packages/00/3e/9e64461c3222a95194431cb6b8045c9bac144fab44ac968457b1d3ee2a3b/dehinter-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "17c4bf121c91288c913a9d1188095536", "sha256": "e14d8b62303d0e340683faef4f3df99ed00725a41cff6bae65aa37084807f979" }, "downloads": -1, "filename": "dehinter-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "17c4bf121c91288c913a9d1188095536", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5.0", "size": 14355, "upload_time": "2019-08-20T16:44:58", "url": "https://files.pythonhosted.org/packages/9d/4b/13b572281a34c9851f5abc8cefb4c4e60a1faa13dbf4d3ae81bed890fcbf/dehinter-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cadda7d5c6bafc9dfe4eda8fdee96e0f", "sha256": "7ba30f63a97f28202861cd58aaa16305eb0471651510de88f92d3e325e7d35ed" }, "downloads": -1, "filename": "dehinter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "cadda7d5c6bafc9dfe4eda8fdee96e0f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.0", "size": 12085, "upload_time": "2019-08-20T16:45:00", "url": "https://files.pythonhosted.org/packages/75/80/2dc793008eb70e74b9df9125192b3a5dc6f348fd7222b11c534597ff50d6/dehinter-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2e4ebf69acd7dd2af512f15805ce4a36", "sha256": "5ca39f9ac2b979708573c724ffb4538697760d897bf9569bfb59c244fcbe3407" }, "downloads": -1, "filename": "dehinter-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2e4ebf69acd7dd2af512f15805ce4a36", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5.0", "size": 14535, "upload_time": "2019-08-21T03:15:31", "url": "https://files.pythonhosted.org/packages/97/e4/d98b06f2b40cc7059bec9e73e37f9dc45417e0a3a2e3cc4e155b5cafc0be/dehinter-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3a88a12bad3d024b879f553a25fb4844", "sha256": "7b03947d48e3e0dcd75d8552d55085e2ea86d16250423aaf52f71adfa0c1dd15" }, "downloads": -1, "filename": "dehinter-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3a88a12bad3d024b879f553a25fb4844", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.0", "size": 12369, "upload_time": "2019-08-21T03:15:33", "url": "https://files.pythonhosted.org/packages/47/7b/7590a7bc6add767cf9680999ecbb9b7abb40990bada8c21fc10e677a530f/dehinter-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "7d006e0e1b95163f3de8bfe9e860de69", "sha256": "956340d4ad07ef869998c1e8e7f80f931976a3e89db178097b4e40a126438527" }, "downloads": -1, "filename": "dehinter-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7d006e0e1b95163f3de8bfe9e860de69", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5.0", "size": 14630, "upload_time": "2019-08-22T04:12:17", "url": "https://files.pythonhosted.org/packages/a2/b3/e22d2ad55b50d1409ed2a41165a1f45b39ba9a86594dd1f5db13ff750a6e/dehinter-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ee0aa5f216901db2d9d2eee5355d3c8", "sha256": "164a12f37e2452fd4c6c09361eac652ba743356490dafc6b63e0a0eae2f22ef5" }, "downloads": -1, "filename": "dehinter-0.3.0.tar.gz", "has_sig": false, "md5_digest": "2ee0aa5f216901db2d9d2eee5355d3c8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.0", "size": 12557, "upload_time": "2019-08-22T04:12:19", "url": "https://files.pythonhosted.org/packages/a6/3a/381b94e7aaee1c7e625f310f9d29c0e59f6c0517d4b717fba1128c37e74b/dehinter-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "823ed3a0c7372dd8866e2f0fafa49e06", "sha256": "f84a24e9669d17b3d170763c4320d19ef558a6779e10712b2ea9d152cfa57bab" }, "downloads": -1, "filename": "dehinter-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "823ed3a0c7372dd8866e2f0fafa49e06", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 14788, "upload_time": "2019-08-22T23:23:08", "url": "https://files.pythonhosted.org/packages/51/72/f3ca213bcfc5099113a2bf16b43392f08f1293659a7be276cdad56873266/dehinter-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff87bfcd79c3c9f690b6f6ff2a48ce74", "sha256": "01d6598f8f782a4a4ab44a42bd29f3cc2da469d1ab464d5fb177dfbf96754d46" }, "downloads": -1, "filename": "dehinter-0.4.0.tar.gz", "has_sig": false, "md5_digest": "ff87bfcd79c3c9f690b6f6ff2a48ce74", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 14176, "upload_time": "2019-08-22T23:23:09", "url": "https://files.pythonhosted.org/packages/96/08/ed65437d675ab478c5744608b32d8719c92fdf6f82bd3862f7ad274e3d69/dehinter-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "19e6d4f454b49623bb2d156226ca1ae7", "sha256": "2d6a873102543da57d6e3e7d52c912a5c52b1370c8789adbd161beada61ae924" }, "downloads": -1, "filename": "dehinter-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "19e6d4f454b49623bb2d156226ca1ae7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 14787, "upload_time": "2019-08-29T01:37:59", "url": "https://files.pythonhosted.org/packages/a0/90/108ef7220d3dfd1774d8ef37e9fc4648f76b7fd5125d283d800f6a452b21/dehinter-0.4.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5fe2943dc69ee5bf73e55f1845989334", "sha256": "14ad55b28e6599323a8c6d2a062e8bf2ec9c37bce9a70eafb639f48aaf7c1e1f" }, "downloads": -1, "filename": "dehinter-0.4.1.tar.gz", "has_sig": false, "md5_digest": "5fe2943dc69ee5bf73e55f1845989334", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 14216, "upload_time": "2019-08-29T01:38:03", "url": "https://files.pythonhosted.org/packages/e7/7f/f6f41c0a1a91e1fb71bee6160c18b60d5b6f924be6870a360a73fa9dcaf8/dehinter-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "65563fa21181cb9d45fe876d4ad0b90c", "sha256": "d9b25ce341afaf9903eac5a030bc00c2afb4e8fff74a434d840f7eaffb0f0643" }, "downloads": -1, "filename": "dehinter-0.4.2-py3-none-any.whl", "has_sig": false, "md5_digest": "65563fa21181cb9d45fe876d4ad0b90c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 14788, "upload_time": "2019-09-19T22:52:56", "url": "https://files.pythonhosted.org/packages/7a/7f/ba89429c4b17a54dcb161fd6ac96595194b5788cb1349516ee20e49a8b08/dehinter-0.4.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "308c0ac5f7606f2ccf76481aaad5c832", "sha256": "f932bb71f093a2d3f52991e82c4c8f797dee0362b5ae4d5e8e8bd099a9daadf5" }, "downloads": -1, "filename": "dehinter-0.4.2.tar.gz", "has_sig": false, "md5_digest": "308c0ac5f7606f2ccf76481aaad5c832", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 14257, "upload_time": "2019-09-19T22:52:58", "url": "https://files.pythonhosted.org/packages/db/21/1059d82eb080d4e78c56a2ed012a2a40c4067117f3e18c5e6e9426b74e7d/dehinter-0.4.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "65563fa21181cb9d45fe876d4ad0b90c", "sha256": "d9b25ce341afaf9903eac5a030bc00c2afb4e8fff74a434d840f7eaffb0f0643" }, "downloads": -1, "filename": "dehinter-0.4.2-py3-none-any.whl", "has_sig": false, "md5_digest": "65563fa21181cb9d45fe876d4ad0b90c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 14788, "upload_time": "2019-09-19T22:52:56", "url": "https://files.pythonhosted.org/packages/7a/7f/ba89429c4b17a54dcb161fd6ac96595194b5788cb1349516ee20e49a8b08/dehinter-0.4.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "308c0ac5f7606f2ccf76481aaad5c832", "sha256": "f932bb71f093a2d3f52991e82c4c8f797dee0362b5ae4d5e8e8bd099a9daadf5" }, "downloads": -1, "filename": "dehinter-0.4.2.tar.gz", "has_sig": false, "md5_digest": "308c0ac5f7606f2ccf76481aaad5c832", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 14257, "upload_time": "2019-09-19T22:52:58", "url": "https://files.pythonhosted.org/packages/db/21/1059d82eb080d4e78c56a2ed012a2a40c4067117f3e18c5e6e9426b74e7d/dehinter-0.4.2.tar.gz" } ] }