01-12-2009
Quote:
Originally Posted by
Padow
What are you trying to change the font size of? bash does not have a font size, but your terminal emulator does...
Well I have Kconsole and kubuntu 8.1
I would lika some like this:
echo "Hi" (this in normal size)
echo "I'm David" (this with wide font)
Thanks
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
hi all,,
is it possible to change the font size of the first line of text? i search it to internet but i have no luk.
Ex.
Line 1: HI
Line 2: back to normal font size.
THanks, (4 Replies)
Discussion started by: nikki1200
4 Replies
9. Ubuntu
Hello,
I have a problem with Greek subtitle font size when I map a subtitle file into a video in ffmpeg.
I ran below code:
ffmpeg -i video.mp4 -sub_charenc CP1253 -i video_sub.srt -c:v copy -c:a copy \
-c:s mov_text -metadata:s:s:0 language=gr mapped_video.mp4
When I play it in VLC,... (2 Replies)
Discussion started by: baris35
2 Replies
LEARN ABOUT PHP
imagefontwidth
IMAGEFONTWIDTH(3) 1 IMAGEFONTWIDTH(3)
imagefontwidth - Get font width
SYNOPSIS
int imagefontwidth (int $font)
DESCRIPTION
Returns the pixel width of a character in 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 width of the font.
EXAMPLES
Example #1
Using imagefontwidth(3) on built-in fonts
<?php
echo 'Font width: ' . imagefontwidth(4);
?>
The above example will output something similar to:
Font width: 8
Example #2
Using imagefontwidth(3) together with imageloadfont(3)
<?php
// Load a .gdf font
$font = imageloadfont('anonymous.gdf');
echo 'Font width: ' . imagefontwidth($font);
?>
The above example will output something similar to:
Font width: 23
SEE ALSO
imagefontheight(3), imageloadfont(3).
PHP Documentation Group IMAGEFONTWIDTH(3)