mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
dev-python/fontFeatures: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
dev-python/fontFeatures/Manifest
Normal file
1
dev-python/fontFeatures/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST fontFeatures-1.6.4.tar.gz 1236722 BLAKE2B 0efcda0175de36d5e3d78c02fc6e835f3f39a14e6d050340d23dbf391ecf6cee9385822e8a005ed45d783bb467f25b087c1b473f4af1186dff98d7d9502c6b4e SHA512 fef775845b1d6dbd2b81a7f44429586ba63bdbcc3f2a5124e4dda41e8af62ac81b143e6d7e1443c3bb90e12f7f592b512bcd90bcbdc18e5eb07de195956cc196
|
||||||
26
dev-python/fontFeatures/fontFeatures-1.6.4.ebuild
Normal file
26
dev-python/fontFeatures/fontFeatures-1.6.4.ebuild
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python library for manipulating OpenType font features"
|
||||||
|
HOMEPAGE="https://github.com/simoncozens/fontFeatures"
|
||||||
|
SRC_URI="https://github.com/simoncozens/fontFeatures/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/fs[${PYTHON_USEDEP}]
|
||||||
|
dev-python/lxml[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/fonttools-4.28.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/glyphtools-0.7.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/beziers-0.1.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
35
dev-python/fontFeatures/metadata.xml
Normal file
35
dev-python/fontFeatures/metadata.xml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>lssndrbarbieri@gmail.com</email>
|
||||||
|
<name>Alessandro Barbieri</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<bugs-to>https://github.com/simoncozens/fontFeatures/issues</bugs-to>
|
||||||
|
<remote-id type="github">simoncozens/fontFeatures</remote-id>
|
||||||
|
<remote-id type="pypi">fontFeatures</remote-id>
|
||||||
|
</upstream>
|
||||||
|
<longdescription lang="en">
|
||||||
|
fontFeatures library
|
||||||
|
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.
|
||||||
|
|
||||||
|
Components
|
||||||
|
|
||||||
|
fontFeatures consists of the following components:
|
||||||
|
|
||||||
|
fontFeatures itself, which is an abstract representation of the different layout operations inside a font.
|
||||||
|
fontFeatures.feaLib (included as a mixin) which translates between Adobe feature syntax and fontFeatures representation.
|
||||||
|
fontFeatures.ttLib, which translates between OpenType binary fonts and fontFeatures representation. (Currently only OTF -> fontFeatures is partially implemented; there is no fontFeatures -> OTF compiler yet.)
|
||||||
|
fontFeatures.fontDameLib which translate FontDame text files into fontFeatures objects.
|
||||||
|
|
||||||
|
And the following utilities:
|
||||||
|
|
||||||
|
otf2fea: translates an OTF file into Adobe features syntax.
|
||||||
|
txt2fea: translates a FontDame txt file into Adobe features syntax.
|
||||||
|
</longdescription>
|
||||||
|
</pkgmetadata>
|
||||||
Reference in New Issue
Block a user