fix patch
This commit is contained in:
parent
87ddaca400
commit
5095ee82cf
@ -20,7 +20,16 @@ diff -ruN icu.orig/source/layout/LayoutEngine.cpp icu/source/layout/LayoutEngine
|
|||||||
#include "IndicLayoutEngine.h"
|
#include "IndicLayoutEngine.h"
|
||||||
#include "KhmerLayoutEngine.h"
|
#include "KhmerLayoutEngine.h"
|
||||||
#include "ThaiLayoutEngine.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))) {
|
if (gsubTable != NULL && gsubTable->coversScript(scriptTag = OpenTypeLayoutEngine::getScriptTag(scriptCode))) {
|
||||||
switch (scriptCode) {
|
switch (scriptCode) {
|
||||||
@ -35,7 +44,7 @@ diff -ruN icu.orig/source/layout/LayoutEngine.cpp icu/source/layout/LayoutEngine
|
|||||||
case oryaScriptCode:
|
case oryaScriptCode:
|
||||||
case guruScriptCode:
|
case guruScriptCode:
|
||||||
case tamlScriptCode:
|
case tamlScriptCode:
|
||||||
@@ -512,11 +515,13 @@
|
@@ -560,11 +563,13 @@
|
||||||
result = new GXLayoutEngine(fontInstance, scriptCode, languageCode, morphTable);
|
result = new GXLayoutEngine(fontInstance, scriptCode, languageCode, morphTable);
|
||||||
} else {
|
} else {
|
||||||
switch (scriptCode) {
|
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
|
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.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
|
+++ icu/source/layout/LayoutEngine.h 2008-01-25 12:22:14.000000000 +0000
|
||||||
|
Loading…
Reference in New Issue
Block a user