)]}'
{
  "commit": "014eef13375e12603ffdfbf4e189f0fa59855327",
  "tree": "e2ef255398815f763cb392f7cfed3a501f545ec0",
  "parents": [
    "c2da3ad9993bb1611691a18032a12306d0e378b3"
  ],
  "author": {
    "name": "Hui Yingst",
    "email": "nigi@chromium.org",
    "time": "Mon Sep 16 15:35:53 2019 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Mon Sep 16 15:35:53 2019 +0000"
  },
  "message": "[SkiaPaths] Avoid overlapping when drawing text.\n\nSkiaPaths draws text according to each glyph\u0027s default font width\nunless horizontal scale is specified. Sometimes a character\u0027s width\ndefined in the pdf file is smaller than the character\u0027s default font\nwidth, which makes it overlap with other characters. Add a process to\nscale each individual character by the ratio of its actual width in the\npdf file and its default font width to avoid overlapping.\n\nWhen cache is enabled, sometimes text is not rendered even after its\nCFX_RenderDevice is destroyed and its font becomes unavailable. To\nguarantee a valid font before finishing drawing the text object, call\nFlush() in CFDE_TextOut::DrawString() before CFX_RenderDevice structure\nis released.\n\nBug: pdfium:1351\nChange-Id: Ib693e5b1a9d94c7889a9285cd047c07f52c16085\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/60510\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "474b7cf2e876b8ec8c95e90053ad716d11b8e7ee",
      "old_mode": 33188,
      "old_path": "core/fxge/skia/fx_skia_device.cpp",
      "new_id": "a073694e229888581bccbb281fdd38e772dcfd4c",
      "new_mode": 33188,
      "new_path": "core/fxge/skia/fx_skia_device.cpp"
    },
    {
      "type": "modify",
      "old_id": "5616d8d784255e7e3bdf5c47716c3c3227178d88",
      "old_mode": 33188,
      "old_path": "xfa/fde/cfde_textout.cpp",
      "new_id": "cc7d6dcd730c94cef774da9c688a89d756d1823d",
      "new_mode": 33188,
      "new_path": "xfa/fde/cfde_textout.cpp"
    }
  ]
}
