Forum und email

imagefontwidth

(PHP 4, PHP 5)

imagefontwidth — Get font width

Descrizione

int imagefontwidth ( int $font )

Returns the pixel width of a character in font.

Elenco dei parametri

font

Può essere 1, 2, 3, 4, 5 per i font interni con codifica latin2 (dove numeri più alti corrispondono a font più grandi) o qualsiasi identificatore di font registrato con imageloadfont().

Valori restituiti

Returns the width of the pixel