---
name: "load_bios_font"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/load_bios_font/3alleg4"
---

# load\_bios\_font(3alleg4)

Loads a 8x8 or 8x16 BIOS format font. Allegro game programming library.

## NAME

load\_bios\_font - Loads a 8x8 or 8x16 BIOS format font. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**FONT \*load\_bios\_font(const char \*filename, RGB \*pal, void \*param)**

## DESCRIPTION

Loads a 8x8 or 8x16 BIOS format font. You shouldn't normally call this  routine directly.

## RETURN VALUE

Returns a pointer to the font or NULL on error. Remember that you are responsible for destroying the font when you are finished with it to avoid memory leaks.

## SEE ALSO

**register\_font\_file\_type**(3alleg4), **load\_font**(3alleg4)
