imagefontheight(3) php man page | unix.com

Man Page: imagefontheight

Operating Environment: php

Section: 3

IMAGEFONTHEIGHT(3)							 1							IMAGEFONTHEIGHT(3)

imagefontheight - Get font height

SYNOPSIS
int imagefontheight (int $font)
DESCRIPTION
Returns the pixel height of a character in the specified font.
PARAMETERS
o $ 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(3).
RETURN VALUES
Returns the pixel height of the font.
EXAMPLES
Example #1 Using imagefontheight(3) on built-in fonts <?php echo 'Font height: ' . imagefontheight(4); ?> The above example will output something similar to: Font height: 16 Example #2 Using imagefontheight(3) together with imageloadfont(3) <?php // Load a .gdf font $font = imageloadfont('anonymous.gdf'); echo 'Font height: ' . imagefontheight($font); ?> The above example will output something similar to: Font height: 43
SEE ALSO
imagefontwidth(3), imageloadfont(3). PHP Documentation Group IMAGEFONTHEIGHT(3)
Related Man Pages
addftinfo(1) - freebsd
gnome-font-viewer(1) - sunos
imagecharup(3) - php
imagefontheight(3) - php
imagestringup(3) - php
Similar Topics in the Unix Linux Community
Solaris 8 Font Path ...
Modify Print Orientation, Font and Pitch
Text columns processing using awk
New Mobile Navbar Icons from Font Awesome
Quick Update on UNIX.COM Site Renovation: Bootstrap, Font Awesome and jQuery