Provide a flag to force Chrome to render text characters in LTR or RTL |
||
Issue descriptionChrome provides a flag to force the "gravity" of elements to be to the left or right (--force-ui-direction) but the characters themselves remain in their native order. Many times it is useful to also show the characters in the reverse order, for example, when testing elision. It is difficult for a non-native speaker to spot errors in a foreign language, so this feature would, for example, render English characters from RTL and allow the easy testing of them. There is also use for rendering RTL languages LTR. Related to crbug.com/558208 .
,
May 2 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6822b60b6967b700212972aefcceda3aad23785c commit 6822b60b6967b700212972aefcceda3aad23785c Author: krb <krb@chromium.org> Date: Tue May 02 14:53:44 2017 [rendertext,i18n] Added flag to force RTL rendering Added command line flag to enable testing of RTL rendering of LTR languages (and vice versa). Complements "--force-ui-direction". BUG= 716660 Review-Url: https://codereview.chromium.org/2853523002 Cr-Commit-Position: refs/heads/master@{#468632} [modify] https://crrev.com/6822b60b6967b700212972aefcceda3aad23785c/base/i18n/base_i18n_switches.cc [modify] https://crrev.com/6822b60b6967b700212972aefcceda3aad23785c/base/i18n/base_i18n_switches.h [modify] https://crrev.com/6822b60b6967b700212972aefcceda3aad23785c/base/i18n/rtl.cc [modify] https://crrev.com/6822b60b6967b700212972aefcceda3aad23785c/chrome/browser/about_flags.cc [modify] https://crrev.com/6822b60b6967b700212972aefcceda3aad23785c/chrome/browser/flag_descriptions.cc [modify] https://crrev.com/6822b60b6967b700212972aefcceda3aad23785c/chrome/browser/flag_descriptions.h [modify] https://crrev.com/6822b60b6967b700212972aefcceda3aad23785c/tools/metrics/histograms/histograms.xml [modify] https://crrev.com/6822b60b6967b700212972aefcceda3aad23785c/ui/gfx/render_text_harfbuzz.cc
,
May 3 2017
fixed?
,
May 3 2017
,
Jun 29 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e42fd1d97dcdabc05744eaf7a17c0d5596284b23 commit e42fd1d97dcdabc05744eaf7a17c0d5596284b23 Author: Matt Giuca <mgiuca@chromium.org> Date: Thu Jun 29 03:03:14 2017 render_text_harfbuzz: CheckForcedDirection -> ApplyForcedDirection. This function name was confusing because it doesn't actually check anything, it modifies the run level. BUG= 716660 Change-Id: I15f598e3bc12c3e392501edc8c05083968ee2eb0 Reviewed-on: https://chromium-review.googlesource.com/535333 Reviewed-by: Michael Wasserman <msw@chromium.org> Commit-Queue: Matt Giuca <mgiuca@chromium.org> Cr-Commit-Position: refs/heads/master@{#483271} [modify] https://crrev.com/e42fd1d97dcdabc05744eaf7a17c0d5596284b23/ui/gfx/render_text_harfbuzz.cc |
||
►
Sign in to add a comment |
||
Comment 1 by k...@chromium.org
, Apr 28 2017Status: Started (was: Untriaged)