tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

subpx-bg-mask.yaml (670B)


      1 # Verify that text on a picture cache slice where the background
      2 # has a rounded-rect clip correct enables subpixel AA
      3 ---
      4 root:
      5  items:
      6    - type: rect
      7      bounds: [0, 0, 100, 100]
      8      color: white
      9    - type: scroll-frame
     10      bounds: [0, 0, 200, 200]
     11      content-size: [200, 200]
     12      scroll-offset: [0, 0]
     13      items:
     14      - type: clip
     15        id: 2
     16        complex:
     17          - rect: [0, 0, 200, 200]
     18            radius: 4
     19      - type: rect
     20        bounds: [0, 0, 200, 200]
     21        color: white
     22        clip-chain: [2]
     23      - text: "A"
     24        origin: 20 190
     25        size: 180
     26        color: black
     27        font: "FreeSans.ttf"
     28        clip-chain: [2]