---
name: "al_draw_justified_textf"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_draw_justified_textf"
---

# al\_draw\_justified\_textf(3)

Allegro 5 API

## NAME

al\_draw\_justified\_textf - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_font.h>
  void al_draw_justified_textf(const ALLEGRO_FONT *f,
     ALLEGRO_COLOR color, float x1, float x2, float y,
     float diff, int flags, const char *format, ...)
  ```

## DESCRIPTION

Formatted text output, using a printf() style format string. All parameters have the same meaning as with [al\_draw\_justified\_text(3)](/al_draw_justified_text/3.md) otherwise.

## SEE ALSO

[al\_draw\_justified\_text(3)](/al_draw_justified_text/3.md), [al\_draw\_justified\_ustr(3)](/al_draw_justified_ustr/3.md).
