Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ps_get_value(3) [php man page]

PS_GET_VALUE(3) 							 1							   PS_GET_VALUE(3)

ps_get_value - Gets certain values

SYNOPSIS
float ps_get_value (resource $psdoc, string $name, [float $modifier]) DESCRIPTION
Gets several values which were set by ps_set_value(3). Values are by definition float values. The parameter $name can have the following values. o fontsize - The size of the currently active font or the font whose identifier is passed in parameter $modifier. o font - The currently active font itself. o imagewidth - The width of the image whose id is passed in the parameter $modifier. o imageheight - The height of the image whose id is passed in the parameter $modifier. o capheight - The height of a capital M in the currently active font or the font whose identifier is passed in parameter $modifier. o ascender - The ascender of the currently active font or the font whose identifier is passed in parameter $modifier. o descender - The descender of the currently active font or the font whose identifier is passed in parameter $modifier. o italicangle - The italicangle of the currently active font or the font whose identifier is passed in parameter $modifier. o underlineposition - The underlineposition of the currently active font or the font whose identifier is passed in parameter $modi- fier. o underlinethickness - The underlinethickness of the currently active font or the font whose identifier is passed in parameter $mod- ifier. o textx - The current x-position for text output. o texty - The current y-position for text output. o textrendering - The current mode for text rendering. o textrise - The space by which text is risen above the base line. o leading - The distance between text lines in points. o wordspacing - The space between words as a multiple of the width of a space char. o charspacing - The space between chars. If charspacing is != 0.0 ligatures will always be dissolved. o hyphenminchars - Minimum number of chars hyphenated at the end of a word. o parindent - Indention of the first n line in a paragraph. o numindentlines - Number of line in a paragraph to indent if parindent != 0.0. o parskip - Distance between paragraphs. o linenumberspace - Overall space in front of each line for the line number. o linenumbersep - Space between the line and the line number. o major - The major version number of pslib. o minor - The minor version number of pslib. o subminor, revision - The subminor version number of pslib. PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $name - Name of the value. o $modifier - The parameter $modifier specifies the resource for which the value is to be retrieved. This can be the id of a font or an image. RETURN VALUES
Returns the value of the parameter or FALSE. SEE ALSO
ps_set_value(3). PHP Documentation Group PS_GET_VALUE(3)

Check Out this Related Man Page

pbmtextps(1)                                                  General Commands Manual                                                 pbmtextps(1)

NAME
pbmtextps - render text into a bitmap via postscript SYNOPSIS
pbmtextps [-font fontfile] [-fontsize fontsize] [-resolution resolution] [-stroke strokesize] [-verbose [text] DESCRIPTION
pbmtextps takes a single line of text from the command line and renders it into a PBM image. The image is cropped at the top and the right. It is not cropped at the left or bottom so that the text begins at the same position rela- tive to the origin. You can use pnmcrop to crop it all the way. OPTIONS
-font By default, pbmtextps uses TimesRoman. You can specify the font to use with the -font option. This is the name of any valid post- script font which is installed on your system. -fontsize Size of font in points. See the -resolution option for information on how to interpret this size. Default is 24 points. -resolution Resolution in dots per inch of distance measurements pertaining to generation of the image. PBM images don't have any inherent reso- lution, so a distance such as "1 inch" doesn't mean anything unless you separately specify what resolution you're talking about. That's what this option does. In particular, the meaning of the font size is determined by this resolution. If the font size is 24 points and the resolution is 150 dpi, then the font size is 50 pixels. Default is 150 dpi. -stroke Width of line to use for stroke font. There is no default stroke width because the letters are solid by default. USAGE
See pbmtext for usage examples. SEE ALSO
pbmtext(1), pnmcut(1), pnmcrop(1), pnmcomp(1), ppmchange(1), pnmrotate(1), ppmlabel(1), pbm(5) AUTHOR
Copyright (C) 2002 by James McCann 02 January 2003 pbmtextps(1)
Man Page