bdf2sfd command not found

In this troubleshooting guide we learn how to fix bdf2sfd command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

bdf2sfd: command not found

or when using sudo you get the following error message

sudo: bdf2sfd: command not found

Solutions to bdf2sfd: command not found

How To Fix bdf2sfd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bdf2sfd is provided by bdf2sfd package.

bdf2sfd is:

This is a BDF to SFD converter, allowing to vectorize bitmap fonts. It works by converting each pixel of a glyph to a polygon, which produces large and unoptimized SFD files that should be post-processed using FontForge.

It was originally created to generate OpenType versions of Spleen, and is released in the hope it can be useful to convert other fonts as well. Please be aware that it works best on fonts proportional to 8x16. Other sizes will work but the aspect ratio will not be preserved. There is currently little interest in addressing the issue.

To fix this problem, we can install more using the command below.

sudo apt-get -y install bdf2sfd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install bdf2sfd.

sudo apt -y install bdf2sfd

Or if you have aptitude installed you can use the following command.

sudo aptitude install bdf2sfd

Summary

In this tutorial we learn how to fix bdf2sfd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.