Skip to content
This repository has been archived by the owner on Feb 14, 2019. It is now read-only.

Commit

Permalink
Fix text crach & bump to 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
patr0nus committed Aug 3, 2014
1 parent d96f088 commit 8ed8dd2
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions src-third_party-Webkit.diff
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ index 4f41185..d85acc0 100644
}

diff --git a/Source/platform/fonts/mac/ComplexTextControllerCoreText.mm b/Source/platform/fonts/mac/ComplexTextControllerCoreText.mm
index 86bc893..d9fac9c 100644
index 86bc893..7e33d89 100644
--- a/Source/platform/fonts/mac/ComplexTextControllerCoreText.mm
+++ b/Source/platform/fonts/mac/ComplexTextControllerCoreText.mm
@@ -32,12 +32,13 @@
Expand All @@ -56,6 +56,15 @@ index 86bc893..d9fac9c 100644

@interface WebCascadeList : NSArray {
@private
@@ -214,7 +215,7 @@ void ComplexTextController::collectComplexTextRunsForCharacters(const UChar* cp,

RetainPtr<CTLineRef> line;

- if (!m_mayUseNaturalWritingDirection || m_run.directionalOverride()) {
+ if (!m_mayUseNaturalWritingDirection || m_run.directionalOverride() || true) {
static const void* optionKeys[] = { kCTTypesetterOptionForcedEmbeddingLevel };
const short ltrForcedEmbeddingLevelValue = 0;
const short rtlForcedEmbeddingLevelValue = 1;
@@ -236,7 +237,7 @@ void ComplexTextController::collectComplexTextRunsForCharacters(const UChar* cp,
} else {
ProviderInfo info = { cp, length, stringAttributes.get() };
Expand All @@ -66,7 +75,7 @@ index 86bc893..d9fac9c 100644

m_coreTextLines.append(line.get());
diff --git a/Source/platform/fonts/mac/SimpleFontDataMac.mm b/Source/platform/fonts/mac/SimpleFontDataMac.mm
index c8e4421..db203b7 100644
index c8e4421..9336eef 100644
--- a/Source/platform/fonts/mac/SimpleFontDataMac.mm
+++ b/Source/platform/fonts/mac/SimpleFontDataMac.mm
@@ -59,9 +59,9 @@ enum CGFontRenderingMode {
Expand Down Expand Up @@ -102,15 +111,17 @@ index c8e4421..db203b7 100644

CFArrayRef runArray = CTLineGetGlyphRuns(line.get());
CFIndex runCount = CFArrayGetCount(runArray);
@@ -439,7 +440,7 @@ bool SimpleFontData::canRenderCombiningCharacterSequence(const UChar* characters
@@ -439,8 +440,8 @@ bool SimpleFontData::canRenderCombiningCharacterSequence(const UChar* characters
return false;
}

- addResult.storedValue->value = true;
- return true;
+ addResult.storedValue->value = true;*/
return true;
+ return false;
}

} // namespace WebCore
diff --git a/Source/platform/mac/KillRingMac.mm b/Source/platform/mac/KillRingMac.mm
index 350a646..2dcf8b6 100644
--- a/Source/platform/mac/KillRingMac.mm
Expand Down

0 comments on commit 8ed8dd2

Please sign in to comment.