ScriptGetLogicalWidths.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

ScriptGetLogicalWidths (USP10.@)

SYNOPSIS

HRESULT ScriptGetLogicalWidths
 (
  const SCRIPT_ANALYSIS* sa,
  int                    nbchars,
  int                    nbglyphs,
  const int*             glyph_width,
  const WORD*            log_clust,
  const SCRIPT_VISATTR*  sva,
  int*                   widths
 )

DESCRIPTION

Convert advance widths to logical widths.

PARAMS

sa [In] Script analysis.

nbchars [In] Number of characters.

nbglyphs [In] Number of glyphs.

glyph_width [In] Array of glyph widths.

log_clust [In] Array of logical clusters.

sva [In] Visual attributes.

widths [Out] Array of logical widths.

RETURNS

Success: S_OK

Failure: a non-zero HRESULT.

IMPLEMENTATION

Defined in "usp10.h".

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

Debug channel "uniscribe".