home | news | install | contact | download | examples | docs | success stories
 

PS_SHOW2

Name

PS_show2 -- Output text with given length

Synopsis

#include <pslib.h>

void PS_show2(PSDoc *psdoc, char *text, int xlen)

DESCRIPTION

Output a text at the current text position. No more than xlen chars will be shown. The function will issue an error if no font was set before with PS_setfont(3).

PS_show2() evaluates the following parameters and values as set by PS_set_parameter(3) and PS_set_value(3).

textx

The x coordinate for text output.

texty

The y coordinate for text output.

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.

AUTHOR

This manual page was written by Uwe Steinmann .

  <uwe at steinmann.cx> SourceForgeLogo