PHP » GoLang |
login |
register |
about
|
imagefontwidth(PHP 4, PHP 5, PHP 7) imagefontwidth — Get font width Description
int imagefontwidth
( int
$font
)Returns the pixel width of a character in font. Parameters
Return ValuesReturns the pixel width of the font. Examples
Example #1 Using imagefontwidth() on built-in fonts
<?php The above example will output something similar to: Font width: 8 Example #2 Using imagefontwidth() together with imageloadfont()
<?php The above example will output something similar to: Font width: 23 |
more
Recently updated
more
Most requested
more
Last requests
|