fix patch

This commit is contained in:
Caolan McNamara 2008-06-30 09:14:59 +00:00
parent 87ddaca400
commit 5095ee82cf

View File

@ -20,7 +20,16 @@ diff -ruN icu.orig/source/layout/LayoutEngine.cpp icu/source/layout/LayoutEngine
#include "IndicLayoutEngine.h"
#include "KhmerLayoutEngine.h"
#include "ThaiLayoutEngine.h"
@@ -451,11 +452,13 @@
@@ -179,7 +180,7 @@
}
le_int32 LayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft,
- LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success)
+ LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success, le_int32)
{
if (LE_FAILURE(success)) {
return 0;
@@ -499,11 +500,13 @@
if (gsubTable != NULL && gsubTable->coversScript(scriptTag = OpenTypeLayoutEngine::getScriptTag(scriptCode))) {
switch (scriptCode) {
@ -35,7 +44,7 @@ diff -ruN icu.orig/source/layout/LayoutEngine.cpp icu/source/layout/LayoutEngine
case oryaScriptCode:
case guruScriptCode:
case tamlScriptCode:
@@ -512,11 +515,13 @@
@@ -560,11 +563,13 @@
result = new GXLayoutEngine(fontInstance, scriptCode, languageCode, morphTable);
} else {
switch (scriptCode) {
@ -431,18 +440,6 @@ diff -ru icu/source/layout/KhmerLayoutEngine.h icu.works/source/layout/KhmerLayo
};
diff -ru icu/source/layout/LayoutEngine.cpp icu.works/source/layout/LayoutEngine.cpp
--- icu.orig/source/layout/LayoutEngine.cpp 2008-01-25 12:23:56.000000000 +0000
+++ icu/source/layout/LayoutEngine.cpp 2008-01-25 12:22:05.000000000 +0000
@@ -180,7 +180,7 @@
}
le_int32 LayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft,
- LEUnicode *&outChars, LEGlyphStorage &/*glyphStorage*/, LEErrorCode &success)
+ LEUnicode *&outChars, LEGlyphStorage &/*glyphStorage*/, LEErrorCode &success, le_int32)
{
if (LE_FAILURE(success)) {
return 0;
diff -ru icu/source/layout/LayoutEngine.h icu.works/source/layout/LayoutEngine.h
--- icu.orig/source/layout/LayoutEngine.h 2007-12-12 18:58:06.000000000 +0000
+++ icu/source/layout/LayoutEngine.h 2008-01-25 12:22:14.000000000 +0000