Skip to main content

Build Status

TruFont

TruFont is a font-editing application written with Python3, ufoLib, defcon and PyQt5.

Getting started

  1. Install Python 3.6 (or later):

    • OS X: Install using Homebrew: brew install python3

    • Windows: Download installer from python.org/downloads

    • Linux: It’s usually packaged with the OS.

  2. Set up a new Python virtual environment. Although this is not required, it’s highly recommended, since TruFont has lots of dependencies, which may (or may not) conflict with other modules you installed globally.

    • To create a new virtual environment in ENV_DIR:

      python3 -m venv ENV_DIR

      This creates a new ENV_DIR folder (you can choose the name you want). The bin subfolder (or Scripts if you are on Windows) contains a new python executable, and the pip installer linked to that.

    • Activate the newly created environment:

      • OS X or Linux: source ENV_DIR/bin/activate

      • Windows: ENV_DIR\Scripts\activate.bat

      This temporarily adds the virtual environment’s scripts folder to your console’s PATH, so you can access python, pip and the trufont script from anywhere.

    • Run deactivate when you wish to exit the virtual environment. This restores the default system PATH.

  3. Install/update TruFont to the latest stable release:

    pip install --upgrade trufont

  4. Run the app as trufont.

Contributing

Here’s a quick tutorial if you’d like to contribute to TruFont.

  1. Click the “Fork” button above, and clone the forked git repository to a new directory called trufont:

    git clone https://github.com/<YOUR_USERNAME>/trufont

  2. Move into the new folder and run this command to add the upstream repository url to the local list of remotes:

    git remote add upstream https://github.com/trufont/trufont

    This enables you to keep up-to-date with the upstream development.

  1. Synchronize your fork’s master branch with the upstream/master, especially before creating new branches:

    git checkout master
    git fetch upstream
    git rebase upstream/master
    git push
  2. Install pre-commit. It will run some checks every time you are about to commit something.

    pip install pre-commit
    pre-commit install
  1. Now, you can create and checkout your new feature branch:

    git checkout -b my-cool-new-feature

  2. Use pip to install TruFont in “editable” mode:

    pip install --editable .

    Instead of copying trufont to your Python site-packages directory, this command only creates a link to the source directory inside the git repository. You can then modify the code in place, or synchronize the latest upstream changes (as in step 4) without having to re-install.

  3. It is also recommended to regularly update the dependencies to the curently tested versions as listed in requirements.txt:

    pip install --upgrade -r requirements.txt

  4. Once you have commited your patch, push the new branch to your fork:

    git push -u origin my-cool-new-feature

  5. Finally, click “New pull request” on TruFont’s Github page to submit your patch.

We will be happy to review and integrate it into the main app.

Happy hacking with TruFont! :muscle:

Metadata

Release files for trufont 0.6.6

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

Source distribution (sdist)

Source distribution for trufont 0.6.6
File Size Uploaded Provenance Actions
trufont-0.6.6.zip 638.2 kB Without provenance Details for trufont-0.6.6.zip

Built distribution (wheel)

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

Total release size: 984.7 kB

Release files / trufont-0.6.6.zip

Download URL trufont-0.6.6.zip
Size 638.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0264939bfeb8b9b505f8cdb653faa67332724fadfa46b2b0898fd3c78468cd82
BLAKE2b-256 checksum
How to use checksums
aa40bce022da69c38c5565b1ffe179ede27152ed419b7ae3f258c7461804c9c7
Upload date
Uploaded using Trusted Publishing?
What is 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.49.0 CPython/3.6.10

Release files / trufont-0.6.6-py3-none-any.whl

Download URL trufont-0.6.6-py3-none-any.whl
Size 346.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0812fed5c655391bb35e59cea286fd1d9e55e52e1ea32aa5f097497c305a995
BLAKE2b-256 checksum
How to use checksums
0e69049c21dd45b0e5572e55d757402523c044bbd280224a6056246ed4bffa94
Upload date
Uploaded using Trusted Publishing?
What is 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.49.0 CPython/3.6.10

Security for trufont 0.6.6

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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