---
name: "al_get_ustr_width"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_ustr_width/3alleg5"
---

# al\_get\_ustr\_width(3alleg5)

Allegro 5 API

## NAME

al\_get\_ustr\_width - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_font.h>
  int al_get_ustr_width(const ALLEGRO_FONT *f, ALLEGRO_USTR const *ustr)
  ```

## DESCRIPTION

Like al\_get\_text\_width(3alleg5) but expects an ALLEGRO\_USTR.

## SEE ALSO

al\_get\_text\_width(3alleg5), al\_get\_ustr\_dimensions(3alleg5)
