This module allows to create PostScript documents. It has many
similarities with the pdf extension. Actually the API is almost
identical and one can in many cases just replace the prefix of
each function from pdf_ to ps_. This also works for functions which
has no meaning in the PostScript document (like adding hyperlinks)
but will have an effect if the document is converted to PDF.
Documents created by this extension are sometimes even superior
to documents created with the pdf extension, because pslib's text
rendering functions can handle kerning, hyphenation and ligatures
which results in much better output of boxed text.
A short installation note: just type
in your console.
Данное расширение не определяет никакие директивы конфигурации в php.ini.
Перечисленные ниже константы определены данным расширением и могут быть
доступны только в том случае, если PHP был собран с
поддержкой этого расширения или же в том случае, если
данное расширение подгружается во время выполнения.
The following two tables lists all constants defined by the ps extension.
Таблица 1. Contants for line caps
Name | Meaning |
---|
ps_LINECAP_BUTT | |
ps_LINECAP_ROUND | |
ps_LINECAP_SQUARED | |
Таблица 2. Contants for line joins
Name | Meaning |
---|
ps_LINEJOIN_MITER | |
ps_LINEJOIN_ROUND | |
ps_LINEJOIN_BEVEL | |
If you have comments, bugfixes, enhancements for either this extension or
pslib then please drop me a mail
steinm@php.net. Any help is very
welcome.