Query: imagefontheight
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IMAGEFONTHEIGHT(3) 1 IMAGEFONTHEIGHT(3) imagefontheight - Get font heightSYNOPSISint imagefontheight (int $font)DESCRIPTIONReturns the pixel height of a character in the specified font.PARAMETERSo $ 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 VALUESReturns the pixel height of the font.EXAMPLESExample #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: 43SEE ALSOimagefontwidth(3), imageloadfont(3). PHP Documentation Group IMAGEFONTHEIGHT(3)
Related Man Pages |
---|
gnome-font-viewer(1) - opensolaris |
imagestring(3) - php |
imageloadfont(3) - php |
imagefontheight(3) - php |
imagefontwidth(3) - php |
Similar Topics in the Unix Linux Community |
---|
How to force the print Font? |
how to make a line BLINKING in output and also how to increase font size in output |
Saving Font Settings |
Font Size |
Increase Font size for text to type in CYGWIN |