Image
PHP Manual

imagefontwidth

(PHP 4, PHP 5)

imagefontwidth — Get font width

Beskrivelse

int imagefontwidth ( int $font )

Returns the pixel width of a character in font.

Parameterliste

font

Can be 1, 2, 3, 4, 5 for built-in fonts in latin2 encoding (where higher numbers corresponding to larger fonts) or any of your own font identifiers registered with imageloadfont().

Returneringsværdier

Returns the width of the pixel

Se også


Image
PHP Manual