---
name: "al_draw_justified_ustr"
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_ustr"
---

# al\_draw\_justified\_ustr(3)

Allegro 5 API

## NAME

al\_draw\_justified\_ustr - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_font.h>
  void al_draw_justified_ustr(const ALLEGRO_FONT *font,
     ALLEGRO_COLOR color, float x1, float x2,
     float y, float diff, int flags, const ALLEGRO_USTR *ustr)
  ```

## DESCRIPTION

Like [al\_draw\_justified\_text(3)](/al_draw_justified_text/3.md), except the text is passed as an ALLEGRO\_USTR instead of a NUL-terminated char array.

## SEE ALSO

[al\_draw\_justified\_text(3)](/al_draw_justified_text/3.md), [al\_draw\_justified\_textf(3)](/al_draw_justified_textf/3.md).
