Skip to main content

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


Download files

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

Source Distribution

fixfonts-1.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

fixfonts-1.0.1-py2-none-any.whl (4.8 kB view details)

Uploaded Python 2

File details

Details for the file fixfonts-1.0.1.tar.gz.

File metadata

  • Download URL: fixfonts-1.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fixfonts-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0cf8e6ed705828a2387f96aaa53c182dee447c2360ac501593e3f4b7b02df8ef
MD5 628ba97b5d71472604ec5745b746f5e3
BLAKE2b-256 244d689a02cddf1210d581a90e8892ff8996c4d9b3864b83293c7e77c3fe2d32

See more details on using hashes here.

File details

Details for the file fixfonts-1.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for fixfonts-1.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 9a3f8c999566253a76abf1fe0b6bab832178c0af9752e3d633e39af60fb332ef
MD5 173f54b20cd7befd0bbcaddfab0c61ed
BLAKE2b-256 ae9901843f93b61cae3e203f8c4ac789cb960b2e1f0cddea7386a1451678c0a9

See more details on using hashes here.

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