projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
core
/
svg
/
SVGFontData.cpp
diff --git
a/src/third_party/WebKit/Source/core/svg/SVGFontData.cpp
b/src/third_party/WebKit/Source/core/svg/SVGFontData.cpp
index
22f11eb
..
962e25d
100644
(file)
--- a/
src/third_party/WebKit/Source/core/svg/SVGFontData.cpp
+++ b/
src/third_party/WebKit/Source/core/svg/SVGFontData.cpp
@@
-30,6
+30,7
@@
#include "core/svg/SVGFontElement.h"
#include "core/svg/SVGFontFaceElement.h"
#include "core/svg/SVGGlyphElement.h"
#include "core/svg/SVGFontElement.h"
#include "core/svg/SVGFontFaceElement.h"
#include "core/svg/SVGGlyphElement.h"
+#include "platform/fonts/Character.h"
#include "platform/fonts/SVGGlyph.h"
#include "platform/fonts/SimpleFontData.h"
#include "platform/fonts/WidthIterator.h"
#include "platform/fonts/SVGGlyph.h"
#include "platform/fonts/SimpleFontData.h"
#include "platform/fonts/WidthIterator.h"
@@
-142,10
+143,10
@@
bool SVGFontData::applySVGGlyphSelection(WidthIterator& iterator, GlyphData& gly
if (run.is8Bit()) {
remainingTextInRun = String(run.data8(currentCharacter), run.charactersLength() - currentCharacter);
if (run.is8Bit()) {
remainingTextInRun = String(run.data8(currentCharacter), run.charactersLength() - currentCharacter);
- remainingTextInRun =
Font
::normalizeSpaces(remainingTextInRun.characters8(), remainingTextInRun.length());
+ remainingTextInRun =
Character
::normalizeSpaces(remainingTextInRun.characters8(), remainingTextInRun.length());
} else {
remainingTextInRun = String(run.data16(currentCharacter), run.charactersLength() - currentCharacter);
} else {
remainingTextInRun = String(run.data16(currentCharacter), run.charactersLength() - currentCharacter);
- remainingTextInRun =
Font
::normalizeSpaces(remainingTextInRun.characters16(), remainingTextInRun.length());
+ remainingTextInRun =
Character
::normalizeSpaces(remainingTextInRun.characters16(), remainingTextInRun.length());
}
if (mirror)
}
if (mirror)