Skip to main content

Useful constants for OpenType.

Project description

otSpec

What is it?

This package contains some useful constants and functions to deal with the OpenType® Specification.

How to install it?

pip install otSpec

How to use it?

>>> from otSpec.table.name import getNameDescription
>>> getNameDescription(nameID=3)
'Unique Font Identifier'

>>> from otSpec.table.head import getMacStyleBitNames
>>> getMacStyleBitNames(3)
['Bold', 'Italic']

What's next

For details read the full Documentation.

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

otSpec-0.1.34.tar.gz (165.4 kB view hashes)

Uploaded Source

Built Distribution

otSpec-0.1.34-py3-none-any.whl (165.2 kB view hashes)

Uploaded Python 3

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