)]}'
{
  "commit": "4d03b5d7b21b9941b33ec56b4f0a1ef6c878c25c",
  "tree": "0c62b5a90154564c60377a4f820c37614dfe0ad1",
  "parents": [
    "98f3a42ee28895388b1c84857312a87d1854edea"
  ],
  "author": {
    "name": "Behdad Esfahbod",
    "email": "behdad@behdad.org",
    "time": "Thu Apr 16 13:54:02 2026 -0600"
  },
  "committer": {
    "name": "Behdad Esfahbod",
    "email": "behdad@behdad.org",
    "time": "Thu Apr 16 13:54:02 2026 -0600"
  },
  "message": "[util] Add --draw / --paint flags to raster, vector, gpu\n\nMove the force_draw / force_paint flags from gpu-output.hh\ninto the shared view-options.hh so all rendering utils\nexpose --draw and --paint with the same semantics: --paint\nwins over --draw, otherwise auto-detect via the font\u0027s\ncolor tables.\n\nraster and vector previously only ran the paint pipeline\nwhen the font had a color table; they now also honor\n--paint (renders mono fonts via paint synthesis) and\n--draw (forces the outline path even on color fonts).\n\nVector\u0027s per-glyph try-paint-then-fall-back-to-draw is\nreplaced with a single mode decision up front.  Each\nglyph then goes through hb_vector_{paint,draw}_glyph\n(non-_or_fail), which handles the synthesis fallback\ninternally — color glyphs render in either mode (paint\nsynthesizes for non-color fonts; draw renders nothing for\ncolor-only glyphs without an outline, which matches user\nintent for --draw).\n\nCo-Authored-By: Claude Opus 4.6 (1M context) \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2e3cdb870047de01779b35a8657c53c54eaa1266",
      "old_mode": 33188,
      "old_path": "util/gpu-output.hh",
      "new_id": "85767397fe3843b139782ca61636165365dab46a",
      "new_mode": 33188,
      "new_path": "util/gpu-output.hh"
    },
    {
      "type": "modify",
      "old_id": "4d4eae8b0ea33b3815ad739a57f005356bfec3ef",
      "old_mode": 33188,
      "old_path": "util/raster-output.hh",
      "new_id": "7ada1ad8c11156a287fd91d7e62dc330c106d549",
      "new_mode": 33188,
      "new_path": "util/raster-output.hh"
    },
    {
      "type": "modify",
      "old_id": "9abb1719ccd038f07d7f538a812fbd533b302f68",
      "old_mode": 33188,
      "old_path": "util/vector-output.hh",
      "new_id": "10b1013683f4e49e7bbb5eff2bf714c0bfe5380f",
      "new_mode": 33188,
      "new_path": "util/vector-output.hh"
    },
    {
      "type": "modify",
      "old_id": "06dfce7e2fb39513aec3d94d1bbf5d72eb38398d",
      "old_mode": 33188,
      "old_path": "util/view-options.hh",
      "new_id": "75d2c1606d15ee11253e85a2f3cdd28075467dd7",
      "new_mode": 33188,
      "new_path": "util/view-options.hh"
    }
  ]
}
