UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:usp10.ScriptApplyLogicalWidth |
ScriptApplyLogicalWidth function (usp10.h) |
Takes an array of advance widths for a run and generates an array of adjusted advance glyph widths. |
|
intl\scriptapplylogicalwidth.htm |
Intl |
964634f4-700b-47a7-a86f-071f1c97bcbe |
12/05/2018 |
ScriptApplyLogicalWidth, ScriptApplyLogicalWidth function [Internationalization for Windows Applications], _win32_ScriptApplyLogicalWidth, intl.scriptapplylogicalwidth, usp10/ScriptApplyLogicalWidth |
usp10.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
Usp10.lib |
Usp10.dll |
Windows |
Internet Explorer 5 or later on Windows Me/98/95 |
19H1 |
|
|
|
|
|
|
Takes an array of advance widths for a run and generates an array of adjusted advance glyph widths.
Pointer to an array of advance widths in logical order, one per code point.
Count of the logical code points in the run.
Glyph count.
Pointer to an array of logical clusters from ScriptShape.
Pointer to a SCRIPT_VISATTR structure from ScriptShape and updated by ScriptPlace.
Pointer to an array of glyph advance widths from ScriptPlace.
Pointer to a SCRIPT_ANALYSIS structure from ScriptItemize and updated by ScriptShape and ScriptPlace.
Pointer to the overall ABC width of a run. On input, the parameter should contain the run ABC widths retrieved by ScriptPlace. On output, the parameter indicates the ABC width updated to match the new widths.
Pointer to an array in which the function retrieves the glyph advance widths. This array is suitable for passing to the piJustify parameter of ScriptTextOut.
Returns 0 if successful. The function returns a nonzero HRESULT value if it does not succeed. The application can test the return value with the SUCCEEDED and FAILED macros.
This function can be used to reapply logical widths obtained with ScriptGetLogicalWidths. It can be useful in situations such as metafiling, for which advance width information must be recorded and reapplied in a font-independent manner, independent of glyph substitutions, such as ligaturization.