ps_get_parameter
ps_get_parameter
Gets certain parameters
**ps_get_parameter** resource $psdoc string $name float $modifier
Gets several parameters which were directly set by
or indirectly by one of the other
functions. Parameters are by definition string
values. This function cannot be used to retrieve resources which were also
set by .
ps_set_parameter``ps_set_parameter
The parameter can have the following values.
name
fontname
The name of the currently active font or the font whose
identifier is passed in parameter .
modifier
fontencodingThe encoding of the currently active font.
dottedversionThe version of the underlying pslib library in the format
scopeThe current drawing scope. Can be object, document, null, page,
pattern, path, template, prolog, font, glyph.
ligaturedisolvecharThe character which dissolves a ligature. If your are using a font
which contains the ligature ff' and |' is the char to dissolve the
ligature, then f|f' will result in two f' instead of the ligature `ff'.
imageencoding
The encoding used for encoding images. Can be either
or . hex encoding
uses two bytes in the postscript file each byte in the image.
85 stand for Ascii85 encoding.
hex``85
linenumbermode
Set to if lines are numbered
within a paragraph or if they are
numbered within the surrounding box.
paragraph``box
linebreak
Only used if text is output with .
If set to true a carriage return will add a line
break.
ps_show_boxed
parbreak
Only used if text is output with .
If set to true a carriage return will start
a new paragraph.
ps_show_boxed
hyphenation
Only used if text is output with .
If set to true the paragraph will be hyphenated
if a hypen dictionary is set and exists.
ps_show_boxed
hyphendictFilename of the dictionary used for hyphenation pattern.
psdoc
Resource identifier of the postscript file
as returned by .
ps_new
nameName of the parameter.
modifierAn identifier needed if a parameter of a resource is requested,
e.g. the size of an image. In such a case the resource id is
passed.
Returns the value of the parameter return.falseforfailure.
ps_set_parameter