SYNOPSIS

#include <pslib.h>

float PS_symbol_width(PSDoc *psdoc, unsigned char c, int fontid, float size)

DESCRIPTION

Retrieves the width of a glyph which is at position c in the font encoding vector. The font encoding for a font can be set when loading the font with PS_findfont().

fontid and size are optional and can be set to zero. In such a case the current font and size will be used.

RETURN VALUE

The width of the symbol in points.

RELATED TO PS_symbol_width…

AUTHOR

This manual page was written by Uwe Steinmann [email protected].