Metadata-Version: 2.1
Name: babelfont
Version: 2.0.2
Summary: Abstract interface to font source files based on fontParts
Home-page: https://github.com/simoncozens/babelfont
Author: Simon Cozens
Author-email: simon@simon-cozens.org
License: Apache Software License 2.0
Keywords: babelfont
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.5
License-File: LICENSE
License-File: AUTHORS.rst

=========
babelfont
=========


.. image:: https://img.shields.io/pypi/v/babelfont.svg
        :target: https://pypi.python.org/pypi/babelfont

.. image:: https://github.com/simoncozens/babelfont/workflows/Python%20package/badge.svg
        :target: https://github.com/simoncozens/babelfont/actions/

.. image:: https://readthedocs.org/projects/babelfont/badge/?version=latest
        :target: https://babelfont.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status


Read font files into `fontParts <http://fontparts.robotools.dev/>`_
objects and write them out again.

Usage
-----

Here's how to convert a font from one format to another (from the command
line)::

    babelfont My-Font.glyphs My-Font.ufo

Here's how to convert a font from one format to another (from a Python
script)::

    from babelfont import Babelfont

    font = Babelfont.open("My-Font.glyphs")
    font.save("My-Font.ufo")

To interact with the ``font`` object, see the `fontParts documentation <https://fontparts.robotools.dev/en/stable/objectref/objects/font.html>`_.

Currently Babelfont supports:

- UFO (Read and write)
- Glyphs (Read and write)
- OTF (Read only)
- TTF (Read only)
- Fontlab VFJ (Read only)

* Free software: Apache Software License 2.0


=======
History
=======

2.0.2 (2020-02-08)
------------------

* Fix source distribution, move to setuptools_scm

2.0.1 (2020-02-04)
------------------

* Add the concept of an exported/unexported glyph
* Revert "Ignore unexported glyphs"
* Ignore missing date
* Ignore unexported glyphs
* Fix VFJ test

2.0.0 (2020-01-25)
------------------

* Rewrite to load in font data directly instead of proxying. New interface.
* Fix anchors, color loading
* Add variable font abstraction layer



