commit | b138e2877823a0e9f9d834059a64d4035556562b | [log] [tgz] |
---|---|---|
author | Daniel U <uda@google.com> | Wed Dec 23 10:43:46 2015 +0000 |
committer | Daniel U <uda@google.com> | Wed Jan 27 14:37:44 2016 +0000 |
tree | 74c74fef1e1156c90599773b28e1aabc005e1ce9 | |
parent | 5c02d7374f36672e8c3bab8c7cf519ed4a4d8ead [diff] |
Enhance support to text size spans in toHtml() Convert AbsoluteSizeSpan to <span> with CSS font-size property with CSS px as the unit of measurement. Sizes measured in Android px are converted to dip, since there is no CSS unit which conveys the idea of a device pixel. Add support to RelativeSizeSpan, which converts to <span> with CSS font-size property with em as the unit of measurement. Change-Id: I9104cc5f9b00ab1a31929565dc49e0026466cc75