Skip to main content

Routines for extracting information from fontTools glyphs

Project description

babelfont

https://img.shields.io/pypi/v/babelfont.svg https://github.com/simoncozens/babelfont/workflows/Python%20package/badge.svg Documentation Status

Read font files into fontParts objects and write them out again.

Usage

Here’s how to convert a font from one format to another:

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.

Currently Babelfont supports:

  • UFO (Read and write)

  • Glyphs (Read and write)

  • OTF (Read only)

  • TTF (Read only)

  • Free software: Apache Software License 2.0

History

2.0.0 (2020-XX-XX)

  • Rewrite to load in font data directly instead of proxying. New interface.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

babelfont-0.2.2.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

babelfont-0.2.2-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file babelfont-0.2.2.tar.gz.

File metadata

  • Download URL: babelfont-0.2.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for babelfont-0.2.2.tar.gz
Algorithm Hash digest
SHA256 4540d4b1691266a5b93570a313cff5c2f0635a254cfc039e9d318e418b28eee3
MD5 24a96967355758880588b67275799d6d
BLAKE2b-256 f9119bd3b8aa928916d80b465771011c7369e0f57472b3f096a50d30b6be296e

See more details on using hashes here.

Provenance

File details

Details for the file babelfont-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: babelfont-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for babelfont-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b18b677a48947dafeffa196d7a5bec910b36ee21cc15c7a53c1d5f70feafa65f
MD5 817b5ab2e7f569642a9d51b77f1e8b6a
BLAKE2b-256 6257212cd0eef1d28d358fb09fc5dff1a44bf2570ef621d1671ea3ec1fdae051

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page