diff options
author | Cary Clark <caryclark@google.com> | 2017-04-12 13:44:58 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-12 20:14:46 +0000 |
commit | 81513c8243390783540b8bb6d0f9b26d9cb0c2c1 (patch) | |
tree | 76f69583b67609daeab1f38f35aa3f78a646249f /xfa/fgas/layout/cfx_breakpiece.cpp | |
parent | 27a0f350ff26ba752eb17a593bbaad17fbbe71d2 (diff) | |
download | pdfium-81513c8243390783540b8bb6d0f9b26d9cb0c2c1.tar.xz |
Cache TypeFace instead of Font
Skia tracks the font passed so it can
use it later to draw. In XFA's case,
the font is discarded after Skia sees it,
but before it draws with it.
Track the TypeFace instead, which
remains available across the XFA
lifetime.
R=dsinclair@chromium.org
Bug: 705193
Change-Id: I4fc9fee4a7d96ea25f242975f6c0d10941f5c549
Reviewed-on: https://pdfium-review.googlesource.com/4058
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fgas/layout/cfx_breakpiece.cpp')
0 files changed, 0 insertions, 0 deletions