|
Навигатор
Главная
Новости
Школа реселлера
Биллинг панели
Документация
Добавить в закладки
Подписаться на
Избранное
Веб Хост Менеджер
Руководство по PHP
PHP £
Теги
|
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
-
The document handle, returned by
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 в случае возникновения ошибки.
Добавил Ejena.net в Понедельник, 19 июня 2006 Раздел: PHP.
| |