x11-fonts/py-fontfeatures: Add py-fontfeatures 1.7.3
OpenType fonts are "programmed" using features, which are normally authored in Adobe's feature file format. This like source code to a computer program: it's a user-friendly, but computer-unfriendly, way to represent the features. Inside a font, the features are compiled in an efficient internal format. This is like the binary of a computer program: computers can use it, but they can't do else anything with it, and people can't read it. The purpose of this library is to provide a middle ground for representing features in a machine-manipulable format, kind of like the abstract syntax tree of a computer programmer. This is so that: - features can be represented in a structured human-readable and machine-readable way, analogous to the XML files of the Unified Font Object format. - features can be more directly authored by programs (such as font editors), rather than them having to output AFDKO feature file format. - features can be easily manipulated by programs - for example, features from two files merged together, or lookups moved between languages.
This commit is contained in:
parent
6cf0c4cce7
commit
5400271f1c
|
@ -235,6 +235,7 @@
|
|||
SUBDIR += py-cu2qu
|
||||
SUBDIR += py-defcon
|
||||
SUBDIR += py-fontMath
|
||||
SUBDIR += py-fontfeatures
|
||||
SUBDIR += py-fontmake
|
||||
SUBDIR += py-gflanguages
|
||||
SUBDIR += py-glyphsLib
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
PORTNAME= fontfeatures
|
||||
PORTVERSION= 1.7.3
|
||||
CATEGORIES= x11-fonts python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= fontFeatures-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Python library for manipulating OpenType font features
|
||||
WWW= https://github.com/simoncozens/fontFeatures
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beziers>=0.1.0:graphics/py-beziers@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}fonttools>=4.28.0:print/py-fonttools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}fs2>=0:devel/py-fs2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}glyphtools>=0.7.0:print/py-glyphtools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1669057519
|
||||
SHA256 (fontFeatures-1.7.3.tar.gz) = cb3a4526a8b3ceae5a104b7ac046434e39bc989c39160a554d434d4df65ab269
|
||||
SIZE (fontFeatures-1.7.3.tar.gz) = 1235730
|
|
@ -0,0 +1,18 @@
|
|||
OpenType fonts are "programmed" using features, which are normally authored in
|
||||
Adobe's feature file format. This like source code to a computer program: it's a
|
||||
user-friendly, but computer-unfriendly, way to represent the features.
|
||||
|
||||
Inside a font, the features are compiled in an efficient internal format. This
|
||||
is like the binary of a computer program: computers can use it, but they can't
|
||||
do else anything with it, and people can't read it.
|
||||
|
||||
The purpose of this library is to provide a middle ground for representing
|
||||
features in a machine-manipulable format, kind of like the abstract syntax tree
|
||||
of a computer programmer. This is so that:
|
||||
- features can be represented in a structured human-readable and
|
||||
machine-readable way, analogous to the XML files of the Unified Font Object
|
||||
format.
|
||||
- features can be more directly authored by programs (such as font editors),
|
||||
rather than them having to output AFDKO feature file format.
|
||||
- features can be easily manipulated by programs - for example, features from
|
||||
two files merged together, or lookups moved between languages.
|
Loading…
Reference in New Issue