9 More Discussions You Might Find Interesting
1. Linux
Hi,
I just ordered an Skylake NUC and will run Linux on it.
My distro of choice has been Ubuntu but I am fed up with the release cycle and would like more of a rolling release. I would say I am an intermediate level Linux user.
It's going to be a HTPC, I want to have the latest kernels... (0 Replies)
Discussion started by: rthorntn
0 Replies
2. Linux
i have a project in numerical calculus in c language
what unix i get better for this? (7 Replies)
Discussion started by: gitac
7 Replies
3. Shell Programming and Scripting
Hi,
Is it possible to choose the inerpreter conditionally.
For example, if whereis bash returns /usr/bin/bash then i need to choose #!/usr/bin/bash
else i need to use #!/usr/bin/sh.
Is it possible to achieve in a shell script?
Thanks (1 Reply)
Discussion started by: pandeesh
1 Replies
4. Slackware
Dear Friends,
If I use Slackware for learning whether it will make any confusion in administering/using Redhat and SuSE since I have checked slackware is more like BSD.
Thank you. (4 Replies)
Discussion started by: Tlogine
4 Replies
5. Linux
Hi all
Help me find the best distro for the following configurations:
Intel pentium IV 1.6 Ghz
128 MB RAM :(
40 GB Hardisk with one very big partition more than 35 gb n another 2 gb partition.
windows xp is already installed but has enough free space (26gb).
Which linux will be... (0 Replies)
Discussion started by: bbala
0 Replies
6. UNIX for Dummies Questions & Answers
There are soo many flavors of linux and i just cant choose/find the right linux for me...
I am hopeing for a linux that is a
Workhorse
Can fit of a seires (or 1) disk(s)
Lots of features (admin/mod features)
A learning mode or a detailed tutorial
Can work side by side with windows... (12 Replies)
Discussion started by: lithuaniaakid
12 Replies
7. UNIX for Dummies Questions & Answers
I know that the rules say no school questions but I am in advanced topics and am going to go to college for programming and I want to find a easy first OS to start me out, please help, thanks (3 Replies)
Discussion started by: KoKo
3 Replies
8. Linux
Hi All
I recently upgraded my Mandrake 9.1 box to Mandrake 10.0 and the 2.6 kernel. However when I execute uname -a I still get a 2.4 kernel:
Linux hostname 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686 unknown unknown GNU/Linux
I assume this means I am still booting into a 2.4 kernel?... (1 Reply)
Discussion started by: saabir
1 Replies
9. Programming
Listen, if you know a bit of programming in C and need to program unix-type operating systems the next transitive stage is for sure C++. However, have in mind that Java is like learning C but 99% object-oriented(o.o.) and with no pointers or memory-management tricks. It would be good for you to see... (5 Replies)
Discussion started by: SolidSnake
5 Replies
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)