Description
$psdoc
, string $text
) : boolOutput a text at the current text position. The text position can be set by storing the x and y coordinates into the values textx and texty with the function ps_set_value(). The function will issue an error if a font was not set before with ps_setfont().
ps_show() evaluates the following parameters and values as set by ps_set_parameter() and ps_set_value().
- charspacing (value)
-
Distance between two consecutive glyphs. If this value is unequal to zero then all ligatures will be resolved. Values less than zero are allowed.
- kerning (parameter)
-
Setting this parameter to "false" will turn off kerning. Kerning is turned on by default.
- ligatures (parameter)
-
Setting this parameter to "false" will turn off the use of ligatures. Ligatures are turned on by default.
- underline (parameter)
-
Setting this parameter to "true" will turn on underlining. Underlining is turned off by default.
- overline (parameter)
-
Setting this parameter to "true" will turn on overlining. Overlining is turned off by default.
- strikeout (parameter)
-
Setting this parameter to "true" will turn on striking out. Striking out is turned off by default.
Parameters
-
psdoc
-
Resource identifier of the postscript file as returned by ps_new().
-
text
-
The text to be output.
See Also
- ps_continue_text() - Continue text in next line
- ps_show_xy() - Output text at given position
- ps_setfont() - Sets font to use for following output
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-function.ps-show.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.