print/py-dehinter: Add py-dehinter 3.1.0

dehinter is a Python command line application that removes TrueType instruction
sets, global hinting tables, and other associated OpenType table data in font
files.

What it does
- Removes OpenType glyf table instruction set bytecode data
- Removes OpenType and other TTF hinting related tables - cvt table - fpgm table
- hdmx table - LTSH table - prep table - TTFA table (not part of the OpenType
  specification) - VDMX table
- Removes OpenType cvar table from variable fonts
- Updates gasp table values
- Updates maxp table values
- Updates head table bit flags
- Displays file sizes of the hinted and dehinted versions of the fonts

WWW: https://github.com/source-foundry/dehinter
This commit is contained in:
Po-Chuan Hsieh 2021-05-16 23:12:46 +08:00
parent 1f58d8b468
commit 0d58f5fdaa
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 42 additions and 0 deletions

View File

@ -170,6 +170,7 @@
SUBDIR += pstotext
SUBDIR += psutils
SUBDIR += py-collidoscope
SUBDIR += py-dehinter
SUBDIR += py-font-v
SUBDIR += py-fontaine
SUBDIR += py-fontbakery

View File

@ -0,0 +1,22 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= dehinter
PORTVERSION= 3.1.0
CATEGORIES= print python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Remove TrueType instruction sets (hints) in fonts
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1620928537
SHA256 (dehinter-3.1.0.tar.gz) = 0654d06af0086e2d862fb426451a18c5f2aae52ae3afbb2e389ff30c6a9d493e
SIZE (dehinter-3.1.0.tar.gz) = 16205

View File

@ -0,0 +1,16 @@
dehinter is a Python command line application that removes TrueType instruction
sets, global hinting tables, and other associated OpenType table data in font
files.
What it does
- Removes OpenType glyf table instruction set bytecode data
- Removes OpenType and other TTF hinting related tables - cvt table - fpgm table
- hdmx table - LTSH table - prep table - TTFA table (not part of the OpenType
specification) - VDMX table
- Removes OpenType cvar table from variable fonts
- Updates gasp table values
- Updates maxp table values
- Updates head table bit flags
- Displays file sizes of the hinted and dehinted versions of the fonts
WWW: https://github.com/source-foundry/dehinter