---
name: "ppmdcfont"
section: "1"
platform: "linux"
package: "netpbm"
version: "10.86.51-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ppmdcfont"
---

# ppmdcfont(1)

Turn a Ppmdfont file into C source for a builtin font

## NAME

ppmdcfont - Turn a Ppmdfont file into C source for a builtin font

## SYNOPSIS

**ppmdcfont**

## DESCRIPTION

This program is part of **Netpbm**(1) .

(There are no arguments or options)

**ppmdcfont** creates a C source file that you can compile into a built-in font for use with the Netpbm PPM drawing facilities.  It reads a Ppmdfont file on Standard Input and writes the C source code to Standard Output.

The output C source code has the font object's name hardcoded as **ppmd\_standardfont**, which you will definitely want to edit, because that is the name of the font built in to **libnetpbm**.  If you don't change it, it will conflict both cognitively and in program linking.  There should obviously be an option on **ppmdcfont** to choose this, but the development effort has not been justified so far.

See **Libnetpbm PPM Drawing Function** Manual" (1) for details on Ppmdfont files.

## SEE ALSO

[**ppmdraw**(1)](/ppmdraw/1.md) , [**ppmddumpfont**(1)](/ppmddumpfont/1.md) , [**ppmdcfont**(1)](/ppmdcfont/1.md) , **Libnetpbm PPM Drawing Function Manual**(1)

## DOCUMENT SOURCE

This manual page was generated by the Netpbm tool 'makeman' from HTML source.  The master documentation is at

-

  **http://netpbm.sourceforge.net/doc/ppmdcfont.html**
