05-19-2009
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I save a file to a floppy. I mounted the drive and it is there. Everytime I try to save to the floppy, it tells me the resource is busy. Please advise.
Thanks, (1 Reply)
Discussion started by: umether
1 Replies
2. UNIX for Dummies Questions & Answers
hi,
i access unix through secure shell (SSH) from my pc running on windows. Can i save files from unix directly into windows-run pc?. e.g. vi files into notepad???
thanks alot,
-a (6 Replies)
Discussion started by: alikun
6 Replies
3. Shell Programming and Scripting
Hi everybody,
I have a prog who is filtering an image with a lot of parameters. The user has two choices :
-Running the script with default values
-Running the script manually (i.e choosing himself the parameters values)
What I would like to do is that if he wants, the users can keep... (4 Replies)
Discussion started by: Moumou
4 Replies
4. Red Hat
Hi all,
firstly apologies if this is in the wrong category.
I have been making livecds (fedora based) and to change eg the background i use below in the ks file.
this works fine, however when i install the livecd it loses the changes.
How can i make the changes so that they stay when... (5 Replies)
Discussion started by: davewilks
5 Replies
5. Shell Programming and Scripting
I am trying to do some changes at bashrc file located at /etc directory of my server. First I tried to edit bashrc via FTP downloaded on my pc changed it and loaded back, but it seems like changes are not reflecting.
Therefore I tried to change it via putty shel using vim bashrc command. but... (4 Replies)
Discussion started by: ninadgac
4 Replies
6. Solaris
Greetings.
I am trying to save a file to a usb from solaris 10.
If I do rmformat, I see my usb, but can't find a location to tell things to save to or figure out how to save/view the files on the disk.
Any help/thoughts/etc would be appreciated.
Thanks!
~K (20 Replies)
Discussion started by: kuriosity_prime
20 Replies
7. Red Hat
I have 4 digi etherlite boards that allow Wyse and VT100 terminals to connect to our network (stop laughing) :)
We are switching from an older version of redhat where we have these running to: Red Hat Enterprise Linux Server release 6.5 (Santiago)
I finally got them working and copied the tty... (5 Replies)
Discussion started by: mp99
5 Replies
8. AIX
There's no Vim in AIX (6 and 7), but Vi is natively available.
I want to save my configuration for Vi like `set nu` to number lines in files.
I couldn't find configuration related to Vi in /etc/ or /usr/etc/ folders.
Please help me with that. (4 Replies)
Discussion started by: Chinggis6
4 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)