Skip to main content

feamerge

Merge Adobe feature files into a single variable feature file

feamerge is a tool designed to solve the challenge of compiling designspace files with varying OpenType features. It automates the preprocessing of UFO feature files—expanding kerning and positioning groups—before merging them into a valid variable font feature file.

🔄 New Workflow

Previously, this process required running three separate scripts manually. With version 0.1.1, these have been unified into a single command:

  1. Break Kerning Groups: Expands @group definitions into individual glyph-to-glyph pairs.

  2. Break Positioning Groups: Expands group references in mark, abvm, and blwm statements into single-glyph anchor rules.

  3. Intelligent Merge: Combines the expanded features from all masters in the designspace into variable font syntax (e.g., pos A A (wght=400:10 wght=900:20)).

🚀 Installation

The package now supports standard Python installation, which automatically sets up the feamerge command in your environment.

# Create and activate a virtual environment
python3 -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`

# Install the package and dependencies
pip install .

💻 Usage

You no longer need to call individual Python files. Simply use the feamerge command:

feamerge path/to/YourFont.ufo MyFont.designspace variable_features.fea

Programmatic Usage

If you still wish to use the combiner logic directly in a script:

from feamerge.combine_features import VariableFeatureCombiner

combiner = VariableFeatureCombiner("path/to/font.designspace")
combiner.save_combined_features("output/variable_features.fea")

📜 Changelog

v0.1.3

Bug Fixes & Pipeline Enhancements:

  • Added ufoLib2 to packaging dependencies.
  • Corrected package license configuration file reference.
  • Fixed CLI to preprocess all masters and properly chain sequential expansion steps.
  • Implemented fallback to retrieve anchor coordinates from UFO glyph data for empty feature anchor definitions.
  • Renamed and restructured combiner module to combine_features.

v0.1.2

Package Restructuring: Moved all scripts into the feamerge/ package directory for proper bundling.

Unified CLI: Added a single feamerge entry point to run the entire preprocessing and merging sequence automatically.

Improved Metadata: Consolidated project configuration into pyproject.toml.

Version Bump: Updated version to 0.1.1.

v0.1.0

Initial release with separate scripts for kerning expansion and feature merging.

Key Features

  • Designspace Integration: Handles both absolute and relative paths for UFO source references.

  • Variable Font Syntax: Generates coordinate:value pairs for positioning rules.

  • Intelligent Merging: Deduplicates glyph classes and maintains OpenType features across masters.

Metadata

Release files for feamerge 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for feamerge 0.1.4
File Size Uploaded Provenance Actions
feamerge-0.1.4.tar.gz 46.8 kB With provenance Details for feamerge-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for feamerge 0.1.4
File Interpreter ABI Platform Actions
feamerge-0.1.4-py3-none-any.whl Python 3 none any Details for feamerge-0.1.4-py3-none-any.whl

Total release size: 82.7 kB

Release files / feamerge-0.1.4.tar.gz

Download URL feamerge-0.1.4.tar.gz
Size 46.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f757da772b733b1c56c86ffc29f75015e30636cf4d218217d19a22572904327d
BLAKE2b-256 checksum
How to use checksums
4c4d8c29e462878a8183808d900580a848dd206161f12fa57f56c330dde4ba58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 3, 2026.

Transparency log

Release files / feamerge-0.1.4-py3-none-any.whl

Download URL feamerge-0.1.4-py3-none-any.whl
Size 36.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d010059d01206a45e6410f1a9c3908439393b12f88f628d861772b44ed52b550
BLAKE2b-256 checksum
How to use checksums
c5bf1d62f370ac9b5da4bab9c6173f6406957d90cc643c89f16d6a0c0f5b8d52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 3, 2026.

Transparency log

Security for feamerge 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for feamerge-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page