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

# ScriptPlaceOpenType(3w)

## NAME

**ScriptPlaceOpenType** (USP10.@)

## SYNOPSIS

HRESULT ScriptPlaceOpenType\
  (\
   HDC                     *hdc*,\
   SCRIPT\_CACHE\*           *psc*,\
   SCRIPT\_ANALYSIS\*        *psa*,\
   OPENTYPE\_TAG            *tagScript*,\
   OPENTYPE\_TAG            *tagLangSys*,\
   int\*                    *rcRangeChars*,\
   TEXTRANGE\_PROPERTIES\*\*  *rpRangeProperties*,\
   int                     *cRanges*,\
   const WCHAR\*            *pwcChars*,\
   WORD\*                   *pwLogClust*,\
   SCRIPT\_CHARPROP\*        *pCharProps*,\
   int                     *cChars*,\
   const WORD\*             *pwGlyphs*,\
   const SCRIPT\_GLYPHPROP\* *pGlyphProps*,\
   int                     *cGlyphs*,\
   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.

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

*tagScript* **\[In\]**  The OpenType tag for the Script.

*tagLangSys* **\[In\]**  The OpenType tag for the Language.

rcRangeChars**\[In\]**  Array of Character counts in each range.

*rpRangeProperties* **\[In\]**  Array of **TEXTRANGE\_PROPERTIES** structures.

*cRanges* **\[In\]**  Count of ranges.

*pwcChars* **\[In\]**  Array of characters specifying the run.

*pwLogClust* **\[In\]**  Array of logical cluster info.

*pCharProps* **\[In\]**  Array of character property values.

*cChars* **\[In\]**  Number of characters in *pwcChars*.

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

*pGlyphProps* **\[In\]**  Array of attributes for the retrieved glyphs.

*cGlyphs* **\[In\]**  Count of Glyphs.

*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

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

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

Debug channel **"uniscribe"**.
