---
name: "fcft_destroy"
section: "3"
platform: "linux"
package: "fcft"
version: "3.3.3-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/fcft_destroy"
---

# fcft\_destroy(3)

free fcft\_font objects

## NAME

fcft\_destroy - free fcft\_font objects

## SYNOPSIS

**#include \<fcft/fcft.h\>**

**void fcft\_destroy(struct fcft\_font \****font***);**

## DESCRIPTION

**fcft\_destroy**() frees the **fcft\_font** object *font*, which must have been created with **fcft\_from\_name**() or **fcft\_clone**().

After calling **fcft\_destroy**(), *font* can no longer be used, and all references to **fcft\_glyph** objects (retrieved with **fcft\_codepoint\_rasterize**()) are now invalid.

*font* may be NULL, in which case **fcft\_destroy**() is a no-op.

## RETURN VALUE

None

## SEE ALSO

**fcft\_from\_name**(), **fcft\_from\_name2**(), **fcft\_clone**(), **fcft\_codepoint\_rasterize**()
