.BDF

Файл BDF

Glyph Bitmap Distribution Format
Задать вопрос
БЫСТРЫЙ ОТВЕТ

A BDF file is a bitmap font in the Glyph Bitmap Distribution Format, defined by Adobe and widely used in the X Window System on Linux and Unix. The file is plain ASCII text, so any text editor can open it. To view or edit the glyphs, use the free FontForge. To install on Linux, compile to PCF with bdftopcf; on Windows or macOS, convert to TTF with FontForge first.

Разработчик: Adobe Systems (specification); maintained in the X Window System ecosystem Категория: Файлы шрифтов Открыть стандартное MIME: application/x-font-bdf
ОТКРЫВАЕТСЯ НА Windows macOS Linux
Связанные: .WOFF · .TTF · .EOT · .MCF

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Aug 13, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла BDF?

A .bdf file is a Glyph Bitmap Distribution Format font file - a plain-text, human-readable description of a bitmap typeface at a fixed pixel size. Adobe Systems defined the format in the 1980s and published the canonical specification (BDF 2.2) in 1993; it became the standard source format for bitmap fonts in the X Window System.

Every .bdf file is pure ASCII text. It opens with the keyword STARTFONT followed by the version number (typically 2.1 or 2.2), a header block containing global font metrics and properties, and then individual glyph blocks. Each glyph block lists its bounding box via the BBX keyword and encodes the pixel rows as hexadecimal bitmap data, one row per line, between BITMAP and ENDCHAR markers. The file closes with ENDFONT.

Because each file encodes glyphs at a single specific point/pixel size, a full font family typically ships as a set of .bdf files, one per size. X servers compile .bdf sources to the binary PCF format using the bdftopcf command for faster loading. BDF has largely been superseded by scalable TrueType and OpenType fonts for general-purpose use, but it remains popular for terminal emulators, retro-style displays, console fonts, and microcontroller or embedded-system UIs where fixed-pixel rendering is deliberate.

FontForge can open, edit and export .bdf files on all major platforms. Because the format is plain text, any text editor can inspect or manually patch a .bdf file.

Безопасность и защита

РИСК: LOW

BDF files are plain ASCII font descriptions and do not execute code, so they are low risk to open. The realistic concern is a malformed BDF triggering a parser bug in a font tool or rasterizer, so keep FontForge/system font libraries updated and obtain fonts from reputable sources. Avoid sketchy "free font converter" sites that push adware; FontForge does the job locally.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕGlyph Bitmap Distribution Formatтакже известен как BDF font, X11 bitmap font
РАЗРАБОТЧИКAdobe Systems (specification); maintained in the X Window System ecosystemс 1980s (Adobe BDF spec; widely used in X11)
КАТЕГОРИЯФайлы шрифтов
MIME-ТИПapplication/x-font-bdf
ТИПPlain-text bitmap font description
СТАНДАРТОткрытый · без роялти
СВЯЗАННЫЕ.woff.ttf.eot.mcf
MAGIC BYTES · СИГНАТУРА ФАЙЛА
СМЕЩЕНИЕ
000102030405060708
HEX
5354415254464F4E54
ASCII
STARTFONT
A BDF file is human-readable ASCII text that begins with the keyword "STARTFONT" followed by the format version (e.g. "STARTFONT 2.1"). There is no binary magic; the leading STARTFONT line is the de-facto signature.

Программы, открывающие файлы BDF

Windows2 apps
FontForge Открытый код File > Open the .bdf to view/edit the bitmap glyphs; File > Generate Fonts to export to PCF, TTF/OTF or other formats.
Any text editor (Notepad++ / VS Code) Открытый код Open the .bdf as plain text to read its header and hex glyph rows (BDF is human-readable ASCII).
macOS1 app
FontForge Открытый код File > Open the .bdf to view/edit the bitmap glyphs; File > Generate Fonts to export to PCF, TTF/OTF or other formats.
Linux3 apps
FontForge Открытый код File > Open the .bdf to view/edit the bitmap glyphs; File > Generate Fonts to export to PCF, TTF/OTF or other formats.
bdftopcf (X.Org tools) Открытый код Run 'bdftopcf font.bdf -o font.pcf' to compile the BDF into the binary PCF form X servers load.
gbdfed Открытый код A dedicated BDF/bitmap-font editor: open, edit glyphs cell-by-cell and save BDF.

Технические подробности

глубокая спецификация
Format typePlain-text (ASCII) bitmap font description; fully human-readable with no binary sections
File signature`STARTFONT` keyword at byte offset 0 followed by the format version number; no binary magic bytes
Text encoding7-bit ASCII throughout; glyph bitmap rows encoded as uppercase hexadecimal digits
Color depth1 bpp - each pixel is a single bit (0 = background, 1 = foreground); strictly monochrome
Glyph bounding box`BBX` keyword per glyph specifies pixel width, height, and X/Y offsets from the glyph origin
Bitmap row encodingHex bytes padded to the nearest byte boundary; rows listed between `BITMAP` and `ENDCHAR` markers
Advance width`DWIDTH` (device width) per glyph gives the horizontal advance in pixels used for text layout
Size modelFixed pixel size - one `.bdf` file encodes glyphs at exactly one point/pixel size
Character set declaration`CHARSET_REGISTRY` and `CHARSET_ENCODING` header properties; supports ISO-8859, ISO10646 (Unicode), and vendor encodings
MIME type`application/x-font-bdf` (primary); also recognised as `application/font-bdf` and `text/plain`
Compiled binary formX servers convert `.bdf` to binary `.pcf` via `bdftopcf` for faster loading; `.bdf` remains the editable source
Internal version field`STARTFONT` line carries the format version; `2.1` and `2.2` are the two values in common use
Metadata blockOptional `STARTPROPERTIES` block holds font-level metadata: foundry, copyright, point size, resolution, and X11 font name string
Typical file sizeA few KB to several hundred KB depending on glyph count, point size, and character-set coverage
File structureGlobal header → `STARTPROPERTIES` block → N glyph blocks (`STARTCHAR` … `ENDCHAR`) → `ENDFONT` terminator
Выпущен1980s (Adobe BDF spec; widely used in X11)
Последняя версияBDF 2.2 (Adobe specification, 1993)
Открыть стандартноеДа · без роялти
Спецификацияadobe-type-tools.github.io

Конвертации BDF

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами BDF. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах BDF.

Часто задаваемые вопросы

How do I open a BDF file?
It's a bitmap font. To view/edit the glyphs use the free FontForge (or gbdfed on Linux). Since BDF is plain ASCII text, you can also open it in any text editor to read its structure.
How do I install a BDF font?
On Linux/X11, compile it to PCF with 'bdftopcf' and register it (mkfontdir/fonts.dir), or load it via your terminal's font setting. On Windows/macOS, convert it to TTF/OTF with FontForge, then install the result.
How do I convert BDF to TTF?
Open the .bdf in FontForge and use File > Generate Fonts > TrueType. Remember BDF is a bitmap, so the TTF will look fixed/pixelated rather than smoothly scalable.
Is a BDF file editable by hand?
Yes - it's human-readable text. Each glyph's BITMAP section is hex rows of pixels, so you can edit glyphs in a text editor, though a tool like gbdfed/FontForge is far easier.
What's the difference between BDF and PCF?
BDF is the readable text source; PCF is the compiled binary form X servers load for speed. You generate PCF from BDF with bdftopcf.

Ссылки

1Adobe - Glyph Bitmap Distribution Format (BDF) Specification 2.2adobe-type-tools.github.io
2FontForge - open-source font editorfontforge.org

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Похожие расширения

.WOFFWeb Open Font Format
.TTFTrueType Font
.EOTEmbedded OpenType Font
.MCFMathcad Font / Resource File
.CHRBorland BGI Stroke Font File
.OTFOpenType Font

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z