)]}'
{
  "commit": "103226a1be854b7e8d96a06e6eda57ed71abe94a",
  "tree": "b995f8def773b3a6d8ea70924874bd492d173819",
  "parents": [
    "c112ec104affc9efc3d8d8e21300a3552293ef33"
  ],
  "author": {
    "name": "Hui Yingst",
    "email": "nigi@chromium.org",
    "time": "Tue Dec 14 00:18:52 2021 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Dec 14 00:18:52 2021 +0000"
  },
  "message": "[Skia] Fix the issue that wrong scale is applied to y position.\n\nIf a glyph\u0027s transformation matrix is [a b c d 0 0], then `a` is\nthe scale factor applied to its x position, `d` is the scale\nfactor applied to its y position, and `b`,`c` are used for skewing\nthe original glyph bitmap.\n\nHowever, when rendering bug_1402, cp.m_AdjustMatrix[1] (AKA `b`) is\nused for scaling the glyph on the y axis, which happens to be 0 and\nerased the glyph\u0027s y position. This resulted in all characters with\nthe same transformation matrix are rendered lower than expected.\n\nThis CL fixes the issue by apply `-cp.m_AdjustMatrix[3]` (`d`) as\nthe scale factor of a glyph\u0027s y position, which takes consideration\nthat the y position is inverted from character to device.\n\nBug: pdfium:1740\nChange-Id: I5ed3d2f36562564ebf1039ec18a7354adee2af87\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/87410\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\nCommit-Queue: Nigi \u003cnigi@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0a23b6634b6e981781f0fa38195387eb7b0afa21",
      "old_mode": 33188,
      "old_path": "core/fxge/skia/fx_skia_device.cpp",
      "new_id": "a420cb01ab54c909078bbf3ad2e3c26eeb282825",
      "new_mode": 33188,
      "new_path": "core/fxge/skia/fx_skia_device.cpp"
    },
    {
      "type": "modify",
      "old_id": "94079b83f8fbaaae639800ff2b9c37d9bae09d72",
      "old_mode": 33188,
      "old_path": "testing/SUPPRESSIONS",
      "new_id": "8d93b8247941b2fed4e720ac61f2154ba256082a",
      "new_mode": 33188,
      "new_path": "testing/SUPPRESSIONS"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ef8d7448899e4c4f79b1294b3ef142838d65338c",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1402_expected_skia.pdf.0.png"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "890456b489ec8f2919d8650135b6b0eb1bc71bec",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1402_expected_skia_mac.pdf.0.png"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "bd0190d28cf7bef6a8f56c6d64ee414aa673451f",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/bug_1402_expected_skiapaths_mac.pdf.0.png"
    }
  ]
}
