Skip to main content
# Fix Fixed-Pitch Fonts

This tool is a tiny script that intends to solve the problem of monospace fonts, programming oriented fonts in
particular, being unuseable in Windows tools such as the command prompt, PuTTY, etc., due to small numbers of glyphs
with inconsistent widths. See [this article](https://support.microsoft.com/en-us/kb/247815) from Microsoft for details.

## Installation

The Python library for [fontforge](https://github.com/fontforge/fontforge) is used to edit the font files. Installation
can be non trivial for some platforms, but see your platform's packages for precompiled versions. For example, Ubuntu
has support via `apt-get install python-fontforge`.

After that, simply type `python setup.py install` and the and the **fixfonts** tool will be available.

## Usage

Here is the usage output from **fixfonts**:

```bash
usage: fixfonts [-h] [-o OUTPUT] input [input ...]

Converts fonts to fixed-width fonts.

positional arguments:
input Input font file

optional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
Output folder
```

For example:

```bash
$ fixfonts --output newfiles *.ttf
```

will convert every file in the current directory and place the new ones into the "newfiles" directory.

Metadata

Release files for fixfonts 1.0.1

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

Source distribution (sdist)

Source distribution for fixfonts 1.0.1
File Size Uploaded
fixfonts-1.0.1.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fixfonts 1.0.1
File Interpreter ABI Platform
fixfonts-1.0.1-py2-none-any.whl Python 2 none any Details

Total release size: 7.5 kB

Release files / fixfonts-1.0.1.tar.gz

Download URL fixfonts-1.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0cf8e6ed705828a2387f96aaa53c182dee447c2360ac501593e3f4b7b02df8ef
BLAKE2b-256 checksum
How to use checksums
244d689a02cddf1210d581a90e8892ff8996c4d9b3864b83293c7e77c3fe2d32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / fixfonts-1.0.1-py2-none-any.whl

Download URL fixfonts-1.0.1-py2-none-any.whl
Size 4.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
9a3f8c999566253a76abf1fe0b6bab832178c0af9752e3d633e39af60fb332ef
BLAKE2b-256 checksum
How to use checksums
ae9901843f93b61cae3e203f8c4ac789cb960b2e1f0cddea7386a1451678c0a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

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