---
name: "ScriptPlace"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/ScriptPlace"
---

# ScriptPlace(3w)

## NAME

**ScriptPlace** (USP10.@)

## SYNOPSIS

HRESULT ScriptPlace\
  (\
   HDC                   *hdc*,\
   SCRIPT\_CACHE\*         *psc*,\
   const WORD\*           *pwGlyphs*,\
   int                   *cGlyphs*,\
   const SCRIPT\_VISATTR\* *psva*,\
   SCRIPT\_ANALYSIS\*      *psa*,\
   int\*                  *piAdvance*,\
   GOFFSET\*              *pGoffset*,\
   ABC\*                  *pABC*\
  )

## DESCRIPTION

Produce advance widths for a run.

## PARAMS

*hdc* **\[In\]**  Device context.

*psc* **\[In/Out\]**  Opaque pointer to a script cache.

*pwGlyphs* **\[In\]**  Array of glyphs.

*cGlyphs* **\[In\]**  Number of glyphs in *pwGlyphs*.

*psva* **\[In\]**  Array of visual attributes.

*psa* **\[In/Out\]**  String analysis.

*piAdvance* **\[Out\]**  Array of advance widths.

*pGoffset* **\[Out\]**  Glyph offsets.

*pABC* **\[Out\]**  Combined **ABC** width.

## RETURNS

**Success:** **S\_OK**

**Failure:** Non-zero **HRESULT** value.

## IMPLEMENTATION

Declared in **"usp10.h"**.

Implemented in **"dlls/usp10/usp10.c"**.

Debug channel **"uniscribe"**.
