summaryrefslogtreecommitdiff
path: root/xfa/fgas
diff options
context:
space:
mode:
authorCary Clark <caryclark@google.com>2017-04-12 13:44:58 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-04-12 20:14:46 +0000
commit81513c8243390783540b8bb6d0f9b26d9cb0c2c1 (patch)
tree76f69583b67609daeab1f38f35aa3f78a646249f /xfa/fgas
parent27a0f350ff26ba752eb17a593bbaad17fbbe71d2 (diff)
downloadpdfium-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')
0 files changed, 0 insertions, 0 deletions