Sponsored Content
Full Discussion: change the font size in bash
Top Forums Shell Programming and Scripting change the font size in bash Post 302275891 by mierdatuti on Monday 12th of January 2009 01:14:18 PM
Old 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

Font size

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

font size printing

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?

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

set font size

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

Font size in VIM

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

how to change the font size of shell in $ prompt

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

Font Size

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

Font Size in shell!

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

How to change ffmpeg default font size?

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
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)
All times are GMT -4. The time now is 02:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy