summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/shadow-ref.yaml
blob: efc8d2d9f0dc751210605ff3e64dcaf1fec2bddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
root:
  items:
        - # Compare non-blurred offset shadow to text with all glyphs offset that much
          bounds: [16, 21, 205, 35]
          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
          offsets: [18, 46, 37.533333, 46, 53.533333, 46, 62.4, 46, 74.833336, 46, 82.833336, 46, 91.7, 46, 104.13333, 46, 112.13333, 46, 121, 46, 137, 46, 151.2, 46, 159.2, 46, 175.2, 46, 189.4, 46, 198.26666, 46]
          size: 18
          color: black
          font: "VeraBd.ttf"
        - # Compare blurred offset shadow to shadow
          type: "shadow"
          bounds: [12, 314, 205, 35]
          blur-radius: 5
          offset: [0, 0]
          color: red
        -
          bounds: [14, 318, 205, 35]
          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
          offsets: [14, 339, 33.533333, 339, 49.533333, 339, 58.4, 339, 70.833336, 339, 78.833336, 339, 87.7, 339, 100.13333, 339, 108.13333, 339, 117, 339, 133, 339, 147.2, 339, 155.2, 339, 171.2, 339, 185.4, 339, 194.26666, 339]
          size: 18
          color: [0, 0, 0, 0] # actual text is transparent
          font: "VeraBd.ttf"
        -
          type: "pop-all-shadows"