08-24-2011
The only things you can change about text displayed on the command line are the color and the background color using ANSI escape codes. These aren't supported by all terminals, though. But it's not possible to change the font size for a single line, same as you can't switch to a non-monospaced font.
What you can do is use
ASCII art to create larger text.
This User Gave Thanks to pludi For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all I am a new linux user (Redhat 7) and I am trying to learn how to operate the system. I have a couple problems one the font size for all windows withing the OS are too small and even though I found a couple places to configure font size I can't find where to change the font size for the... (2 Replies)
Discussion started by: elhefe
2 Replies
2. Solaris
hi all ,
i was just wondering if i can specify the font size when i am printing from solaris .
i am using solaris 9 and hp laserjet 1230 .
i dont want to change the global variable for the printer driver .
i just want to print a file with small font and the others with normal fonts .
... (1 Reply)
Discussion started by: ppass
1 Replies
3. UNIX for Dummies Questions & Answers
How can I enlarged the font size when I opened the pdf files with ghostscript or ghostview in solaris 8 for sparc. The font is so small that I can't see it!]
Help me please! (0 Replies)
Discussion started by: new_hand
0 Replies
4. UNIX for Dummies Questions & Answers
can any one tell me how to set the font size in unix? (14 Replies)
Discussion started by: sachin.gangadha
14 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I use VIM version 7.1.56 on Ubuntu OS.
Can you tell me pls how can I change the font-size in VIM?
Thanks,
Iuli (1 Reply)
Discussion started by: ketchera
1 Replies
6. AIX
Can any help me to change the default font type and its size..
To clear more about my question..
Once i login to my unix domain... the font it displaying is of small size...
all my shell commands i am executing in $ prompt also carries the same style(ls, date and echo...)
i searched whole... (2 Replies)
Discussion started by: tsjpraveen
2 Replies
7. Shell Programming and Scripting
Hi All,
Please can someone advise on how to change the font size of the output of a shell script.
Best Regards,
Shazin (2 Replies)
Discussion started by: Shazin
2 Replies
8. Shell Programming and Scripting
Is there a way to control the font type and size, when you print in the output file,in Vim/notepad, using perl? (0 Replies)
Discussion started by: shristi
0 Replies
9. Red Hat
Hi friends
I want increase font size in linux can anybody help me plese
Example:this is my in put
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 18G 2.5G 14G 15% /
/dev/sda2 ... (1 Reply)
Discussion started by: vasuibm
1 Replies
LEARN ABOUT PHP
imagefontheight
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)