Skip to main content

A collection of misc scripts related to VTT

Project description

vttmisc

A library that contains a small set of scripts related to working with VTT.

Installation and Usage

Vttmisc can be called via a build script, or directly from the command line.

$ pip install vttmisc
$ python vttmisc [-h] [--fix-offset] [--clear-svtca] [--makeCVAR] -i INPUTPATH [-s VTTPATH] [-d OUTPUT]

Options are as follows:

--clear-svtca This script clears the "SVTCA[X]" tag from your VTT source files (specifically in the TSI1 table) as these can cause misalignments of diacritical marks. I suggest using this script after autohinting.

--fix-offset This script overcomes the GID restictions placed in the font due to use of the OFFSET command. It takes a source font, and a new font, and updates the new font with the appropriate GIDs.

--makeCVAR This script generates a cvar table based on the TSIC table. Under most circumstances, output matches VTT's identically.*

*If you are doing more complex cvar modification, please double check. Most likely more complicated ones will need to go through VTT or varlib.

Additional settings:

-i input path of new font (required)

-s input path of source VTT font (required for makeCVAR)

-d output path (optional: script will export using a default name if not provided)

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

vttmisc-0.0.5.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vttmisc-0.0.5-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file vttmisc-0.0.5.tar.gz.

File metadata

  • Download URL: vttmisc-0.0.5.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.4

File hashes

Hashes for vttmisc-0.0.5.tar.gz
Algorithm Hash digest
SHA256 98c05e7be6ef017e9aeef3606c35954a0699a0a9c7275102332aef346d04551a
MD5 abba025305bac339e022094bcd86989c
BLAKE2b-256 92233839f5d4301ad21ff17919676155b3291f882377ea0d6ee3ce6fe43a1f0f

See more details on using hashes here.

File details

Details for the file vttmisc-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: vttmisc-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.4

File hashes

Hashes for vttmisc-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6fc67dbfcb0060cd26b95aa61f5293e41f2d087ed60ad3cf8e967b402bf6ce78
MD5 cd63bf39fd80847a96bf2e77c259e764
BLAKE2b-256 4dcd8f384a72102e85a3828445d1302d340195d3cc9b916562fcdc95182f5bd4

See more details on using hashes here.

Supported by

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