1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Add x11-fonts/py-cu2qu, cubic-to-quadratic bezier curve conversion

PR:		228027
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
This commit is contained in:
Li-Wen Hsu 2018-12-16 18:39:19 +00:00
parent eb7d494f49
commit 8143b80ef0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487618
4 changed files with 31 additions and 0 deletions

View File

@ -173,6 +173,7 @@
SUBDIR += py-bdflib
SUBDIR += py-booleanOperations
SUBDIR += py-compreffor
SUBDIR += py-cu2qu
SUBDIR += py-defcon
SUBDIR += py-fontMath
SUBDIR += py-glyphsLib

View File

@ -0,0 +1,23 @@
# $FreeBSD$
PORTNAME= cu2qu
PORTVERSION= 1.6.4
CATEGORIES= x11-fonts python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lantw44@gmail.com
COMMENT= Cubic-to-quadratic bezier curve conversion
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.18.0:print/py-fonttools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ufoLib>=2.1.1:x11-fonts/py-ufoLib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}defcon>=0.4.0:x11-fonts/py-defcon@${PY_FLAVOR}
USES= python zip
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1540712507
SHA256 (cu2qu-1.6.4.zip) = 8ffda9ab0dec7f6249a93432c274d62a72b9a0ee6787b8027929ced3d6585fb5
SIZE (cu2qu-1.6.4.zip) = 217409

View File

@ -0,0 +1,4 @@
cu2qu provides functions which take in UFO objects (Defcon Fonts or Robofab
RFonts) and converts any cubic curves to quadratic.
WWW: https://github.com/googlei18n/cu2qu