summaryrefslogtreecommitdiffstats
path: root/ppapi/c/trusted
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-28 00:31:52 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-28 00:31:52 +0000
commit9c5cf9b51fc657345d60f0e240024ce830906bee (patch)
treecd43b4791d0c1fd4206dfa0196d04cd3add96d21 /ppapi/c/trusted
parent8321f97faea7ebcfe6c25aab0539e8fb24599820 (diff)
downloadchromium_src-9c5cf9b51fc657345d60f0e240024ce830906bee.zip
chromium_src-9c5cf9b51fc657345d60f0e240024ce830906bee.tar.gz
chromium_src-9c5cf9b51fc657345d60f0e240024ce830906bee.tar.bz2
Implement right-to-left text rendering in Pepper.
TEST=included BUG=http://crbug.com/134394 Review URL: https://chromiumcodereview.appspot.com/10658037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144623 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/trusted')
-rw-r--r--ppapi/c/trusted/ppb_browser_font_trusted.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ppapi/c/trusted/ppb_browser_font_trusted.h b/ppapi/c/trusted/ppb_browser_font_trusted.h
index 080d024..c16a153 100644
--- a/ppapi/c/trusted/ppb_browser_font_trusted.h
+++ b/ppapi/c/trusted/ppb_browser_font_trusted.h
@@ -4,7 +4,7 @@
*/
/* From trusted/ppb_browser_font_trusted.idl,
- * modified Tue Feb 14 08:45:20 2012.
+ * modified Wed Jun 27 14:43:20 2012.
*/
#ifndef PPAPI_C_TRUSTED_PPB_BROWSER_FONT_TRUSTED_H_
@@ -252,6 +252,10 @@ struct PPB_BrowserFont_Trusted_1_0 {
* the string. This handles complex scripts such as Arabic, where characters
* may be combined or replaced depending on the context. Returns (uint32)-1
* on failure.
+ *
+ * TODO(brettw) this function may be broken. See the CharPosRTL test. It
+ * seems to tell you "insertion point" rather than painting position. This
+ * is useful but maybe not what we intended here.
*/
uint32_t (*CharacterOffsetForPixel)(
PP_Resource font,