OSDN Git Service

Bug 2811402:Fixed parenthesis are not mirrored correctly in bidi layout.
authorclaireho <chinglanho@gmail.com>
Mon, 26 Jul 2010 23:48:56 +0000 (16:48 -0700)
committerclaireho <chinglanho@gmail.com>
Tue, 27 Jul 2010 00:10:24 +0000 (17:10 -0700)
commitabb274d1eae5637eee465c5618aac1266d8ce695
tree2f176bcedee4e121c854a0c21c673fe1fb3a35ca
parent9b79df2264b8a55f37c294de5b365203680c0773
Bug 2811402:Fixed parenthesis are not mirrored correctly in bidi layout.

Ported the webkit fixes from http://trac.webkit.org/changeset/62965.
Harfbuzz does not do mirroring, so we iterate each character
in the string and mirror it if needed before passing the
string to harfbuzz for shaping.

Change-Id: Ifee1035f96e4e82a5a2641b57dd839cec3427b59
WebCore/platform/graphics/android/FontAndroid.cpp