Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

imagepsslantfont(3) [php man page]

IMAGEPSSLANTFONT(3)							 1						       IMAGEPSSLANTFONT(3)

imagepsslantfont - Slant a font

SYNOPSIS
bool imagepsslantfont (resource $font_index, float $slant) DESCRIPTION
Slant a given font given. PARAMETERS
o $font_index - A font resource, returned by imagepsloadfont(3). o $slant - Slant level. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 imagepsslantfont(3) example <?php // Load a .pfb font file $font = imagepsloadfont('./px3l.pfb'); // Slant the font by 22.5 imagepsslantfont($font, 22.5); // Do any operations with the font here // Free the font from memory imagepsfreefont($font); ?> CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 7.0.0 | | | | | | | T1Lib support was removed from PHP, thrus remov- | | | ing this function. | | | | +--------+---------------------------------------------------+ NOTES
Note This function is only available if PHP is compiled using --with-t1lib[=DIR]. PHP Documentation Group IMAGEPSSLANTFONT(3)

Check Out this Related Man Page

IMAGEPSLOADFONT(3)							 1							IMAGEPSLOADFONT(3)

imagepsloadfont - Load a PostScript Type 1 font from file

SYNOPSIS
resource imagepsloadfont (string $filename) DESCRIPTION
Load a PostScript Type 1 font from the given $filename. PARAMETERS
o $filename - Path to the Postscript font file. RETURN VALUES
In the case everything went right, a valid font index will be returned and can be used for further purposes. Otherwise the function returns FALSE. EXAMPLES
Example #1 imagepsloadfont(3) example <?php // Create a new image instance $im = imagecreatetruecolor(350, 45); // Allocate colors and fill the background $black = imagecolorallocate($im, 0, 0, 0); $white = imagecolorallocate($im, 255, 255, 255); imagefilledrectangle($im, 0, 0, 349, 44, $white); // Load a font, write to the image and free the font from memory $font = imagepsloadfont("bchbi.pfb"); imagepstext($im, "Testing... It worked!", $font, 32, $white, $black, 32, 32); imagepsfreefont($font); // Output the image header('Content-type: image/png'); imagepng($im); imagedestroy($im); ?> CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 7.0.0 | | | | | | | T1Lib support was removed from PHP, thrus remov- | | | ing this function. | | | | +--------+---------------------------------------------------+ NOTES
Note This function is only available if PHP is compiled using --with-t1lib[=DIR]. SEE ALSO
imagepsfreefont(3). PHP Documentation Group IMAGEPSLOADFONT(3)
Man Page

6 More Discussions You Might Find Interesting

1. 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

2. HP-UX

How to change font and colour in mail sent from Unix

Dear All, We have following code to send mails from unix to users. We want to see few sentences of mail in bold font or to hightlight few lines in different colours. Could you please let me know how can we do it in function construct_body. ... (3 Replies)
Discussion started by: yogichavan
3 Replies

3. Shell Programming and Scripting

how to change font in mailx

I am writing sql reports to an oracle database, spooling them to a file and emailing them with mailx. I use the syntax below. The reports do not format properly, unless I use the Courier New font. How do I set this with mailx? mailx -s "MY REPORT, `date +'%D %r` " -r "REPORTING SYSTEM"... (2 Replies)
Discussion started by: guessingo
2 Replies

4. Shell Programming and Scripting

regex to find font class

So, I need to find the instances of a certain font and remove it....so far in my testing I am using the find command with regex to find a font I want to pull out. However, I seem to be slightly stuck, and I am sure the beard stroking Unix geniuses here can help me. My example code: find... (7 Replies)
Discussion started by: tlarkin
7 Replies

5. Solaris

Xterm font in JDE or Java apps in CDE

Hello, I'm trying to find out which font xterm uses by default in CDE. I like it, it's nice and clean. My problem is that Java based applications like jEdit cannot find it. Could anybody tell me what is the name of the font? Example is attached. Thank You, PN. (1 Reply)
Discussion started by: pn8830
1 Replies

6. Linux

How do we change the default font on Linux system?

I have two hosts i.e host1 & host2. host1 has the desired font details of which are below: uname -a Linux host1 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux $ fc-match StRydeRegular.ttf: "St Ryde" "Regular" I need the same default font... (27 Replies)
Discussion started by: mohtashims
27 Replies