Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 2021 15:25:54 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0d58f5fdaaf0 - main - print/py-dehinter: Add py-dehinter 3.1.0
Message-ID:  <202105161525.14GFPsUG065689@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d58f5fdaaf0441f40dc94dc1d74c5efe831a3e2

commit 0d58f5fdaaf0441f40dc94dc1d74c5efe831a3e2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-05-16 15:12:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-05-16 15:23:46 +0000

    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
---
 print/Makefile              |  1 +
 print/py-dehinter/Makefile  | 22 ++++++++++++++++++++++
 print/py-dehinter/distinfo  |  3 +++
 print/py-dehinter/pkg-descr | 16 ++++++++++++++++
 4 files changed, 42 insertions(+)

diff --git a/print/Makefile b/print/Makefile
index 44ad1d3cdfc5..cea14a49af20 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -170,6 +170,7 @@
     SUBDIR += pstotext
     SUBDIR += psutils
     SUBDIR += py-collidoscope
+    SUBDIR += py-dehinter
     SUBDIR += py-font-v
     SUBDIR += py-fontaine
     SUBDIR += py-fontbakery
diff --git a/print/py-dehinter/Makefile b/print/py-dehinter/Makefile
new file mode 100644
index 000000000000..b1e4efb95f12
--- /dev/null
+++ b/print/py-dehinter/Makefile
@@ -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>
diff --git a/print/py-dehinter/distinfo b/print/py-dehinter/distinfo
new file mode 100644
index 000000000000..6a95b517c135
--- /dev/null
+++ b/print/py-dehinter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620928537
+SHA256 (dehinter-3.1.0.tar.gz) = 0654d06af0086e2d862fb426451a18c5f2aae52ae3afbb2e389ff30c6a9d493e
+SIZE (dehinter-3.1.0.tar.gz) = 16205
diff --git a/print/py-dehinter/pkg-descr b/print/py-dehinter/pkg-descr
new file mode 100644
index 000000000000..093b20d84d0d
--- /dev/null
+++ b/print/py-dehinter/pkg-descr
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105161525.14GFPsUG065689>