T42 to XPM Converter

Render Type 42 fonts as color XPM images for X Window systems online

Drop files here. 1 GB maximum file size or Sign Up
to
Facebook Amazon Microsoft Tesla Nestle Walmart L'Oreal

Color + Transparency

XPM supports full-color palettes and transparent pixels — T42 font glyphs render with color detail suitable for desktop icons and themes.

Embeddable Code

XPM images are valid C source — include your T42 glyph graphics directly in X11 application builds without external file dependencies.

Online Conversion

No X11 development tools needed. Convert T42 to XPM entirely in your browser on any operating system.

How to convert T42 to XPM

1

Select files from Computer, Google Drive, Dropbox, URL or by dragging it on the page.

2

Choose xpm or any other format you need as a result (more than 200 formats supported)

3

Let the file convert and you can download your xpm file right afterwards

About formats

T42 (Type 42) is a PostScript font format developed by Adobe Systems that wraps a TrueType font inside a PostScript font dictionary, enabling PostScript printers equipped with a TrueType rasterizer to print TrueType fonts natively. The name reportedly references Douglas Adams' "The Hitchhiker's Guide to the Galaxy," where 42 is the answer to the ultimate question. Type 42 was introduced with PostScript interpreter version 2013 in the mid-1990s, with Adobe publishing the formal specification as Technical Note #5012 in July 1998. The format embeds the complete TrueType font data — outlines, hinting instructions, and tables — as a binary string within the PostScript sfnts dictionary entry, while wrapping it in standard PostScript font structure including CharStrings, Encoding, and FontInfo dictionaries. One advantage is preserved TrueType hinting: because the original quadratic spline outlines and grid-fitting instructions are passed directly to the TrueType rasterizer, the printed output matches the screen rendering quality that TrueType hinting was designed to deliver. This is superior to the alternative approach of converting TrueType outlines to Type 1 cubics, which discards hinting. Type 42 also enables PostScript workflows to incorporate the vast library of TrueType fonts bundled with Windows and macOS without manual font conversion. PDF generators commonly use Type 42 embedding when including TrueType fonts in PostScript-based output pipelines. The format bridges two major font technologies that evolved separately, ensuring interoperability across the PostScript and TrueType ecosystems.
Developer: Adobe Systems
Initial release: 1995
XPM (X PixMap) is a color image format for the X Window System, developed by Arnaud Le Hors at GROUPE BULL beginning in 1989 as the color successor to the monochrome XBM format. Like XBM, XPM files are valid C source code — each file defines the image as a static array of character strings, where the header strings specify width, height, number of colors, and characters per pixel, the color definition strings map character codes to color values (supporting X11 color names, hexadecimal RGB, and symbolic color types like 'background' and 'foreground'), and the pixel strings encode each row as a sequence of character codes that index the color palette. This ASCII art representation makes XPM images human-readable: one can often see the image content directly in the text of the source file. The format went through three revisions: XPM1 (1989, compatible with X10), XPM2 (simplified syntax), and XPM3 (1991, the current version with the static char* syntax and extended color specification). XPM was the standard format for X Window application icons, splash screens, pixmap buttons, and themed UI elements throughout the 1990s and 2000s. One advantage is the combined benefits of being a valid C source file and a color image: XPM files can be compiled into applications, edited in any text editor, processed by text tools, and version-controlled, while supporting up to 256 colors with transparency (using the 'None' color keyword). The X11 ecosystem's reliance on XPM ensures broad tool support. XPM files are handled by all X11 toolkits, ImageMagick, GIMP, and web browsers (legacy support).
Initial release: 1989

Frequently Asked Questions

Why convert T42 to XPM?

XPM stores color images as C source code — ideal for embedding T42 font glyphs as icons or UI elements in X Window applications with palette control.

How do I open an XPM file?

Any text editor shows the C source. GIMP, ImageMagick, and X11 desktop environments render XPM visually. It is a common format in Linux theming.

How does XPM differ from XBM?

XBM is 1-bit monochrome; XPM supports full color with named palettes and optional transparency. Choose XPM when you need color font renderings.

Can I convert T42 fonts in batch?

Yes — upload multiple T42 files and Convertio creates individual XPM images for each font.

Is there a fee?

None. T42 to XPM conversion is free on Convertio — no account or software required.