DescriptionRevert of adding baseline options for super/sub scripting (patchset #20 id:420001 of https://codereview.chromium.org/924543004/)
Reason for revert:
Windows XP appears to be drawing outside of the expected draw area for a font.
The short term fix will be to disable the test for Windows XP and put in a TODO to look into it.
Original issue's description:
> adding baseline options for super/sub scripting
>
> This change list adds four options for a smaller font to be used as a style within the render text.
>
> Option Example
> ------ -------
> SUPERSCRIPT a mathematical exponent would be superscript
> SUPERIOR 8th, the "th" would be superior script
> INFERIOR 1/2, the "2" would be inferior ("1" is superior)
> SUBSCRIPT H2O, the "2" would be subscript
>
> Some imagination is needed to interpret the examples above. To see a clearer references to what is meant, this wikipedia article may be helpful: http://en.wikipedia.org/wiki/Subscript_and_superscript
>
> These options may be set in the same way options like BOLD and ITALIC can currently be set, e.g. with a call to my_render_text->ApplyStyle(gfx::SUPERSCRIPT, true, gfx::Range(1, 3));
>
> BUG=459812
>
> Committed: https://crrev.com/eefeef59e4b44727e735e99733799a489b8a6efa
> Cr-Commit-Position: refs/heads/master@{#319492}
TBR=mukai@chromium.org,dgrogan@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=459812
Patch Set 1 #
Created: 5 years, 9 months ago
(Patch set is too large to download)
Messages
Total messages: 12 (2 generated)
|