fcft\_text\_run\_destroy(3) fcft fcft\_text\_run\_destroy(3)

# [NAME](#NAME)

fcft\_text\_run\_destroy - free fcft\_text\_run objects

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;fcft/fcft.h&gt;**

**void fcft\_text\_run\_destroy(struct fcft\_text\_run \*run);**

# [DESCRIPTION](#DESCRIPTION)

**fcft\_text\_run\_destroy**() frees the **fcft\_text\_run** object *run*, which must have been created with **fcft\_text\_run\_rasterize**().

Note that it is ok to call **fcft\_destroy**() on the font object that was used to rasterize the text-run, before freeing the text-run itself. I.e. applications may cache text-runs beyond the life time of the font object.

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

# [SEE ALSO](#SEE_ALSO)

**fcft\_text\_run\_rasterize**()

2026-10-23 3.3.3

---

Document: fcft_text_run_destroy(3) from fcft 3.3.3-r4 (Chainguard OS)
Source: https://codeberg.org/dnkl/fcft
