Query: ps_stringwidth
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PS_STRINGWIDTH(3) 1 PS_STRINGWIDTH(3) ps_stringwidth - Gets width of a stringSYNOPSISfloat ps_stringwidth (resource $psdoc, string $text, [int $fontid], [float $size = 0.0])DESCRIPTIONCalculates the width of a string in points if it was output in the given font and font size. This function needs an Adobe font metrics file to calculate the precise width. If kerning is turned on, it will be taken into account.PARAMETERSo $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $text - The text for which the width is to be calculated. o $fontid - The identifier of the font to be used. If not font is specified the current font will be used. o $size - The size of the font. If no size is specified the current size is used.RETURN VALUESWidth of a string in points.SEE ALSOps_string_geometry(3). PHP Documentation Group PS_STRINGWIDTH(3)
Related Man Pages |
---|
imagefontwidth(3) - php |
imagepsextendfont(3) - php |
ps_findfont(3) - php |
pbmtextps(1) - php |
pbmtextps(1) - sunos |
Similar Topics in the Unix Linux Community |
---|
Simple rules of the UNIX.COM forums: |
User Guide: Posting in the Emergency Forum |
UNIX.COM 2017 Year End Summary |
Denial Of Service Attack Update |
Please Welcome Nicki Paul to the Moderator Team! |