Export (0) Print
Expand All

SCRIPT_DIGITSUBSTITUTE structure

Contains native digit and digit substitution settings.

Syntax


typedef struct tag_SCRIPT_DIGITSUBSTITUTE {
  DWORD NationalDigitLanguage  :16;
  DWORD TraditionalDigitLanguage  :16;
  DWORD DigitSubstitute  :8;
  DWORD dwReserved;
} SCRIPT_DIGITSUBSTITUTE;

Members

NationalDigitLanguage

Language for native substitution.

TraditionalDigitLanguage

Language for traditional substitution.

DigitSubstitute

Substitution type. This member is normally set by ScriptRecordDigitSubstitution. However, it can also have any of the values defined in the following table.

ValueMeaning
SCRIPT_DIGITSUBSTITUTE_CONTEXT

Substitute digits U+0030 to U+0039 using the language of the prior letters. If there are no prior letters, substitute digits using the TraditionalDigitLanguage member. This member is normally set to the primary language of the locale passed to ScriptRecordDigitSubstitution.

SCRIPT_DIGITSUBSTITUTE_NATIONAL

Substitute digits U+0030 to U+0039 using the NationalDigitLanguage member. This member is normally set to the national digits retrieved for the constant LOCALE_SNATIVEDIGITS by ScriptRecordDigitSubstitution.

SCRIPT_DIGITSUBSTITUTE_NONE

Do not substitute digits. Display Unicode values U+0030 to U+0039 with European numerals.

SCRIPT_DIGITSUBSTITUTE_TRADITIONAL

Substitute digits U+0030 to U+0039 using the TraditionalDigitLanguage member. This member is normally set to the primary language of the locale passed to ScriptRecordDigitSubstitution.

 

dwReserved

Reserved; initialize to 0.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

Internet Explorer 5 or later onWindows Me/98/95

Header

Usp10.h

See also

Uniscribe
Uniscribe Structures
Digit Shapes
ScriptRecordDigitSubstitution

 

 

Community Additions

ADD
Show:
© 2014 Microsoft