)]}'
{
  "commit": "377bd931d8d77d322095c7dcffd3c2cc31641fba",
  "tree": "3e708aa3be33bd3c8ac1ce6e62a365faf6654429",
  "parents": [
    "dd8da5e2f0f4558d98a8a6f93f9cb14b5b091277"
  ],
  "author": {
    "name": "Ryan Harrison",
    "email": "rharrison@chromium.org",
    "time": "Fri May 18 18:04:46 2018 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Fri May 18 18:04:46 2018 +0000"
  },
  "message": "Fix issues with XFA font loading\n\nThis fixes two partially interrelated bugs with font loading in XFA\ndocuments. First, it adds falling back to the builtin fonts if there\nare no viable embedded or installed font for the top-level XFA font\nmanager. Additionally it changes the load font code path in\nCXFA_FWLTheme to use the top level XFA font manager, instead of the\none that just handles the system installed fonts.\n\nThe main visible issue that this patch fixes is that currently using\n--font-dir with pdfium_test on a XFA PDF can cause text to not be\ndisplayed in widgets and/or NOTREACHED asserts. This occurs if there\nisn\u0027t a needed fonts embedded in the document or in the font\ndirectory, since currently PDFium will not correctly fall back to the\nbuiltins.\n\nBUG\u003dpdfium:1008,pdfium:1020\n\nChange-Id: I451a8aede63d639e401c0cc076443e61d8b7a2f8\nReviewed-on: https://pdfium-review.googlesource.com/32730\nReviewed-by: Henrique Nakashima \u003chnakashima@chromium.org\u003e\nCommit-Queue: Ryan Harrison \u003crharrison@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a2b0c005f005681969fef91f605c6e85f515f04c",
      "old_mode": 33188,
      "old_path": "xfa/fxfa/cxfa_ffapp.cpp",
      "new_id": "1367a77b87bc0b68351d8eb111c8a6025bbcaaab",
      "new_mode": 33188,
      "new_path": "xfa/fxfa/cxfa_ffapp.cpp"
    },
    {
      "type": "modify",
      "old_id": "1b1b40a5122421d43f0dbb8ed011a5354e38ebef",
      "old_mode": 33188,
      "old_path": "xfa/fxfa/cxfa_ffapp.h",
      "new_id": "c43cb3e6b232a4ae6e268819c5e31ce41f6ad457",
      "new_mode": 33188,
      "new_path": "xfa/fxfa/cxfa_ffapp.h"
    },
    {
      "type": "modify",
      "old_id": "ce8e70ea0c19aa455d30ebc4e65fea545769dd76",
      "old_mode": 33188,
      "old_path": "xfa/fxfa/cxfa_fffield.cpp",
      "new_id": "f1b8cffa8fe0a345c39d6a21f4d5a99cb6acd034",
      "new_mode": 33188,
      "new_path": "xfa/fxfa/cxfa_fffield.cpp"
    },
    {
      "type": "modify",
      "old_id": "7770825b26b87ba1de9f8f740d839f899a6a167d",
      "old_mode": 33188,
      "old_path": "xfa/fxfa/cxfa_fontmgr.cpp",
      "new_id": "c35b10c9bc93c6ea96e69d66e5270b3ea274cb3b",
      "new_mode": 33188,
      "new_path": "xfa/fxfa/cxfa_fontmgr.cpp"
    },
    {
      "type": "modify",
      "old_id": "94d963d70e5f5ae2d72e8a593bac86a81a8e49ef",
      "old_mode": 33188,
      "old_path": "xfa/fxfa/cxfa_fwltheme.cpp",
      "new_id": "1a94ba64462bcb2772a9aa90f3c01720da74ebb9",
      "new_mode": 33188,
      "new_path": "xfa/fxfa/cxfa_fwltheme.cpp"
    },
    {
      "type": "modify",
      "old_id": "289bbd4fe523a55406fd4acf07ef325ecb6a19c1",
      "old_mode": 33188,
      "old_path": "xfa/fxfa/cxfa_fwltheme.h",
      "new_id": "31e29bf4eb3effec82e2073274eb57bf6c0702c3",
      "new_mode": 33188,
      "new_path": "xfa/fxfa/cxfa_fwltheme.h"
    }
  ]
}
