From 9b9af0488c36ea7f2e043caf2673028ed65899b5 Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Fri, 11 May 2012 14:57:03 -0400 Subject: Bug 377472 - [DBCS4.2] The backslash followed by DBCS character is not same as one followed by sbcs --- .../Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java index 41da159a65..7cdd09f166 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java @@ -2612,10 +2612,13 @@ StyleItem[] itemize () { * performance by reducing the number of SCRIPT_ITEM returned by ScriptItemize. * * Note: This code is wrong on a big endian machine. + * + * Note: This code is intentionally commented because it causes bug#377472. */ - if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) { - scriptControl.fReserved = 0x1; - } +// if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) { +// scriptControl.fReserved = 0x1; +// } + OS.ScriptApplyDigitSubstitution(null, scriptControl, scriptState); int /*long*/ hHeap = OS.GetProcessHeap(); -- cgit