PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

cpdf_set_horiz_scaling> <cpdf_set_font_map_file
Last updated: Sun, 25 Nov 2007

view this page in

cpdf_set_font

(PHP 4, PHP 5 <= 5.0.5)

cpdf_set_font — Select the current font face and size

설명

bool cpdf_set_font ( int $pdf_document , string $font_name , float $size , string $encoding )

Sets the current font face, font size and encoding.

매개변수

pdf_document

cpdf_open()이 반환한 문서 핸들.

font_name

The font name. Currently only the standard postscript fonts are supported.

See the ClibPDF Manual for more information, especially on how to support Asian fonts.

size

The font size

encoding

Can take the following values: MacRomanEncoding, MacExpertEncoding, WinAnsiEncoding, and NULL (the font's built-in encoding).

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.



add a note add a note User Contributed Notes
cpdf_set_font
There are no user contributed notes for this page.

cpdf_set_horiz_scaling> <cpdf_set_font_map_file
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites