mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-python/fontFeatures: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
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