PHP: ps_symbol_width - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ps_symbol ps_symbol_name

Last updated: Fri, 26 Jan 2007

view this page in

# ps_symbol_width

(PECL)

ps_symbol_width -- Gets width of a glyph

## Описание

float ps_symbol_width ( resource psdoc, int ord [, int fontid [, float size]] )

Calculates the width of a glyph 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.

## Список параметров

`psdoc`

  Resource identifier of the postscript file as returned by ps_new().

`ord`

  The position of the glyph in the font encoding vector.

`fontid`

  The identifier of the font to be used. If not font is specified the current font will be used.

`size`

  The size of the font. If no size is specified the current size is used.

## Возвращаемые значения

The width of a glyph in points.

## Смотрите также

ps_symbol()
ps_symbol_name()

add a note User Contributed Notes
ps_symbol_width
There are no user contributed notes for this page.
ps_symbol ps_symbol_name

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST