.TH "PS_STRINGWIDTH2" "3" .SH "NAME" PS_stringwidth2 \(em Gets width of a string .SH "SYNOPSIS" .PP #include .PP float PS_stringwidth2(PSDoc *psdoc, const char *text, int len, int fontid, float size) .SH "DESCRIPTION" .PP Calculates the width of a string in points if it was output in the given font and font size. The function will not consider more than \fBlen\fR characters. This function needs an Adobe font metrics file to calculate the precise width. If kerning is turned on, it will be taken into account. .SH "RETURN VALUE" .PP Width of a string in points. .SH "SEE ALSO" .PP PS_stringwidth(3), PS_string_geometry(3) .SH "AUTHOR" .PP This manual page was written by Uwe Steinmann uwe@steinmann.cx. .\" created by instant / docbook-to-man, Mon 05 Mar 2012, 08:33