---
name: "load_bios_font"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/load_bios_font"
---

# load\_bios\_font(3alleg)

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**(3alleg)](/register_font_file_type/3alleg.md), [**load\_font**(3alleg)](/load_font/3alleg.md)
