Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Removes width inconsistency in fonts, enabling their use in Windows tools like PuTTY

Project description

# 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.

Project details


Release history Release notifications

This version
History Node

1.0.1

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
fixfonts-1.0.1-py2-none-any.whl (4.8 kB) Copy SHA256 hash SHA256 Wheel py2 May 19, 2016
fixfonts-1.0.1.tar.gz (2.7 kB) Copy SHA256 hash SHA256 Source None May 19, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page