commit | 296bf8c55aaba0025f3e5b904fda3b6e15686753 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Wed Apr 06 15:23:57 2016 -0700 |
committer | Raph Levien <raph@google.com> | Fri Apr 08 08:29:32 2016 -0700 |
tree | 9be4f98f898d71dc22726d3a39b2082591e38dcd | |
parent | b4e39f5b2fcb74259a0a33ac4ad3d07a0073204f [diff] |
Avoid copying of font table data, provide raw font bytes Minikin is changing its approach to table access to use HarfBuzz to access the tables, based on raw font data, rather than calling the MinikinFont::GetTable() virtual method. This patch provides raw access to the font data to make this work. There's a bit of plumbing to make sure fonts get a pointer to the raw data as well. Bug: 27860101 Change-Id: I638e18cf363644bf22fbc9fb9b3358a9e731087f