Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

printer_create_font(3) [php man page]

PRINTER_CREATE_FONT(3)							 1						    PRINTER_CREATE_FONT(3)

printer_create_font - Create a new font

SYNOPSIS
resource printer_create_font (string $face, int $height, int $width, int $font_weight, bool $italic, bool $underline, bool $strike- out, int $orientation) DESCRIPTION
The function creates a new font and returns a handle to it. A font is used to draw text. For an example see printer_select_font(3). PARAMETERS
o $face -$face must be a string specifying the font face. o $height -$height specifies the font height. o $width -$width specifies the font width. o $font_weight - The $font_weight specifies the font weight (400 is normal), and can be one of the following predefined constants. o PRINTER_FW_THIN: sets the font weight to thin (100). o PRINTER_FW_ULTRALIGHT: sets the font weight to ultra light (200). o PRINTER_FW_LIGHT: sets the font weight to light (300). o PRINTER_FW_NORMAL: sets the font weight to normal (400). o PRINTER_FW_MEDIUM: sets the font weight to medium (500). o PRINTER_FW_BOLD: sets the font weight to bold (700). o PRINTER_FW_ULTRABOLD: sets the font weight to ultra bold (800). o PRINTER_FW_HEAVY: sets the font weight to heavy (900). o $italic -$italic can be TRUE or FALSE, and sets whether the font should be italic. o $underline -$underline can be TRUE or FALSE, and sets whether the font should be underlined. o $strikeout -$strikeout can be TRUE or FALSE, and sets whether the font should be stroked out. o $orientaton -$orientation specifies a rotation. RETURN VALUES
Returns a font handle on success or FALSE on error. PHP Documentation Group PRINTER_CREATE_FONT(3)

Check Out this Related Man Page

IMAGEPSEXTENDFONT(3)							 1						      IMAGEPSEXTENDFONT(3)

imagepsextendfont - Extend or condense a font

SYNOPSIS
bool imagepsextendfont (resource $font_index, float $extend) DESCRIPTION
Extend or condense a font ($font_index), if the value of the $extend parameter is less than one you will be condensing the font. PARAMETERS
o $font_index - A font resource, returned by imagepsloadfont(3). o $extend - Extension value, must be greater than 0. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 imagepsextendfont(3) example <?php // Load a .pfb font file $font = imagepsloadfont('./px3l.pfb'); // Extend the font by 2.5 imagepsextendfont($font, 2.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 IMAGEPSEXTENDFONT(3)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Ultra 10/30

Hi, I am planning to purchase a sun ultra 10 or 30, i was wondering what is the difference between them. I tried looking up for sun documentation and cannot find any info. Please help me. Thanks Soul (1 Reply)
Discussion started by: souldier
1 Replies

2. Solaris

I need to clone an ultra 1 onto and ultra 60

I need to move everything from an older ultra 1 onto a newer ultra 60 (OS and all) running SUNOS 5.5.1. Any suggestions on the best way to do this? Frank P.S. If you know of a document somewhere please let me know. (11 Replies)
Discussion started by: frankkahle
11 Replies

3. UNIX for Dummies Questions & Answers

How to underline/bold and how to align output

Hi, I work with AIX 5 and have two basic questions: 1) How do I underline/bold a word in a text output? Any way to do it with echo command? basic example: echo "FOLDER " >> folder.txt ( I wish the word FOLDER to be underlined and bold). 2) Suppose I have the following pipe delimited... (1 Reply)
Discussion started by: clara
1 Replies

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

5. UNIX for Advanced & Expert Users

how to modify font size and type from script

I need to print different lines in different font types and sizes to the terminal window from csh script. I can easily change font color and print characters in bold or underline, but cannot figure out a way to change font. Any help is greatly appreciated.:confused: (3 Replies)
Discussion started by: helido
3 Replies

6. Shell Programming and Scripting

sed command

I have file like that name is M1 address is ...... tall is ..... weight is ..... name is M2 address is ...... tall is ..... weight is ..... and same type of data for many persons (M3, M4,...). I want to use sed or awk to get the weight and tall for every person , so the output file... (3 Replies)
Discussion started by: snow
3 Replies

7. Shell Programming and Scripting

string deletion, variable contents, fixed delimiters

Hi, I need to mass delete the following string(s) from my files weight=100, However the '100' is variable e.g Current: ---------------- moretext=bar, weight=100, moreinfo=blah extrastuff=hi, weight=9999, extrainfo=foo Desired: ------------------ moretext=bar, moreinfo=blah... (2 Replies)
Discussion started by: rebelbuttmunch
2 Replies

8. Infrastructure Monitoring

Light-weight alternative to `df` (without SNMP)

Overview: I'm looking for a way to get usage data for all mount points (UFS,VxFS & NFS) on a Solaris system. I'm starting with `df` but would like to find something that might be more light-weight. Background: Using SNMP is not an option in this case, instead I need to use basic built-in... (2 Replies)
Discussion started by: seg
2 Replies

9. Shell Programming and Scripting

sed problem

Hi there In my product weight listing I have a huge list of numbers, however some of these listings have a preceding line e.g. "4 per pack - " the number can range from 1 to 500. I've been using Sed to remove them manually, however that's not hugely efficient, is there a way with Sed to... (2 Replies)
Discussion started by: mrpugster
2 Replies

10. UNIX for Dummies Questions & Answers

To compare first two columns in an excel file

Hi All, i have a excel sheet with two columns as below. column1 column2 100 100 200 300 300 400 400 400 500 600 i need to compare the values these two columns and the output should be printed in the third column...if these values are equal the output should be green and if these... (2 Replies)
Discussion started by: arunmanas
2 Replies

11. UNIX for Dummies Questions & Answers

colored/highlighted/bold matching pattern with awk ???

Hi ! Just wondering, is it possible to color or highlight or underline a matching pattern with awk ? Or write it in bold, italic.....? (3 Replies)
Discussion started by: lucasvs
3 Replies

12. Shell Programming and Scripting

output text in bold font using SED

hi I want to write a script, while using the SED editor, to output the text, in this case a variable, to the result file but highlighted it in bold, is it possible to do that? can you tell me how? eg. in text.txt sed '$ a\ '$variable' ' <text.txt >text2.txt so it will add the... (2 Replies)
Discussion started by: piynik
2 Replies

13. What is on Your Mind?

A little bit of poetic light entertainment.

Over the years I have written light hearted poems about computers and computing... Hopefully this will put a smile on your face... If you like it I might post another one... My XMAS prezzy. --------------- 'Twas 1982, after the Falklands campaign, Christmas was about to come round once... (5 Replies)
Discussion started by: wisecracker
5 Replies

14. Shell Programming and Scripting

Text columns processing using awk

P { margin-bottom: 0.25cm; line-height: 120%; }CODE.cjk { font-family: "WenQuanYi Micro Hei",monospace; }CODE.ctl { font-family: "Lohit Hindi",monospace; }A:link { } I'm trying to build an awk statement to print from a file (file1): A 1,2,3 * A 4,5,6 ** B 1 ... (4 Replies)
Discussion started by: dovah
4 Replies

15. What is on Your Mind?

Slowly Removing Bold Font Style - Step-by-Step

FYI, I'm slowly removing a lot of the bold font-styles from titles of discussions, forum titles, etc I'm not removing bold for the entire site because we do need bold from time to time, especially in posts and sometimes in other places. However, the original forum style had way too much... (3 Replies)
Discussion started by: Neo
3 Replies